找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 9498|回复: 0

Centos7 bind9.18编译安装笔记

[复制链接]
发表于 2022-2-12 20:59:35 | 显示全部楼层 |阅读模式
如果需要geoip支持% r! q0 _% @% @' F; t
wget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz# f$ I, M2 e+ o$ i
tar xzvf geoip_1.6.12.orig.tar.gz
  P: ?/ D  t( Z, gcd geoip-api-c-1.6.12( ~4 z& A; o) a" g- T
aclocal -I m4
  ^; s8 l+ F6 C+ B. Aautoconf -vif0 O# a! O1 k5 l+ K9 `0 ~: ]
./configure, c7 u/ r3 Z- d2 b! t
make&&make install
; ?4 r/ H$ L/ n0 i; O$ z, n% t" I; W" S: u2 a; V6 Q- C* i
安装openssl支持
, q3 d2 H; w$ c+ D( A" Hyum install openssl-devel- d* q8 U6 b' \- b- ^& k* \

! w, A2 C# ]' x0 a; ^$ k0 `安装相关支持( g/ i/ g2 X  ?# b5 _3 u
yum install -y epel-release libuv libuv-devel  libcap-devel
- n2 f9 {% {8 H- h6 f- `9 T4 S
& q; I0 s; x7 P$ w. O, W下载安装bing9.18
9 C# q7 q8 V1 {, {wget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz$ P( h+ w* a6 J8 G( }& `9 I/ m
xz -d bind-9.18.0.tar.xz
# g( W; }& N+ C% I5 L* l5 Ztar -xvf bind-9.18.0.tar
* v5 C! z- m4 v% ]cd bind-9.18.0
: V0 A/ X. s- n
5 c' j/ }& Y% |% p& U4 m./configure --prefix=/www/webserver/bind9.18  --enable-largefile  --with-openssl=/usr/local/ssl --disable-doh
4 P: g- A. w8 @! X* l" m* R) y% v
, t& J) x7 \' e6 ]5 [make&&make install8 `' m+ z$ Q6 l. h/ T

" _- T* a8 ]/ e# Q3 B5 l: D$ k新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!; |4 K( V, V+ c/ M) M+ V
0 h/ [/ i# l. x1 b1 v4 X* v
7 s$ {2 k% y1 C  u2 B
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-11-4 21:14 , Processed in 0.062523 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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