【1】连接外网 1.打开虚拟机编辑器配置wment1 net1 网络 2.打开虚拟机设置配置网卡 3.输入命令ifconfig,查看网卡 4.输入 cd /etc/sysconfig/network-scripts/ 切换到这个目录