1. 修改网络配置
vim /etc/sysconfig/network-scripts/ifcfg-ens192
ONBOOT=yes
IPADDR=10.200.0.136
NETMASK=255.255.255.0
GATEWAY=10.200.0.254
DNS1=202.96.209.5
nmcli c reload && nmcli c up ifcfg-ens192
2. 安装常用必备工具,和依赖
yum install -y vim* wget zip unzip epel-release net-tools lsof
yum install -y gcc gcc-c++ zlib zlib-devel ruby
yum install -y zlib zlib-devel ruby
yum install -y openssl*
yum install -y pcre pcre-devel
3. 关闭防火墙,selinux
systemctl stop firewalld && systemctl disable firewalld
vim /etc/selinux/config
SELINUX=enforcing 改为 SELINUX=disabled
reboot