Home > Operation and Maintenance > Linux Operation and Maintenance > What should I do if Linux cannot access the Internet in a virtual machine environment?

What should I do if Linux cannot access the Internet in a virtual machine environment?

王林
Release: 2020-05-15 13:26:58
Original
4267 people have browsed it

What should I do if Linux cannot access the Internet in a virtual machine environment?

System environment:

centos6.5 system

Solution:

1. Open the virtual machine, if [network adapter 】The selected one is not NAT mode. We need to change it to NAT mode

What should I do if Linux cannot access the Internet in a virtual machine environment?

2. Open cmd and enter the command: services.msc. After pressing Enter, the services and applications page will pop up. , we need to find the two service processes of VMware DHCP Service and VMware NAT Service

What should I do if Linux cannot access the Internet in a virtual machine environment?

3. Start the service

What should I do if Linux cannot access the Internet in a virtual machine environment?

4. Open the centos terminal, enter the command: shutdown -r now, restart the centos system

What should I do if Linux cannot access the Internet in a virtual machine environment?

Recommended tutorial: linux tutorial

The above is the detailed content of What should I do if Linux cannot access the Internet in a virtual machine environment?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template