默认安装的时候,没有启动网络。启动网络即可。

 

Centos minimal 安装无法启动网络的问题

bootproto 启动的方式,如果是静态配置则需要改成static如果是动态分配则可以使用dhcp,

关键是将onboot改成yes,默认是no

修改保存后

systemctl restart network

另外,如果使用没有ifconfig命令,可以用ip addr来查看ip,也可以使用yum install net-tools来安装ifconfig。

相关文章:

  • 2021-07-06
  • 2022-12-23
  • 2021-11-10
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
  • 2021-07-14
猜你喜欢
  • 2021-08-07
  • 2022-12-23
  • 2021-12-11
  • 2021-05-04
  • 2022-12-23
  • 2021-10-28
  • 2022-01-29
相关资源
相似解决方案