今天安装了一个mini版centos,执行ifconfig显示ifconfig command not found 解决方案: yum install -y net-tools 再次输入ifconfig 解决