`

centos一般关闭不必要开机自启动服务

 
阅读更多

centos一般关闭不必要开机自启动服务

执行以下命令:

 for name in `chkconfig --list|grep 3:on|cut -d " " -f1 `;do chkconfig $name off;done

 for name in crond network rsyslog sshd ;do chkconfig --level 3 $name on;done

chkconfig --list | grep 3:on

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics