找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 11371|回复: 0

Centos7 bind9.18编译安装笔记

[复制链接]
发表于 2022-2-12 20:59:35 | 显示全部楼层 |阅读模式
如果需要geoip支持' ?1 T! N: E/ t3 f
wget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz
0 b# d. j7 i1 A7 itar xzvf geoip_1.6.12.orig.tar.gz5 _/ z% o& n" _+ F* S0 t
cd geoip-api-c-1.6.12
9 t+ Y: ?% y' h% R0 o# Haclocal -I m4
8 t6 A' }& E: i/ t- vautoconf -vif
$ }0 O2 s: y, z' j6 |  [./configure
& J- N0 R9 J) [' h7 H4 imake&&make install/ e+ ?4 Q  g" N2 i0 J4 w* g
' Q2 x8 [* Z' N
安装openssl支持# R, I) ]# [, C$ Y
yum install openssl-devel
6 R4 k" T. [" Q3 d& f0 e) g
& x) ?' \$ J7 K, P4 D安装相关支持- \. J( E; d" Z. p
yum install -y epel-release libuv libuv-devel  libcap-devel
8 W) [# I/ N( \. n) e+ k1 a. ~, K5 W) M3 d  A% A
下载安装bing9.18+ I) \5 G1 O+ r$ S/ J/ ?
wget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz
- r( i3 A  O. }" |2 |$ H) Dxz -d bind-9.18.0.tar.xz
+ q( i: Q8 r: n' ~tar -xvf bind-9.18.0.tar3 k5 J7 w: T  V1 v
cd bind-9.18.0: d- h0 l. A! _( J
3 w; x' j" ^, ?. O2 Z& c
./configure --prefix=/www/webserver/bind9.18  --enable-largefile  --with-openssl=/usr/local/ssl --disable-doh/ A. h4 a( E+ \
# _9 D' o) H/ F+ N: e. d2 u. Q
make&&make install% o2 S  j$ g& l$ S
' d% K' B  x) Z
新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!
1 k$ g8 c% s+ v+ M

* X4 ]$ o  T1 w4 @/ v5 ?& w& A
* P$ a+ K; r- B8 x. j  E
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2026-6-11 01:49 , Processed in 0.062629 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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