yum源更换为阿里云yum源
配置repo源和安装常用命令
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo
yum install -y net-tools vim wget lrzsz tree screen lsof tcpdump
关闭防火墙selinux
/etc/init.d/iptables stop
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
grep SELINUX=disabled /etc/selinux/config
setenforce 0
调整文件描述符
echo '* - nofile 100000 ' >>/etc/security/limits.conf
更新系统并重启
yum update -y && reboot
嗨、骚年、快来消灭0回复。