centos 系统服务精简 (只适合web服务器)

开机启动程序:

crond              0:off   1:off   2:on   3:on   4:on   5:on   6:off
iptables           0:off   1:off   2:on   3:on   4:on   5:on   6:off
lm_sensors         0:off   1:off   2:on   3:off   4:on   5:on   6:off
messagebus         0:off   1:off   2:off   3:off   4:on   5:on   6:off
mysql              0:off   1:off   2:on   3:on   4:on   5:on   6:off
network            0:off   1:off   2:on   3:on   4:on   5:on   6:off
rawdevices         0:off   1:off   2:off   3:off   4:on   5:on   6:off
sshd               0:off   1:off   2:on   3:on   4:on   5:on   6:off
syslog             0:off   1:off   2:on   3:on   4:on   5:on   6:off

pstree结果:

init─┬─crond
├─mysqld_safe───mysqld───{mysqld}
├─nginx───2*[nginx]
├─php-cgi───5*[php-cgi]
├─sshd───sshd───bash───pstree
├─syslogd
└─udevd

udevd不知到哪里关闭,是支持即插即用的,也可以关闭.

本文为原创文章,转载请注明出处。

原文链接:https://850406.xyz/post/centos-系统服务精简-只适合web服务器

评论(0)

还没有评论,来抢沙发吧~

验证码