CentOS 7 安装 ifconfig 管理命令,通过yum 安装,运行 yum install net-tools.x86_64 即可安装。 https://www.linuxidc.com/Linux/2018-10/154766.htm