Home >Operation and Maintenance >Linux Operation and Maintenance >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
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
3. Start the service
4. Open the centos terminal, enter the command: shutdown -r now, restart the centos system
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!