内核参数优化

modprobe bridgecat >>/etc/sysctl.conf<

启动进程优化

chkconfig --list|grep 3:onfor sun in `chkconfig --list|grep 3:on|awk '{print $1}'`;do chkconfig --level 3 $sun off;donefor sun in crond rsyslog sshd network salt-minion snmpd zabbix_agentd;do chkconfig --level 3 $sun on;donechkconfig --list|grep 3:on

系统描述符优化

ulimit -necho '*  -  nofile  65535' >> /etc/security/limits.confulimit -n

开机优化

cat >>/etc/rc.local<