【问题】redhat安装dig 【问题】This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 【问题】This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

转自:https://blog.csdn.net/ricky_hust/article/details/8868131

最终可行的方法

在linux下没有单独的dig和nslookup的包,而是以bind的扩展扩展来安装的!

对于 fodora/centos/redhat

  yum install bind-utils

对于 ubuntu

  apt-get install dnsutils

对于 debian

  apt-get update

  apt-get install dnsutils


以下是我的2次尝试

尝试1

我的实验环境是[红帽企业Linux.6.4.服务器版].rhel-server-6.4-x86_64-dvd(ED2000.COM).iso

开始的时候我挂载光盘文件,在/mnt/cdrom/Packages目录下寻早dig包

[root@51cto Packages]# find -name "*dig*"
./htdig-3.2.0-0.10.b6.el6.x86_64.rpm
./kacst-digital-fonts-2.0-7.el6.noarch.rpm

感觉这两个都不是

这种方法参考方法二:【问题】This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.


尝试2

然后我使用yum命令在线安装dig,发现没有这个包

[root@51cto Packages]# yum -y install dig
Loaded plugins: fastestmirror, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
Setting up Install Process
No package dig available.
Error: Nothing to do

我这个版本的Redhat是不能直接使用yum的,需要收费。解决办法参考:【问题】This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

猜你喜欢

转载自www.cnblogs.com/kelamoyujuzhen/p/9119158.html
今日推荐