找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 10204|回复: 0

Centos7 bind9.18编译安装笔记

[复制链接]
发表于 2022-2-12 20:59:35 | 显示全部楼层 |阅读模式
如果需要geoip支持4 a9 B! x7 [* ~
wget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz1 x7 b/ v0 D8 g. a8 f
tar xzvf geoip_1.6.12.orig.tar.gz
1 f8 ?7 }: f3 B4 s% u; ~cd geoip-api-c-1.6.127 k; T. E: o" c1 s& c
aclocal -I m4
1 X) {' P# U9 M  _3 ?autoconf -vif, x3 V: y0 y* O0 @* L
./configure
/ _- E9 U% F$ K6 |! P0 O- Mmake&&make install
1 r0 c3 n9 [& M; k7 v& H8 k- b
, ]3 n3 F- z2 a6 a0 [! C3 u- r" [3 `安装openssl支持2 s$ I* r: Q( v. x% B/ U
yum install openssl-devel* S% t% X4 K0 N3 s# [

1 G6 |& g1 |+ T8 ]9 R% _5 h; I安装相关支持
1 m& B% a5 }+ ~yum install -y epel-release libuv libuv-devel  libcap-devel
+ ]2 v8 U# x) r" d' h& Y
  [* o0 o* j: v# _) u, f下载安装bing9.18
0 H: G+ X5 m: |. ]' P/ wwget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz6 i* C: T9 c, _6 F! |
xz -d bind-9.18.0.tar.xz1 |& l; n% q: _2 p
tar -xvf bind-9.18.0.tar
8 Q$ `9 e! C  ]# c9 Y/ c+ P; M1 Ncd bind-9.18.08 d9 n: {4 S8 _3 ]8 F* f

) t( d+ q- G; @1 S4 c/ ^3 |./configure --prefix=/www/webserver/bind9.18  --enable-largefile  --with-openssl=/usr/local/ssl --disable-doh# w; S" H' c, d' w! h: m

8 y, m  K% V2 r, e5 ^0 Z% Smake&&make install3 U1 D5 s) t1 E/ P, l

9 X" e6 b6 d+ x. `( _5 x) X新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!
0 `) s0 T9 P4 T6 ]3 h& c
0 ], T& O. w( f6 k

1 e( H6 o+ @: t' |
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2026-2-4 05:11 , Processed in 0.060906 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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