您的位置:首页 > 运维架构 > Linux

linux 关闭不需要的服务

2014-01-21 22:25 211 查看
setup->system service
或者
ntsysv
或者
LANG=en_US.UTF-8
for stephen in `chkconfig --list|grep 3:on|awk '{print $1}'`;do chkconfig --level 3 $stephen off;done

for stephen in crond sshd syslog network; do chkconfig --level 3 $stephen on;done
chkconfig --list|grep 3:on
本文出自 “记录工作学习的轨迹” 博客,请务必保留此出处http://stephenliu.blog.51cto.com/6470474/1353571
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: