REDHAT7 Enterprise Edition linuxlinux basic operations

Source: Internet
Author: User


有关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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.