inittab

  1. runlevel的设置

  1. runleve级别设置

  2. runlevel级别调整

1.Runlevel

查询当前runlevel

2.Init x

切换至x level

c 。不同runlevel级别下对应 services,需要配合使用chkconfig命名

d.注意对/etc/inittab这个配置文件各个环节的理解


chkconfig –list

chkconfig –del

chkconfig –add’

chkconfig – level 345 service on/off

变更属于 xinit的服务不需要重启服务,既可生效

原文地址:https://www.cnblogs.com/derekchen/p/1521864.html