How to install and configure Apache in Ubuntu

Wednesday, July 30, 2014 govindkewat.com 1 Comments



Install Apache

Installing apache in Ubuntu is very easy.
Here are the steps.
1. Open terminal. Use ctrl+Alt+t.
2. sudo apt-get install apache2
3. exit

Congrats! You have installed apache successfully.
Now open http://localhost in your browser. You will see "It Works!".
Configure Apache
If you want to start,stop & restart apache use this commands.
1. to start " sudo service apache2 start ".
2. To stop " sudo service apache2 stop ".
3. To restart " sudo service apache2 restart ".
 Please comment below if you face any issue.


1 comment: