ifconfig: command not found

solution:yum -y install net-tools