有关edhat7企业版linuxlinux基本操作
1. 修改网卡为eth0
vim /etc/sysconfig/grub
Then, add "net.ifnames=0 biosdevname=0" content to this file as shown in: 650) this.width=650; "alt=" \ "src=" http://www.it165.net/uploadfile/ Files/2014/0822/20140822204458395.png "style=" border:none;width:650px;height:46.6px; "/>
, the Red box section is what I added (note the location of it).
Immediately, execute the following command:
1.
grub2-mkconfig -o /boot/grub2/grub.cfg
The effect is as follows:
650) this.width=650; "alt=" \ "src=" Http://www.it165.net/uploadfile/files/2014/0822/20140822204458397.png "style=" border:none;width:650px;height:105.85px; "/>
Then, after rebooting the system, look for the NIC name:
650) this.width=650; "src=" Http://www.it165.net/uploadfile/files/2014/0822/20140822204459399.png "style=" border: none;width:650px;height:425.72px; "/>
2 Change the network card address can be edited with Nmtui, you can set IPv4 to 192.168.4.x/24 and to change the configuration file/etc/sysconfig/network-scripts/ifcfg-Nic name Onboot=yes settings can be.
This article is from the "I Love Linux" blog, please be sure to keep this source http://3234726.blog.51cto.com/3224726/1610597
REDHAT7 Enterprise Edition linuxlinux basic operations