centos7 无 ifconfig 1. 现象: -bash: ifconfig: command not found2. 解决 1. 现象: -bash: ifconfig: command not found [root@controller ~]# ifconfig -bash: ifconfig: command not found 2. 解决 centos7 默认或者最小化安装无ifconfig,只有 ip addr安装: sudo yum -y install net-tools (需连外部网络) 再次执行命令:ifconfig 测试ok