我们设定一个固定ip地址 供局域网内访问

cd /etc/sysconfig/network-scripts/

vi ifcfg-ens33 修改配置文件

ip addr show 查看ip配置

 

systemctl  restart  network 重启网卡

 

 

更多推荐