Changes between Version 3 and Version 4 of CentOS_6_YUM
- Timestamp:
- 02/24/16 20:12:45 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CentOS_6_YUM
v3 v4 17 17 18 18 echo >>/etc/sysctl.conf 19 echo "vm.swappiness = 0" >>/etc/sysctl.conf19 echo "vm.swappiness = 1" >>/etc/sysctl.conf 20 20 21 21 sed -i '/# End of file/i\* - nofile 65535' /etc/security/limits.conf … … 23 23 sed -i 's/1024/65535/g' /etc/security/limits.d/90-nproc.conf 24 24 sed -i '/SELINUX/ s/enforcing/disabled/g' /etc/selinux/config 25 26 chkconfig iptables off 27 chkconfig ip6tables off 28 chkconfig lvm2-monitor off 29 chkconfig mdmonitor off 30 chkconfig postfix off 31 chkconfig restorecond off 25 32 26 33 ## 工具包