avatar

目录
Linux 安装 ifconfig

CentOS 7 系统默认 没有安装 ifconfig 命令。

如果直接运行 ifconfig 命令,则提示错误 :-bash: ifconfig: command not found.

直接运行yum install ifconfig

提示错误 No package ifconfig available. Error: Nothing to do

此时执行yum 查询命令 yum search ifconfig

然后执行安装依赖包 yum install net-tools.x86_64

最后执行 ifconfig 命令,大功告成。

文章作者: HJY
文章链接: https://hjy-dev.github.io/2020/02/22/Linux-%E5%AE%89%E8%A3%85-ifconfig/
版权声明: 本博客所有文章除特别声明外,均采用 Apache License 2.0 许可协议。转载请注明来自 Kiven Blog
打赏
  • 微信
    微信
  • 支付寶
    支付寶

评论