【问题】redhat安装dig
2024-09-08 02:33:09
转自: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.10.b6.el6.x86_64.rpm
./kacst-digital-fonts-2.0-.el6.noarch.rpm
感觉这两个都不是
尝试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.
最新文章
- Asp.net 设置GridView自适应列宽不变形
- apache配置rewrite及.htaccess文件(转载)
- PHP mail()函数
- Beaglebone Black – 智能家居控制系统 LAS - 插座组装
- 51nod 1211 数独
- python+selenium环境配置(windows7环境)
- MVC 模板页和布局
- java-环境变量的配置
- Async/Await 学习与示例
- K8s 入门
- JavaScript调用上下文(第九天)
- React 避免重渲染
- boke练习: freemarker对空变量报错 (classic_compatible设置true,解决报空错误)
- IntelliJ IDEA推荐插件
- JQuery this和$(this)的区别
- Ubuntu14.04更换阿里云源
- ImportError: cannot import name 'izip &; TypeError: 'float' object cannot be interpreted as an integer
- 一起学Angular
- MYSQL 调优和使用必读
- 华天正real210开发板测试-第1篇