How to solve the problem of being unable to access the Internet after centos installation

王林
Release: 2020-04-02 13:41:39
Original
3529 people have browsed it

How to solve the problem of being unable to access the Internet after centos installation

1. Open the terminal window and log in as root

2. Enter:

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

How to solve the problem of being unable to access the Internet after centos installation

3. Edit the configuration File: vim ifcfg-ens33 Modify ONBOOT=no to ONBOOT=yes

How to solve the problem of being unable to access the Internet after centos installation

4. Save after modification: colon (:) wq Save and exit.

6. Enter the restart service command:

service network restart
Copy after login

Done!

Related tutorial recommendations: centos tutorial

The above is the detailed content of How to solve the problem of being unable to access the Internet after centos installation. 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