网站首页  软件下载  游戏下载  翻译软件  电子书下载  电影下载  电视剧下载  教程攻略

请输入您要查询的教程攻略:

 

标题 CentOS系统安装whois命令的方法
分类 教程攻略-教程-电脑软件教程
内容
      在CentOS系统中,绝大部分命令系统都有自带,但有些命令则需要额外安装,比如whois命令,那么CentOS要怎么安装whois命令呢?下面小编就给大家简单的介绍下whois命令的安装。
     CentOS系统安装whois命令的方法
      环境:CentOS 6.0
      使用yum install whois提示找不到这个包,此时你可以使用yum search package或yum whatprovides filename来搜索相应的软件包。如:
      #yum search whois
      ……
      ============= Matched: whois =============
      jwhois.x86_64 : Internet whois/nicname client
      perl-Net-Whois.noarch : Get and parse ”whois” domain data from InterNIC
      perl-Net-Whois-IP.noarch : Perl extension for looking up the whois
      : information for ip addresses
      jakarta-commons-net.noarch : Internet protocol suite Java library
      当然您可以使用
      #yum whatprovides whois //此时输出的内容很多
      #yum whatprovides */bin/whois*
      129 packages excluded due to repository priority protections
      jwhois-4.0-18.el6.x86_64 : Internet whois/nicname client
      Repo : base
      Matched from:
      Filename : /usr/bin/whois
      有的时候使用通配符很有用。
      #yum install jwhois
      Installing : jwhois-4.0-18.el6.x86_64 1/1
      安装后系统/usr/bin下有whois命令啦。当然您还可以下载相应的rpm包或源码包安装。
      上面就是CentOS安装whois命令的方法介绍了,whois命令可用来获取域名和ip信息,安装后你就可以使用whois命令了。
随便看

 

霍普软件下载网教程攻略栏目提供软件使用教程、手机游戏攻略等方法技巧。

 

Copyright © 2002-2024 101bt.net All Rights Reserved
更新时间:2025/4/20 22:44:09