找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 8042|回复: 0

Centos7 bind9.18编译安装笔记

[复制链接]
发表于 2022-2-12 20:59:35 | 显示全部楼层 |阅读模式
如果需要geoip支持
9 F, l( L1 Q! ?0 g" y1 ywget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz
. c  P: N( r# star xzvf geoip_1.6.12.orig.tar.gz
1 P2 |5 Y+ x5 F' c6 ?+ v/ hcd geoip-api-c-1.6.12
8 R' H( _! Q( l$ W/ x' O. w' eaclocal -I m4, e) Z! _6 S% U. }$ b
autoconf -vif8 n, r( n$ b2 U5 C
./configure
) t" j' i9 i5 Cmake&&make install5 @4 B$ `/ u2 }. t! {% p4 @

  `0 {9 V( Y  ?5 z安装openssl支持
/ F5 ~  L% ^$ T* Y% H$ `, Nyum install openssl-devel  W$ Y! r/ u. w6 d; u
# S3 n# ?# Q9 G# w. l* T3 I
安装相关支持6 M5 _2 |' u; g- ~5 v
yum install -y epel-release libuv libuv-devel  libcap-devel$ |5 t- K& b0 U1 r$ q5 J0 ~4 U
7 s8 _) W/ O( r. L% d* r9 Y, d
下载安装bing9.18( X- d$ `+ P5 B. X
wget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz
, q' r5 T( G; q7 U3 N9 cxz -d bind-9.18.0.tar.xz: h5 c2 A) Y* N$ w: q$ I
tar -xvf bind-9.18.0.tar3 {/ z7 E3 W* F2 F
cd bind-9.18.0' @6 `( V3 v1 ^/ {3 H

, `( a1 c1 }: j./configure --prefix=/www/webserver/bind9.18  --enable-largefile  --with-openssl=/usr/local/ssl --disable-doh  s. d+ @& S: M$ j  _1 E

. q; e) P  H9 D2 I* _: n6 M4 Nmake&&make install
, K- I7 i% w; k6 j1 e0 N
& H  K0 R# S0 `1 x8 c1 U! l( n3 y
新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!
. a! _( d5 ]* E# ~- j
! s2 b- \  R! X) m

8 N, t+ [/ P' `2 z2 i' Z$ Q1 \
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-5-14 09:14 , Processed in 0.058812 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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