Tuesday 15 June 2010

How to start/stop/restart apache on ubuntu?

## start apache on ubuntu...
$ sudo /etc/init.d/apache2 start

## stop apache on ubuntu...
$ sudo /etc/init.d/apache2 stop

## restart apache on ubuntu...
$ sudo /etc/init.d/apache2 restart



Cheers!

1 comment:

  1. Try this program :

    http://apache-switch.webuda.com/

    "Apache-switch" is very easy to use. You can turn on, turn off or restart apache server.

    ReplyDelete