![]() |
Installed Apache...Don't Know How to Start it
I installed Apache off the CentOS disc, but I don't really know how to start it up or shut it down. Is there some place that has all the commands or something? I also need to do some configuring...I think.
|
Sorry about getting back to you on this a day late but I have been helping developing another website. The command to start Apache (assuming that you are using Centos) would be "/usr/sbin/apachectl start"
|
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). |
All times are GMT -5. The time now is 01:21 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.