Nov 11, 2012

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




 

No comments:

Post a Comment