CentOS 5.5
發表於 : 2015-01-30 16:14:24
http://www.rackspace.com/knowledge_cent ... hp-install
Chkconfig
Now that we have Apache installed and working properly, we need to make sure that it's set to start automatically when the Cloud Server is rebooted.
Let's check our work to confirm:
httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
The setting works.
Chkconfig
Now that we have Apache installed and working properly, we need to make sure that it's set to start automatically when the Cloud Server is rebooted.
代碼: 選擇全部
sudo /sbin/chkconfig httpd on
代碼: 選擇全部
sudo /sbin/chkconfig --list httpd
The setting works.