步骤一:cd /etc/sysconfig/network-scripts/ 

步骤二:ls

centos 7 minimal connect: Network is unreachable和ifconfig command not found

如图,编辑en开头的配置文件,需要sudo权限。

步骤三:vi ifcfg-ens33 打开将ONBOOT=no,改为ONBOOT=yes     //en开头后面的不唯一,只要en开头就行

centos 7 minimal connect: Network is unreachable和ifconfig command not found

步骤四:重启网络 service network restart

ifconfig只需要安装即可:sudo yum -y install net-tools

相关文章:

  • 2021-12-23
  • 2021-04-29
  • 2021-11-03
  • 2022-02-07
  • 2021-04-15
  • 2021-05-15
猜你喜欢
  • 2021-07-08
  • 2021-12-15
  • 2021-04-25
  • 2022-12-23
  • 2021-10-07
  • 2021-11-28
  • 2022-01-22
相关资源
相似解决方案