chkconfig级别解释

chkconfig中的级别是什么意思?

例如

chkconfig --levels 235 httpd on 

这就是他们的意思:

 0 Halt 1 Single-User mode 2 Multi-user mode console logins only (without networking) 3 Multi-User mode, console logins only 4 Not used/User-definable 5 Multi-User mode, with display manager as well as console logins (X11) 6 Reboot 

所以,当在chkconfig指定一个运行级别时,你告诉服务在某个运行级别应该是打开还是closures。