我是靠谱客的博主 清新小鸭子,这篇文章主要介绍centos6.x开机自启动服务,现在分享给大家,希望可以做个参考。

##关闭所有服务
for sun in chkconfig --list|grep 3:on|awk '{print $1}';do chkconfig --level 3 $sun off;done

##启动必要服务(可以根据实际需要修改)
for sun in YDService atd crond rsyslog sshd network udev-post sysstat vm-agent;do chkconfig --level 3 $sun on;done

转载于:https://blog.51cto.com/9625010/2400728

最后

以上就是清新小鸭子最近收集整理的关于centos6.x开机自启动服务的全部内容,更多相关centos6内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(59)

评论列表共有 0 条评论

立即
投稿
返回
顶部