ifconfig 命令 通过ifconfig来查看IP地址: -bash: ifconfig: command not fund 未找到该命令就表示需要安装了。 安装命令 yum -y install net-tools