解决方法:

ip addr

yum install net-tools命令报错

 

 编辑网卡文件:

cd /etc/sysconfig/network-scripts/
ls

yum install net-tools命令报错

 

 

vi ifcfg-enp0s3
把ONBOOT=no,改为yes,并保存

yum install net-tools命令报错

 

 重启网络:

service network restart

最后安装:

yum install net-tools
ifconfig

yum install net-tools命令报错

 

 源:https://blog.csdn.net/blackmai666/article/details/91347214

相关文章:

  • 2021-09-19
  • 2022-12-23
  • 2021-04-25
  • 2021-10-12
  • 2022-12-23
  • 2021-09-03
  • 2022-01-12
猜你喜欢
  • 2021-05-14
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2021-10-11
相关资源
相似解决方案