centos最小安装之后无法使用ifconfig

Centos7安装之后,无法使用ifconfig(找不到命令)

运行

yum install provides

再安装net-tools即可

yum install net-tools

没有网,下载rpm文件net-tools-2.0-0.22.20131004git.el7.x86_64.rpm

https://centos.pkgs.org/7/centos-x86_64/net-tools-2.0-0.22.20131004git.el7.x86_64.rpm.html

原文地址:https://www.cnblogs.com/flyingcloude/p/10141439.html