Home  >  Article  >  System Tutorial  >  How to solve the problem of being unable to connect to the Internet after Centos7 installation

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

PHPz
PHPzforward
2024-01-10 14:49:571184browse

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!

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