yum -y install net-tools (可以生成ifconfig命令,netstat命令) 转载于:https://www.cnblogs.com/kaishirenshi/p/10368580.html