最小化安装CentOS7,没有ifconfig命令---yum search command_name搜索未知包名
2016-01-08 20:41
751 查看
新安装的CentOS7系统,想查询ip的时候,发现没有ifconfig这个命令:
yum安装:
既然知道命令,搜索一下命令来源:
找到包就好了:
这样可以用ifconfig命令了!
-bash: ifconfig: 未找到命令
yum安装:
没有可用软件包 ifconfig
既然知道命令,搜索一下命令来源:
# yum search ifconfig 已加载插件:fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.btte.net * extras: mirrors.aliyun.com * updates: ftp.sjtu.edu.cn ======================================================== 匹配:ifconfig ======================================================== net-tools.x86_64 : Basic networking tools
找到包就好了:
# yum install -y net-tools.x86_64
这样可以用ifconfig命令了!
相关文章推荐
- 嵌入式
- linux学习笔记
- Linux扩展根目录
- linux基础知识总结
- Linux 系统应用编程——进程间通信(上)
- linux下一些软件的安装
- Linux:如何获取Linux发行版的内核头文件
- CentOS配置smaba与Windows共享文件
- CentOS 64位上编译 Hadoop 2.6.0
- Centos 6.5 X64 环境下编译 hadoop 2.6.0 --已验证
- Linux openssl 证书管理
- Centos安装lnmp环境
- linux mysql数据库本地定时备份
- Linux删除文件Argument list too long问题的解决方案
- 替换centos的yum源
- Linux下驱动:分层、分离机制学习笔记
- Linux开发环境复习
- Linux if 语法
- CentOS 7 开机加载内核模块
- linux 虚拟机 kvm