chkconfig级别的说明


16

chkconfig中的级别是什么意思?

例如

chkconfig --levels 235 httpd on

Answers:


25

这是他们的意思:

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,您可以告诉服务在某个运行级别中应打开还是关闭该服务。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.