Created
May 31, 2012 16:45
-
-
Save wxianfeng/2844671 to your computer and use it in GitHub Desktop.
centos 开机自启动服务
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://www.centos.bz/2011/09/centos-setup-process-startup-boot/ | |
one method: | |
>chkconfig httpd on | |
生成了 /etc/rc.d/init.d/httpd | |
another method: | |
>vi /etc/rc.local | |
see list: | |
[root@www ~]# chkconfig --list | |
auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
dovecot 0:off 1:off 2:off 3:on 4:off 5:off 6:off | |
httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
jexec 0:on 1:on 2:on 3:on 4:on 5:on 6:on | |
matahari-broker 0:off 1:off 2:off 3:off 4:off 5:off 6:off | |
matahari-host 0:off 1:off 2:off 3:off 4:off 5:off 6:off | |
matahari-network 0:off 1:off 2:off 3:off 4:off 5:off 6:off | |
matahari-service 0:off 1:off 2:off 3:off 4:off 5:off 6:off | |
matahari-sysconfig 0:off 1:off 2:off 3:off 4:off 5:off 6:off | |
messagebus 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
mysqld 0:off 1:off 2:off 3:on 4:off 5:off 6:off | |
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off | |
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off | |
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
qpidd 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
rdisc 0:off 1:off 2:off 3:off 4:off 5:off 6:off | |
restorecond 0:off 1:off 2:off 3:off 4:off 5:off 6:off | |
rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
saslauthd 0:off 1:off 2:off 3:on 4:off 5:off 6:off | |
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
udev-post 0:off 1:on 2:on 3:on 4:on 5:on 6:off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment