Centos8 initialization operation
1. Modify the network configuration
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. Install common necessary tools and dependencies
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. Turn off the firewall, selinux
systemctl stop firewalld && systemctl disable firewalld
vim /etc/selinux/config
SELINUX=enforcing 改为 SELINUX=disabled
reboot