找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 11744|回复: 0

Centos7 bind9.18编译安装笔记

[复制链接]
发表于 2022-2-12 20:59:35 | 显示全部楼层 |阅读模式
如果需要geoip支持/ M0 Q( X0 x) p$ J. @: w5 m
wget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz1 {# o" p. b6 {! m8 y# f& U
tar xzvf geoip_1.6.12.orig.tar.gz# Q0 J% o. }/ c0 U7 l) k; y
cd geoip-api-c-1.6.12
& C3 Z1 j9 @6 Q* o7 Z% R8 J7 paclocal -I m4
7 A- p2 \1 N$ ^( fautoconf -vif
0 {0 t2 D- ?- G./configure
# k" ?3 A3 N1 b) }% ymake&&make install
4 R3 h( P" i% A/ i5 x
0 b1 a. m3 k! {8 n; M( e) d* s9 }安装openssl支持: x' R$ _4 U$ i' q' w! ^
yum install openssl-devel9 n% U7 P( s, }+ h: L3 Q2 \

1 n8 m7 }4 e" n" n安装相关支持
; [7 A) n8 P9 _9 d2 s9 Uyum install -y epel-release libuv libuv-devel  libcap-devel% f4 g+ f$ V2 d, ^, d

0 a+ N1 b* [9 c" S+ W; U9 k/ E2 u下载安装bing9.18( i8 Y+ ~7 Y# P! q* j9 r! a
wget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz' Z$ X- D0 x* u! ?" Z6 n
xz -d bind-9.18.0.tar.xz
5 {3 ^9 v& W3 w9 V# ?tar -xvf bind-9.18.0.tar" g& H& G  l, q, b
cd bind-9.18.0; ~# f( p4 e4 g" a
2 a% P  U& @' q, J) o$ T3 c3 {3 M& g
./configure --prefix=/www/webserver/bind9.18  --enable-largefile  --with-openssl=/usr/local/ssl --disable-doh' b4 j) Q0 R  q" E0 U

* Y6 B. P; Y; Xmake&&make install
" }, v, H- R. V- b+ U- _  L* R

7 Y9 n+ c" C8 t3 ?新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!
3 a' [  r* R; ^; d

; S6 t' j" E8 i7 w8 n, N8 h: F) H  E$ ], m. \& P5 n5 e( A
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|第一站论坛 ( 蜀ICP备06004864号-6 )

GMT+8, 2026-7-26 04:23 , Processed in 0.094790 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表