Enable Ethernet manually during CentOS7 installation

Source: Internet
Author: User
When I first started to install 7, I first felt like it was so fast ---------- Second: so convenient and simple. I believe you have installed it. well, you are on the right track: ifconfig does not have the ifconfig command for the newly installed machine, but it uses the ip-a command to view the ip address. if you want to use ifconfig, you can use yumsearchifconfig to find the required package.

When I first started installing 7, I first felt: fast ---------- Second: convenient and simple

I believe that you have installed it;

Now, you are on the right track:

About ifconfig

The newly installed host does not have the ifconfig command, but it uses the ip-a command to view the ip address;

If you want to use ifconfig, you can use yum search ifconfig to find the required package;

But every time I use yum, an error is reported, which is due to the following reasons.

Install net-tools in yum. ifconfig is included in this package. at that time, I went to yum install ifconfig ......

 

About networks

After I installed it, yum installation and search did not work, and I tried to ping it;

There is no ifcfg-eth0 either under/etc/sysconfig/network-scripts;

Cause:

You need to manually enable Ethernet for Version 7 installation. if you do not enable it, it is like a laptop without a Nic. how can I connect to the Internet?

Installation interface:

 

Related Article

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.