关闭CentOS不必要的开机启动项

 

命令行:

for i in `chkconfig --list |grep 3:on|awk '{print $1}' |grep -Ev "network|sshd|sysstat|udev*|crond"`;do chkconfig $i off;done

posted @ 2016-11-06 20:33  xuanhui  阅读(534)  评论(0编辑  收藏  举报