最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
CentOS 7 报 ifconfig: command not found问题解决办法
时间:2022-06-30 20:46:35 编辑:袖梨 来源:一聚教程网
我安装的是minimal版的通常minimal版本的CentOS没有安装网络工具,这个命令也是不存在与sbin目录下的。此时系统会提示:
# ifconfig
-bash: ifconfig: command not found
-bash: ifconfig: command not found
可以先安装网络工具,输入如下命令:
# yum search ifconfig
这个命令可以查看ifconfig命令所在的安装包 net-tools.x86_64。接下来安装这个软件:
yum -y install net-tools
安装好以后就可以通过ifconfig命令查看ip地址
相关文章
- 光遇2023年海洋节活动有哪些物品 05-12
- 沙石镇时光失窃案任务怎么做-详细方法介绍 05-12
- 英雄无敌5亡灵技能怎么选择 05-12
- 攻城掠地建邺怎么打 05-12
- 少年三国志54到60怎么升级 05-12
- 攻城掠地79副本怎么过 05-12