View Single Post
  #3  
Old 04-13-2006, 01:09 PM
Coop Coop is offline
Member
GB Beginner
 
Join Date: Apr 2006
Posts: 34
Default

If you on a redhat based distribution, you can also use the command :-

service httpd start

As root. It just saves you having to remember the full path. It actually runs the /etc/init.d/httpd script, which can also be used to start the service at bootup.

To have the service start automatically, run the command :-

chkconfig httpd on

This will cause startup and shutdown links to be placed in the appropriate runlevel directories under /etc/rc.d, so the service will be started on entering runlevel 3, then stopped on either changing to a lower runlevel or doing an 'init 6' (which reboots the server).
__________________
Coop
Reply With Quote