CentOS7 查看 ip 地址 centos 7中自带的查看网络的命令是: ip addr 如果还是想要使用 ifconfig 安装net-tools yum -y install net-tools