Kamis, 05 Juni 2014

Start, Stop and Restart Apache Service

This command line is using Ubuntu and you must log in as super user;


Starting an Apache service;
$ sudo /etc/init.d/apache2 start
 


Stoping an Apache service;
$ sudo /etc/init.d/apache2 stop
 


Restarting an Apache service;
$ sudo /etc/init.d/apache2 restart