Wednesday 15 January 2014

Lamp Sever configuration in Ubuntu

03:35

Change www directory:
1. Open terminal (alt + shift + T)
2. Enter the following command
sudo gedit /etc/apache2/sites-available/default
3. Search for DocumentRoot
In same line replace /var/www with your own directory
4. Search for <Directory
In same line replace /var/www with your own directory

After then restart apache with the following command
sudo service apache2 restart

Example:
Setting www directory to /home/ashok path






Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 comments:

Post a Comment

 

© 2013 Secrect Hack. All rights resevered. Designed by Templateism

Back To Top