1、检查是否存在ifconfig命令:
cat /sbin/ifconfig

2、不存在,安装net-tools
yum upgrade
yum install net-tools