Sunday, June 7, 2009

Installing Apache Ubuntu/Linux

Installing Apache in Ubuntu Linux

Type the below command in terminal

sudo apt-get install apache2

Done, Now your machine got installed with apache.

your default root directory would be /var/www

Starting apache: /etc/init.d/apache2 start
Stopping apache: /etc/init.d/apache2 stop
Restarting: /etc/init.d/apache2 restart

Thats done

No comments:

Post a Comment