Home > Article > Operation and Maintenance > Solving CentOS7 networking problems
The following column centos system tutorial will introduce you to the CentOS7 networking solution. I hope it will be helpful to friends in need!
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!