安装 ifconfig 命令

来源:互联网 发布:淘宝达人直播哪里打开 编辑:程序博客网 时间:2024/06/15 01:52
1.搜索 ifconfig yum 安装包
# yum search ifconfig

Loaded plugins: fastestmirror, ovl
base                                                                                                                                                                         | 3.6 kB  00:00:00     
extras                                                                                                                                                                       | 3.4 kB  00:00:00     
updates                                                                                                                                                                      | 3.4 kB  00:00:00     
(1/4): base/7/x86_64/group_gz                                                                                                                                                | 155 kB  00:00:00     
(2/4): extras/7/x86_64/primary_db                                                                                                                                            | 101 kB  00:00:00     
(3/4): base/7/x86_64/primary_db                                                                                                                                              | 5.3 MB  00:00:04     
(4/4): updates/7/x86_64/primary_db                                                                                                                                           | 3.1 MB  00:00:13     
Determining fastest mirrors
 * base: mirrors.skyshe.cn
 * extras: mirrors.pubyun.com
 * updates: mirrors.aliyun.com
======================================================================================== Matched: ifconfig =========================================================================================
net-tools.x86_64 : Basic networking tools

2.安装相关包
# yum -y install net-tools.x86_64

3.可以使用 ifconfig 命令了
0 0
原创粉丝点击