Blogger Information
Blog 39
fans 1
comment 0
visits 62365
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
linux mysql克隆后出现eth0没有的情况
Dai的博客
Original
720 people have browsed it

我们有时候克隆虚拟机后。用ifconfig查看网上信息的时候没有出现eth0的情况

这时可以 用  

vi /etc/sysconfig/network-scripts/ifcfg-eth0

把里面的内容改为

DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
IPADDR=192.168.98.200
DNS=8.8.8.8

第二步

> /etc/udev/rules.d/70-persistent-net.rules //清空文件内容

第三步

重启虚拟机

shutdown -r now


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post