安装centos7 安装完centos7没有ifconfig命令和netstat命令 1、ifconfig命令在centos7弃用了,用ip addr命令可代替ifconfig 2、netstat命令安装yum install net-tools