1. 程式人生 > >bind安裝,rndc和bind升級

bind安裝,rndc和bind升級

1.原系統自帶rpm格式安裝的bind9.2.4。使用rpm -q檢查出來版本資訊,為了測試二進位制安裝bind,首先使用rpm -e刪除bind9.2.4.
[[email protected] etc]# [email protected] etc]# rpm -e bind-9.2.4-2 --nodeps
warning: /etc/sysconfig/named saved as /etc/sysconfig/named.rpmsave
warning: /etc/rndc.key saved as /etc/rndc.key.rpmsave
[[email protected] etc]# rpm -q bind
package bind is not installed


2.安裝二進位制的bind-9.4.3:
[[email protected]
jww]# tar -zxvf bind-9.4.3-P3.tar.gz
bind-9.4.3-P3/
bind-9.4.3-P3/bin
...
...
...
...
[[email protected] jww]# cd bind-9.4.3-P3
[[email protected] bind-9.4.3-P3]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux
...
...
...
...
config.status: creating config.h
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
WARNING                                                                 WARNING
WARNING         Your OpenSSL crypto library may be vulnerable to        WARNING
WARNING         one or more of the the following known security         WARNING
WARNING         flaws:                                                  WARNING
WARNING                                                                 WARNING
WARNING         CAN-2002-0659, CAN-2006-4339, CVE-2006-2937 and         WARNING
WARNING         CVE-2006-2940.                                          WARNING
WARNING                                                                 WARNING
WARNING         It is recommended that you upgrade to OpenSSL