#### 关闭SELinux
>sed -i 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/selinux/config
setenforce 0 //立即生效
#### 修改文件句柄数
>临时修改,立刻生效
ulimit -n 655350
永久修改
echo "* soft nofile 655360" >> /etc/security/limits.conf
echo "* hard nofile 655360" >> /etc/security/limits.conf
#### 可以禁用ipv6
```
cat >> /etc/modprobe.d/ipv6.conf <<EOF
alias net-pf-10 off
alias ipv6 off
EOF
```
#### 配置内网IP (如果是外网IP,linux要修改远程端口)
>vi /etc/ssh/sshd_config
>把’#Port 22’修改为’Port 7022’(切记将#号去掉才会生效)
`防火墙记得放行7022端口`
- 修改yum源
>https://blog.csdn.net/qq_28710983/article/details/79339116