此内容没有您所选择的语言版本。
2.5.5. Starting and Stopping the HTTP Server
The HTTP Server can be started, stopped, and configured to start automatically at boot time either from the command line or using a graphical tool.
The following examples of running the HTTP Server will also cover the differences of undertaking this on Red Hat Enterprise Linux 5 and 6.
You can start and stop the HTTP Server service using the
service
command as root on a console terminal (as is typical of a network service):
To start and stop the HTTP Server service on Red Hat Enterprise Linux 5 and 6:
service httpd start
service httpd start
service httpd stop
service httpd stop
Configuration can then be altered in the
/etc/sysconfig/
httpd
file on Red Hat Enterprise Linux 5 and 6.