The cable is unplugged after VMware installs CENTOS7

Source: Internet
Author: User

Background: Installing the CENTOS7 Desktop version in the virtual machine software VMware Workstation in the WIN10 system, no network is set up during installation

1. Confirm that your WIN10 system is open for both services: VMware DHCP Service and VMware NAT Service

Method: Computer--right--management--services and applications--services--find these two services manually open (right-click-Start)

2. In the virtual machine software right---set--Network adapter--(right option) network connection--select NAT

Note the status of the device here: Must be connected (I am the problem)

3. In your CentOS system in the network settings--add configuration--do not enter anything, save it

That is to add an automatically acquired network configuration.

4.ping your WIN10 local IP

The three pings are no problem. Firefox open Baidu homepage can access.

5. In order to prevent, later connection also configures the network:

Enter directory:

/etc/sysconfig/network-scripts/

Use the LS command to view the NIC configuration file name (the NIC name looks like a random number in CENTOS7, so the NIC name of each machine is not the same)

Edit the file with vim

Change the last line's onboot=no to Onboot=yes,

Last input: Wq save and exit, and then restart Network:

Service Network restart

That would be good.

The cable is unplugged after VMware installs CENTOS7

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.