Linux:centos7镜像安装后yum install net-tools命令报错

原因(数据源不可用·)
{包括ifconfig 命令会报错出现输入ifconfig命令报错:ifconfig command not found}
解决方法
查看网卡:
ip addr
在这里插入图片描述
Linux:centos7镜像安装后yum install net-tools命令报错
编辑网卡文件
cd /etc/sysconfig/network-scripts/
vi ifcfg-ene33
将最后一行的ONBOOT=NO,改为yes,并保存。
重新启动网络:service network restart
安装 :yum install net-tools;