One, configure DHCP or static IP
1.DHCP
vim /etc/sysconfig/network-scripts/ifcfg-ens33
systemctl restart network
ping www.baidu.com
2. Configure static IP
systemctl restart network
ping www.baidu.com
2. Install common tools
- Install ifconfig, vim, upload tool
yum -y install net-tools vim lrzsz
Three, configure ssh connection acceleration
vim /etc/ssh/sshd_config
修改以下配置
UseDNS no
GSSAPIAuthentication no
systemctl restart sshd
Fourth, turn off the firewall
systemctl stop firewalld
systemctl disable firewalld
Close selinux
vim /etc/selinux/config
SELINUX=disabled
5. Set the handle
In order to solve the problem that Squid under high load, the number of open files in mysql will exceed the process limit of the system, causing system bottleneck.
vim /etc/security/limits.conf
* soft nofile 10240
* hard nofile 10240
Restart the system
reboot
Just save the snapshot