Home > System Tutorial > LINUX > body text

How to solve the problem of being unable to connect to the Internet after Centos7 installation

PHPz
Release: 2024-01-10 14:49:57
forward
1162 people have browsed it

First enter the directory: /etc/sysconfig/network-scripts/

Centos7安装完毕后无法联网显示Server not found如何解决?

Then edit ifcfg-ens33. At this time, pay attention to whether you have editing permissions. You can su to enter the root user, use chmod 777 ifcfg-ens33 to give the file full read and write permissions, then vim ifcfg-ens33, enter the command i to enter the editing mode, and change ONBOOT=no to ONBOOT= yes

Centos7安装完毕后无法联网显示Server not found如何解决?

Press esc to enter command mode and enter: wq! Save and exit, then restart the network: service network restart

After that

The above is the detailed content of How to solve the problem of being unable to connect to the Internet after Centos7 installation. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
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!