centos 7.6 虚拟机开启网卡

1、 
 
2、
> cd /etc/sysconfig/network-scripts
3、
> vi ifcfg-enp0s3
上图标红区域,默认值是:no,改为yes;保存。
4、
> service network start 启动
测试外网通。

猜你喜欢

转载自www.cnblogs.com/yejianhui/p/10223574.html