Home  >  Article  >  Operation and Maintenance  >  Solving CentOS7 networking problems

Solving CentOS7 networking problems

藏色散人
藏色散人forward
2020-06-24 13:57:522712browse

The following column centos system tutorial will introduce you to the CentOS7 networking solution. I hope it will be helpful to friends in need!

Solving CentOS7 networking problems

When using CentOS7 for the first time, everything is installed. Switch from the command line to the desktop and use firefox to try to see if you can access the Internet.

Sure enough, when you worry about something, it will happen, Murphy's Law.

Getting to the point, how can CentOS7 be able to access the Internet? Generally, there are two situations in which the Internet cannot be accessed:

1. ONBOOT is set to no

* The files marked in red are different for each machine

Open the file with vi and change ONBOOT=no to ONBOOT=yes

Save and exit (1.esc 2 :wq 3. Enter)

Restart network

Test whether you can access the Internet, ping Baidu many.

For more centos related technical articles, please visit the

centos basic tutorial

column!

The above is the detailed content of Solving CentOS7 networking problems. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete