What should I do if centos cannot access the Internet under vmware?

王林
Release: 2020-05-18 09:54:33
Original
2473 people have browsed it

What should I do if centos cannot access the Internet under vmware?

Environment:

centos7

The solution is as follows:

First enter /etc/sysconfig/network-

Command in the scripts/ directory:

cd /etc/sysconfig/network-scripts
Copy after login

What should I do if centos cannot access the Internet under vmware?

Then check the files in the directory and there is an ifcfg-ens33, usually this is it, some people may be For other numbers, open them for editing through the vim command:

Command:

vim ifcfg-ens33
Copy after login

What should I do if centos cannot access the Internet under vmware?

At this time, enter the vim editing content and set ONBOOT=no. Change to ONBOOT=yes, then save and exit

What should I do if centos cannot access the Internet under vmware?

Enter the command service network restart in the terminal to restart the network service.

Command:

service network restart
Copy after login

What should I do if centos cannot access the Internet under vmware?

Recommended tutorial: centos tutorial

The above is the detailed content of What should I do if centos cannot access the Internet under vmware?. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!