Earthtracker's Blog

Just another weblog

Enable mod rewrite in Ubuntu Apache server

To enable mod_rewrite in Apache server in Ubuntu is pretty simple.

sudo a2enmod rewrite
sudo gedit /etc/apache2/sites-enabled/000-default

Edit the file 000-default:

<Directory />
 Options FollowSymLinks
 AllowOverride ALl
 <Directory /var/www/>
 Options Indexes FollowSymLinks MultiViews
 AllowOverride All
 Order allow,deny
 allow from all
sudo /etc/init.d/apache2 restart
Leave a comment »

Install/Configure phpmyadmin in ubuntu

I have started using ubuntu recently and enjoying. I tried to install phpmyadmin , but their was some problem. Here i shared easy installation here. Hope this will be helpful for ubuntu beginners.

Open terminal:

sudo apt-get install phpmyadmin

So now find the apache directory ,usually this exists here:  /etc/apache2/

Add this code to apache2.conf

Include /etc/phpmyadmin/apache.conf
sudo /etc/init.d/apache2 restart

Now browse phpmyadmin from


Leave a comment »