Many software installation in Linux must be performed in a network environment. Therefore, I spent at least three days surfing the Internet under VMware. This morning, May Day, I finally searched the technical articles. After my own practice, I can access the Internet on Linux in VMware.
Solution for failure to access the Internet through CentOS of vmwarevm
I have installed CentOS on a virtual machine. Based on Windows XP installation experience, if I want CentOS to access the Internet, I can't find it. Finally, I found some great ways to solve the problem.
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. Go to the Windows operating system, right-click our computer, and choose computer> Management> services and applications> services. Find the following Service process: VMware DHCP Service, 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.