Solve the problem that CentOS cannot access the Internet in vmwarevm.
The process is as follows:
1) Click the VM-> Settings Hardware tab.
2) Click Network Adapter settings, as shown in. First, set the Network configuration to NAT in the virtual machine,
3. Right-click our computer and choose computer> Management> services and applications> services from the shortcut menu. Find the following Service processes: VMware DHCP Service and VMware NAT Service. Right-click and choose start.
Here, we find the VMware NAT service and the VMware DHCP service, we start it, then we enter CentOS, enter the reboot command to restart the system, and wait a few minutes, with great expectation, I opened the Firefox browser that comes with CentOS and entered google's website .... When you see this interface, I am not calm down !!!!
4) Open the terminal in Centos and enter shutdown-r now
Restart to access the Internet.
Now I am excited and excited. I finally got online under CentOS through a small means!