加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – Chkconfig- chkconfig结果中的0-6是什么?

发布时间:2020-12-14 02:37:53 所属栏目:Linux 来源:网络整理
导读:chkconfig结果中的0-6是什么? 例 chkconfig --list|grep iptablesiptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off 解决方法 不同的数字对应于该服务的不同运行级别. ID Name Description---------------------------------------0 Halt Shuts down the sys
chkconfig结果中的0-6是什么?

chkconfig --list|grep iptables
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off

解决方法

不同的数字对应于该服务的不同运行级别.
ID      Name                Description
---------------------------------------
0       Halt                Shuts down the system.
1       Single-user Mode    Mode for administrative tasks.
2       Multi-user Mode     Does not configure network interfaces and does not export networks services.
3       Multi-user Mode with Networking     Starts the system normally.
4       Not used/User-definable     For special purposes.
5       Start the system normally with appropriate display manager. (with GUI)  Same as runlevel 3 + display manager.
6       Reboot              Reboots the system.

如果您需要更具体的信息,Wikipedia可以详细解释不同的运行级别(根据基本系统,它们的含义也可能不同).

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读