CentOS mini安装ifconfig
1.首先,让我们找出哪个包提供了ifconfig命令。要完成这项任务,输入以下命令:
yum provides ifconfig
输出:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.aol.in
* extras: centos.aol.in
* updates: centos.aol.in
net-tools-2.0-0.17.20131004git.el7.x86_64 : Basic networking tools
Repo
: @base
Matched from:
Filename
: /usr/sbin/ifconfig
2.就像你在上面的输出中所看到的,net-tools包提供了ifconfig命令。因此,让我们安装net-tools包来使用ifconfig命令。
yum install net-tools
3.现在,你就可以像以往一样使用ifconfig命令了。
文章链接:http://diandishui.com/?p=94
最后
以上就是爱笑荔枝最近收集整理的关于CentOS mini安装ifconfigCentOS mini安装ifconfig的全部内容,更多相关CentOS内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复