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的服务不需要重启服务,既可生效

posted on 2009-07-12 11:10  晓风残梦  阅读(152)  评论(0编辑  收藏  举报

导航