执行命令: ifconfig 错误截图: 解决方案: 1.运行命令 :sudo yum install net-tools 2.根据提示输入 y 3.根据提示再次输入 y 看到Complete! 就OK了 测试: 再次执行命令:ifconfig 好了 问题成功解决!