找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 12341|回复: 0

Centos7 bind9.18编译安装笔记

[复制链接]
发表于 2022-2-12 20:59:35 | 显示全部楼层 |阅读模式
如果需要geoip支持. ]" D5 k( T* \& E
wget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz
+ f$ p- E; E  E% D3 N( ^tar xzvf geoip_1.6.12.orig.tar.gz4 m& Z% |9 u* J, U
cd geoip-api-c-1.6.12
4 q' K' G8 t, G( saclocal -I m4/ R, M' \  T2 Q7 r+ B; `
autoconf -vif
; G# K  p2 M2 d, i3 E./configure
0 \6 k' F8 L4 N; G. G& Rmake&&make install
( j! W  h5 h9 j; h9 ^/ p9 I
9 d/ Q: G4 q- G; i安装openssl支持
, K/ H1 R; K! |1 zyum install openssl-devel
+ k) v& b# z$ B7 k* F6 N! T0 u: [5 [+ s5 ^
安装相关支持
1 N; t' q6 a' C( J% _* n, jyum install -y epel-release libuv libuv-devel  libcap-devel
( [8 T9 o" }9 H6 i- a
; c# k+ a# E6 G5 V下载安装bing9.18
6 T! G+ @4 _/ gwget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz
" k5 R" H7 ?3 N, h/ jxz -d bind-9.18.0.tar.xz
+ R" g' p& f" d( ]3 `, \6 [  s. }tar -xvf bind-9.18.0.tar6 V- e  B6 O" y; z. ~2 [
cd bind-9.18.00 r  u5 w2 G7 G! c- o

. y6 C) G2 L) }/ w1 j7 t+ i1 M1 P) s./configure --prefix=/www/webserver/bind9.18  --enable-largefile  --with-openssl=/usr/local/ssl --disable-doh, ]$ Y2 E  Q4 m5 R/ {
$ O7 ?; a6 X, \) X
make&&make install: ]' F/ ]+ i+ K8 O

% ?/ [& ^0 m, T# L$ T, h新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!% X7 c5 P/ w; o0 |" {7 N
( h: T1 `0 {9 m  {* m! v3 `- I% x, q" C
7 t3 ?' s7 H; w# ^9 v
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2026-10-10 05:49 , Processed in 0.067186 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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