Solution for failure to access the Internet through CentOS of vmwarevm

Source: Internet
Author: User

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.

 

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.