Linux(RHEL 5)中Bind服务的安装与配置全过程
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-04-27
|
红色字体为配置,蓝色为要特别注意的
与RHEL 4的对比请看Linux(RHEL 4)系列 之 DNS配置
<?xml:namespace prefix = o />
[root@localhost ~]# rpm -qa|grep bind //查看当前已安装的bind所需要的包
bind-utils-<?xml:namespace prefix = st1 />9.3.3-10.el5 //表明安装的是bind-9.3.3-10
kdebindings-3.5.4-1.fc6
ypbind-1.19-8.el5
bind-libs-9.3.3-10.el5
[root@localhost ~]# mkdir /mnt/cdrom //创建用来挂载光盘的目录
[root@localhost ~]# mount /dev/cdrom /mnt/cdrom/ //将光盘挂载到/mnt/cdrom/
mount: block device /dev/cdrom is write-protected, mounting read-only
[root@localhost ~]# cd /mnt/cdrom/Server/ //切换目录到/mnt/cdrom/Server/
[root@localhost Server]# ls -l bind* //查看该目录下以bind开头的所有文件
-rw-r--r-- 113 root root 977426 2007-08-14 bind-9.3.3-10.el5.i386.rpm
-rw-r--r-- 109 root root 39879 2007-08-14 bind-chroot-9.3.3-10.el5.i386.rpm
-rw-r--r-- 124 root root 2679780 2007-08-14 bind-devel-9.3.3-10.el5.i386.rpm
-rw-r--r-- 125 root root 449579 2007-08-14 bind-libbind-devel-9.3.3-10.el5.i386.rpm
-rw-r--r-- 133 root root 857545 2007-08-14 bind-libs-9.3.3-10.el5.i386.rpm
-rw-r--r-- 109 root root 227173 2007-08-14 bind-sdb-9.3.3-10.el5.i386.rpm
-rw-r--r-- 113 root root 166398 2007-08-14 bind-utils-9.3.3-10.el5.i386.rpm
[root@localhost Server]# rpm -ivh bind-chroot-9.3.3-10.el5.i386.rpm 用rpm工具安装包
warning: bind-chroot-9.3.3-10.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
bind = 30:9.3.3-10.el5 is needed by bind-chroot-9.3.3-10.el5.i386
[root@localhost Server]# rpm -ivh bind-9.3.3-10.el5.i386.rpm
warning: bind-9.3.3-10.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:bind ########################################### [100%]
[root@localhost Server]# rpm -ivh bind-chroot-9.3.3-10.el5.i386.rpm
warning: bind-chroot-9.3.3-10.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:bind-chroot ########################################### [100%]
Locating /var/named/chroot//etc/named.conf failed:
[失败]
[root@localhost Server]# rpm -ivh bind-devel-9.3.3-10.el5.i386.rpm
warning: bind-devel-9.3.3-10.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:bind-devel ########################################### [100%]
[root@localhost Server]# rpm -ivh bind-libbind-devel-9.3.3-10.el5.i386.rpm
warning: bind-libbind-devel-9.3.3-10.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:bind-libbind-devel ########################################### [100%]
[root@localhost Server]# rpm -ivh bind-libs-9.3.3-10.el5.i386.rpm
|
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn
为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!
|