debian源码安装bind9.10.6
1、安裝環境介紹:
???安裝的服務器是基于debian9.2.0環境使用源碼進行安裝的,安裝的bind版本為bind9.10.6。安裝步驟如下:
? (1)下載bind9.10.6源碼包,下載地址如下:
??????https://www.isc.org/downloads/file/bind-9-10-6/? (2)我的環境中,存放位置為:/tmp/pack/,下載完畢后請使用winscp進行拖入到相關目錄。
? (3)安裝openssl運行庫。在使用源碼進行編譯安裝bind中,需要openssl運行庫的支持,否則會出現以下報錯:
??????checking?for?OpenSSL?library...?configure:?error:?OpenSSL?was?not?found?in?any?of?/usr?/usr/local?/usr/local/ssl?/usr/pkg?/usr/sfw;?use?--with-openssl=/path?If?you?don't?want?OpenSSL,?use?--without-openssl???????如遇到上述報錯請先安裝openssl運行庫,命令如下:
? ???? apt install libssl-dev
? (4)解壓bind安裝包,進行編譯安裝。命令如下:
????????cd /tmp/pack
????????tar xvzf bind-9.10.6
????????cd bind-9.10.6/
????????./configure --prefix=/usr/local/etc/bind9 ?--enable-threads --enable-largefile --disable-ipv6
????????make&make install
命令行--prefix=/usr/local/etc/bind9表明了我的bind安裝位置,此位置需要提前進行創建完成。?
以上就是使用源碼包進行安裝的步驟。
轉載于:https://blog.51cto.com/eholog/2049482
與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的debian源码安装bind9.10.6的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 在网站建设过程中主要在哪几个方面为后期的
- 下一篇: VMware Data Recovery