Date Archives

July 2012

Change Apache document root (www folder) in Ubuntu

In my development environment I feel comfortable to have my document root directory (www) in my home directory. It gives me much more flexibility for permission issues. To do so Open the /etc/apache2/sites-available/default file with administrative privileged and change the document root as /home/{user}/www, in my perspective it is /home/tapan/www 1. Open /etc/apache2/sites-available/default sudo gedit…

Read More

Install Oracle Java 7 for Ubuntu 12.04 LTS

Oracle JDK is no longer included by default in Ubuntu’s repositories due to licensing. OpenJDK is default now but many apps still don’t play nice with it. This is why I installed Oracle JDK. I’ll walk you through the process of installing Oracle JDK 7 on Ubuntu 12.04 LTS Precise Pangolin, the easy way. For…

Read More

How to : Flush or clear DNS cache in Ubuntu

Today I think to flush/clear my DNS cache from Ubuntu but didn’t know how to do this. So I googled for sometime and found the solution that is easy in Ubuntu. This is for my future reference and even for those who don’t know how to do this, Name Service Cache Daemon is responsible for…

Read More