找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 10877|回复: 0

Centos7 bind9.18编译安装笔记

[复制链接]
发表于 2022-2-12 20:59:35 | 显示全部楼层 |阅读模式
如果需要geoip支持
% G. ^& ^6 a( a6 U6 jwget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz$ W6 g. @# u  O: O: C
tar xzvf geoip_1.6.12.orig.tar.gz
6 z1 j" h% ^; w* J- vcd geoip-api-c-1.6.12
" y2 \( |* Z  }0 Q  ^aclocal -I m40 h' P' X+ V& y2 M
autoconf -vif; C. Q  a: M3 q4 `: \* o6 v
./configure! a+ Q* ^2 a/ I3 Z6 A( B
make&&make install
+ t( G! Q' s$ C$ }4 ^% z* @2 k
# {. c( O0 M; Z$ Z2 M; j! u. v安装openssl支持
' `2 c- _+ t% Q3 R, {yum install openssl-devel
5 S3 L# Z/ k$ y4 B8 ~0 I. K
# ^9 C2 V+ c2 C' T, O( N安装相关支持
# v+ f" O& @8 i  tyum install -y epel-release libuv libuv-devel  libcap-devel
' U: L' u3 }9 A) y7 P, ^* o# v9 w7 \  T% L
下载安装bing9.18
( W% I+ A9 x; h! T' \4 Q2 Mwget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz* @+ y, [/ b3 A, z
xz -d bind-9.18.0.tar.xz
6 A/ s. F5 r; Mtar -xvf bind-9.18.0.tar
6 l( q% i4 B. Xcd bind-9.18.0  S5 j% `* Q  b6 P0 {; l
9 _" S8 J5 J/ M: h, j
./configure --prefix=/www/webserver/bind9.18  --enable-largefile  --with-openssl=/usr/local/ssl --disable-doh
8 Q* M* }3 U* v
8 ~0 z( i, D) |, }4 z  T6 Ymake&&make install
% \, \: y* R4 ^/ N$ t7 N, I% M

1 y: N5 N) k  J2 o1 ~9 `新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!
7 s, I6 E/ X7 e' n" l

5 t: K$ s! v2 m, e. Q1 c
% `4 l, C, C0 m. h; M% v
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2026-4-12 22:37 , Processed in 0.065183 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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