Tuesday, March 14, 2017

Codeigniter 3 mod_rewrite not working on rasbian (jessie)

For some reason the mod_rewrite on apache2 running on my raspberry pi is not working. Using the 'complete url' works
 
ex.

http://rpi01/controller/index.php/function

but if I use

ex.
http://rpi01/controller/function

gives a 404 error

I have already setup the following on the config.php


$config['base_url']= 'http://rpi01/';
$config['index_page'] = "";
$config['uri_protocol'] = 'REQUEST_URI';


routes.php
$route['default_controller'] = 'controller';

My .htaccess file is also setup as usual (working on my xampp dev setup)

Turns out the issue is on apache2 configuration. I have to edit the apache2.conf file specifically this block

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>

and change it to

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
</Directory>

After editing save the file and restart apache2 service.



Oracle Cluster CRSD ASM hangs on root.sh using virtualbox

This particular problem took me a week to solve. At first I thought it was privilege problem but I am following my notes which works before.

This issue comes up when I use the version 5 of virtualbox. I did not have this issue with version 4. Turns out the solution is to set the paravirtualization interface to none.


Sunday, December 18, 2016

Transcend Drivepro 200



I have bought this Transcend Drivepro 200 Dashboard camera for my car last week. I do trust transcend products both my portable music players were transcend. So when I was looking for an available dashcam on my favorite stores and saw transcend I immediately bought it.

What I love about it is the simple interface. The video captures are very clear both on daytime and nighttime. I did download the android app but it is always hangs on my Asus Zenphone 2 laser so I just decided to uninstall it.

Below is some sample pictures and videos:








 


 


Sunday, November 27, 2016

Playing with Hortonworks HDP

I am currently trying out Hortonworks HDP. I am more familiar with Cloudera, but since there will be an upcoming hortonworks project in my work, I thought I give Hortonworks a try. Turns out it is not much different from Cloudera at least with regards to setup and configuration. Ambari really works almost similar to cloudera manager.

I am still in the process of evaluating it, will post my steps once I ironed out some of the issues that I have encountered.


Saturday, November 19, 2016

Kenny Rogers Roasters Rib Plate

The only thing that I order @Kenny Rogers Roasters. Cant go wrong with this one.

Sunday, November 6, 2016

Upgrading my Lenovo G4070 again



I did another modification on my Lenovo G4070. This time I added a second hard drive by removing the optical drive and replace it with an HDD caddy.