zoukankan      html  css  js  c++  java
  • CentOS 7.2最小化安装没有ifconfig命令,使用yum provides ifconfig找不到相关的包

    [root@sishen yum.repos.d]# yum provides ifconfig
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    No matches found
    [root@sishen yum.repos.d]# yum whatprovides '*/ifconfig/'
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    No matches found

    系统版本:

    [root@sishen yum.repos.d]# cat /proc/version
    Linux version 3.10.0-327.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Nov 19 22:10:57 UTC 2015

    使用的是本地YUM源

    [root@sishen yum.repos.d]# yum repolist all
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    repo id                      repo name                            status
    c7-media                     CentOS-7 - Media                     enabled: 3,723
    repolist: 3,723

    知道是net-tools这个包没装,但是不知道为什么yum找不到?

    [root@sishen yum.repos.d]# yum list 'net-tools'
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    Available Packages
    net-tools.x86_64                2.0-0.17.20131004git.el7                c7-media

    待解决?希望各路大侠指点迷津~

  • 相关阅读:
    淘宝TFS使用笔记(一):初识TFS
    为F5-LTM上的业务添加x-forward-for
    Win7 搭建Linux开发环境
    使用PyQT开发图形界面程序
    二叉树的操作
    Harbor--企业级项目管理
    kubernetes 1.3 使用skydns + kube2dns +etcd部署DNS服务器
    搭建Kubernetes服务集群遇到的问题
    kubernetes1.3搭建dns服务
    搭建Docker私有仓库
  • 原文地址:https://www.cnblogs.com/zd520pyx1314/p/7956127.html
Copyright © 2011-2022 走看看