chkconfig 管理系统服务

 

[root@localhost ~]# chkconfig --list              # 列出开启或关闭了哪些系统服务
[root@localhost ~]# chkconfig xxx off             # 关闭某个系统服务
[root@localhost ~]# chkconfig xxx on              # 开启某个系统服务
[root@localhost ~]# chkconfig --level 3 xxx off   # 指定在哪个运行级别下关闭系统服务
[root@localhost ~]# chkconfig --add xxx           # 添加指定的系统服务,注意添加后要开启
[root@localhost ~]# chkconfig --del xxx           # 删除指定的系统服务

 

posted @ 2017-12-11 17:25  minger_lcm  阅读(166)  评论(0编辑  收藏  举报