Apache 2 Web Server in Linux – Start, Stop and Restart

 
Start Apache 2 Web Server
 
To start Apache 2 web server, enter:
 
/etc/init.d/apache2 start
 
or
 
sudo /etc/init.d/apache2 start


 
Restart Apache 2 Web Server
 
Restart Apache 2 web server, enter:
 
/etc/init.d/apache2 restart
 
or
 
sudo /etc/init.d/apache2 restart


 

Stop Apache 2 Web Server
 
To stop Apache 2 web server, enter:
 
/etc/init.d/apache2 stop
 
or
 
sudo /etc/init.d/apache2 stop


 
You can leave a response, or trackback from your own site.

Leave a Reply