查看防火墙状态
firewall-cmd --state
关闭防火墙
systemctl stop firewalld.service
禁止开机自启防火墙
systemctl disable firewalld.service
更新系统并安装必要软件包
拿到机器先执行系统升级,请。
yum update -y
yum install -y curl vim wget unzip git nano
设置当前系统时间为 UTC+8
timedatectl set-timezone Asia/Shanghai