centos7下安装ifconfig 命令

来源:互联网 发布:js中选中radio 编辑:程序博客网 时间:2024/06/05 01:16

1,查找安装包  

[root@localhost network-scripts]# yum search ifconfig已加载插件:fastestmirrorLoading mirror speeds from cached hostfile * base: centos.ustc.edu.cn * extras: centos.ustc.edu.cn * updates: centos.ustc.edu.cn============================================================= 匹配:ifconfig ==============================================================net-tools.x86_64 : Basic networking tools

2,安装安装包

[root@localhost network-scripts]# yum install net-tools.x86_64已加载插件:fastestmirrorLoading mirror speeds from cached hostfile * base: centos.ustc.edu.cn * extras: centos.ustc.edu.cn * updates: centos.ustc.edu.cn正在解决依赖关系--> 正在检查事务---> 软件包 net-tools.x86_64.0.2.0-0.17.20131004git.el7 将被 安装--> 解决依赖关系完成依赖关系解决=========================================================================================================================================== Package                        架构                        版本                                           源                         大小===========================================================================================================================================正在安装: net-tools                      x86_64                      2.0-0.17.20131004git.el7                       base                      304 k事务概要===========================================================================================================================================安装  1 软件包总下载量:304 k安装大小:917 kIs this ok [y/d/N]: yDownloading packages:net-tools-2.0-0.17.20131004git.el7.x86_64.rpm                                                                       | 304 kB  00:00:00     Running transaction checkRunning transaction testTransaction test succeededRunning transaction  正在安装    : net-tools-2.0-0.17.20131004git.el7.x86_64                                                                              1/1   验证中      : net-tools-2.0-0.17.20131004git.el7.x86_64                                                                              1/1 已安装:  net-tools.x86_64 0:2.0-0.17.20131004git.el7                                                                                              完毕!


0 0
原创粉丝点击