安装centos虚拟机 1.安装虚拟机 选择桥接网络 选择web开发 基本开发工具 2.配置网络 vi /etc/sysconfig/network-scripts/ifcfg-enp03 onboot=yes 重启 systemctl restart network.service ifconfig windows中配置虚拟机ip 批处理 @echo off notepad "%systemroot%/system32/drivers/etc/hosts"