根据自己的电脑对ip地址进行配置 cd /etc/sysconfig/network-scripts/ ls vi ifcfg-ens33(网卡配置) systemctl restart network(重启服务生效)