找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 9976|回复: 0

Centos7 bind9.18编译安装笔记

[复制链接]
发表于 2022-2-12 20:59:35 | 显示全部楼层 |阅读模式
如果需要geoip支持
+ x* p/ X# Y. }7 S" d" i' Uwget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz3 a' t9 s0 L% R9 g) ]5 k
tar xzvf geoip_1.6.12.orig.tar.gz2 m1 P# W6 D* T- v$ _$ C
cd geoip-api-c-1.6.12
: r' M; z) @# kaclocal -I m4
/ g6 c. w, s1 l6 C% y* g! k0 lautoconf -vif
/ p7 p  O" q0 ?) A5 O* N( r./configure  \: a8 t  t+ B9 a$ C
make&&make install3 j% W1 `# P/ `; m4 ?+ q

! A: q8 \) h, P) T安装openssl支持
4 Y3 w' y  S4 f4 L8 g8 ~yum install openssl-devel* k: P4 t) j! T% B+ p7 Y# q
1 |4 g7 k4 `8 Y7 O0 s* A! x
安装相关支持
5 W4 [/ b+ x3 g$ T4 o( P5 Byum install -y epel-release libuv libuv-devel  libcap-devel9 y! G5 E2 |1 O' X

7 h  O2 n& W, R下载安装bing9.18) G& ?% s% W4 Y& i
wget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz* Y# N# d4 C2 N/ c: s! I
xz -d bind-9.18.0.tar.xz& o1 u# P. B2 o. w4 ]
tar -xvf bind-9.18.0.tar
, J( k; m/ ?# x( ]- c- ?cd bind-9.18.0! e2 p$ {% q1 N0 b
. f' T) t7 G% E" r; e+ d  e/ t- n6 ~' q4 Y
./configure --prefix=/www/webserver/bind9.18  --enable-largefile  --with-openssl=/usr/local/ssl --disable-doh& l2 e) |6 B) l5 N+ _# r4 i
: V2 U* ?' g: i; F) R
make&&make install3 b* q, |4 i! |5 `% d
) o: i" e% f( @+ p) w
新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!* a# x' q0 d$ b7 D+ _3 ~

( e1 i. r$ B+ v! |3 J6 J" e' I4 L  ?  T( i9 A. h3 T9 r. b. r
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2026-1-3 02:10 , Processed in 0.046261 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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