1.配置IP地址:
vim /etc/sysconfig/network-scripts/ifcfg-ens33
IPADDR=192.168.1.10
NETMASK=255.255.255.0
GATEWAY=192.168.1.254
2.重启网络服务:
systemctl restart network
3.暂时关闭防火墙:
systemctl stop firewalld
4.永久关闭防火墙:
systemctl disable firewalld
5.查看防火状态:
systemctl status firewalld
6.重启防火墙
systemctl enable firewalld
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)