Changes between Version 3 and Version 4 of CentOS_6_YUM


Ignore:
Timestamp:
02/24/16 20:12:45 (8 years ago)
Author:
sky
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CentOS_6_YUM

    v3 v4  
    1717
    1818echo >>/etc/sysctl.conf
    19 echo "vm.swappiness = 0" >>/etc/sysctl.conf
     19echo "vm.swappiness = 1" >>/etc/sysctl.conf
    2020
    2121sed -i '/# End of file/i\*   -   nofile      65535' /etc/security/limits.conf
     
    2323sed -i 's/1024/65535/g' /etc/security/limits.d/90-nproc.conf
    2424sed -i '/SELINUX/ s/enforcing/disabled/g' /etc/selinux/config
     25
     26chkconfig iptables off
     27chkconfig ip6tables off
     28chkconfig lvm2-monitor off
     29chkconfig mdmonitor off
     30chkconfig postfix off
     31chkconfig restorecond off
    2532
    2633## 工具包