https://www.cnblogs.com/Joke-Jay/p/8215295.html
virualbox里面设置nat模式
修改centos里面文件:
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 文件
ONBOOT=no改为ONBOOT=yes
保存后, 重启网络服务
service network restart 重启网络服务
https://www.cnblogs.com/Joke-Jay/p/8215295.html
virualbox里面设置nat模式
修改centos里面文件:
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 文件
ONBOOT=no改为ONBOOT=yes
保存后, 重启网络服务
service network restart 重启网络服务