Linux可以简单的通过一条shell命令来关闭其他不需要的开机启动服务,只保留计划任务,网络,ssh和日志,看shell命令:
chkconfig --list | grep 3:on | grep -v "crond|network|sshd|syslog" | awk '{print "chkconfig " $1 " off"}' | sh
用微信扫码二维码
分享至好友和朋友圈