Saturday, 2 May 2015

Install Apche HTTP Server on Ubuntu


Step 1: Open terminal and enter the following command.
sudo apt-get install apache2

Step 2: Start web server.
/etc/init.d/apache2 start

Step 3: Open browser, and type “http://localhost” in your browser’s URL text box. You will get “Apache2 Ubuntu Default Page”.

Note:
Restart Apache 2 Server
# /etc/init.d/apache2 restart 

Stop Apache 2 Server
# /etc/init.d/apache2 stop


Prevoius                                                 Next                                                 Home

No comments:

Post a Comment