有些时候新安装的centos7系统无法上网,很有可能是网卡没有激活,操作步骤如下:

1、cd /etc/sysconfig/network-scripts/

2、ls

3、找到ifcfg-en XXXXX并编辑它,例如:vi ifcfg-enp4s0

4、把ONBOOT=no改为ONBOOT=yes

5、reboot

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-06
  • 2022-02-19
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-20
  • 2021-10-21
  • 2021-10-25
  • 2021-06-11
  • 2022-12-23
  • 2021-11-03
  • 2022-01-08
相关资源
相似解决方案