Home  >  Article  >  Operation and Maintenance  >  How to solve the problem of being unable to access the Internet after centos installation

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

王林
王林Original
2020-04-02 13:41:393507browse

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/

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

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!

Statement:
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