软件部分
如果是centos7/8系统可以安装这几个软件
yum install yum-fastestmirror epel-release vim screen git wget curl axel yum-axelget yum-utils -y
SSH服务优化
修改配置文件/etc/ssh/sshd_config
#禁止空密码登录
PermitEmptyPasswords no
#不使用DNS解析,可以加快访问速度
UseDNS no
# 是一套类似Kerberos 5的通用网络安全系统接口。该接口是对各种不同的客户端服务器安全机制的封装,以消除安全接口的不同,降低编程难度。但该接口在目标机器无域名解析时会有问题
GSSAPIAuthentication no
最大文件描述符
修改配置文件/etc/security/limits.conf
# ulimit优化
* soft nofile 65536
* hard nofile 65536