Centos generally closes unnecessary boot self-starting services

Centos generally closes unnecessary boot self-starting services

Execute the following commands:

 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

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326961635&siteId=291194637