Vmware installs CentOS7 to solve the problem of not connecting the Internet

Source: Internet
Author: User

When installing Centos7 on VMware, after the installation of VMware or not connected to the Internet, by looking for information originally because the wired network card is not activated, the default CentOS and REDHAT7 are not enabled wired network card, either manually open, or the installation is directly enabled! So the first step should be to activate the NIC. Right-click on the desktop to find the command line with Superuser privileges (input su, enter) Enter the password (password to enter the desktop). Cd/etc/sysconfig/network-scripts/ls See below Ifcfg-eno the corresponding figure is what, below to Eno32 for example VI ifcfg-eno32 edit under onboot= "yes" turn on automatically enable network connection: Wq Save Exit service Network Restart Restart the network should be able to see the wired network card! If the Centos7 inside does not detect the line card device, shut down the virtual machine, open the virtual machine storage directory, use Notepad to open the three computer icon of the VMX configuration file add a Ethernet0.virtualdev = "e1000" save, and then open the virtual machine to see. Usually go to this step is installed, able to connect the Internet, remember to set up a NAT connection, do not set to bridge connection. This connects the nets with the method of installing CentOS7 VMware tool.

Vmware installs CentOS7 to solve the problem of not connecting the Internet

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.