找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 12740|回复: 0

Centos7 bind9.18编译安装笔记

[复制链接]
发表于 2022-2-12 20:59:35 | 显示全部楼层 |阅读模式
如果需要geoip支持5 [! {( }/ }' ~  ^/ t, _
wget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz) A! s/ f6 p1 t& v
tar xzvf geoip_1.6.12.orig.tar.gz
. n  I. `" D; J4 ecd geoip-api-c-1.6.12
$ h$ Y. _4 M4 {1 x; f& S, h8 x" z9 caclocal -I m4/ p) D) G* w; o; u" W9 t
autoconf -vif
$ d0 N3 S5 [5 j! C  ~5 A./configure- ]  `, d4 T8 w$ t) w
make&&make install
4 I0 g6 @# U, q4 Q
' }& I% H7 P! v! a$ v安装openssl支持; |+ |5 A) o4 U4 x
yum install openssl-devel2 x9 H; ?4 u2 Y1 [, Z( k
' d3 c$ S& }2 [0 s' q3 a- ~
安装相关支持
+ b3 ]. Y0 \$ ?6 R8 h1 w. cyum install -y epel-release libuv libuv-devel  libcap-devel9 p& B2 p( I' }0 _9 A2 H0 S
2 V. o: q8 D/ X
下载安装bing9.18
  t% }/ R: Q' Y/ awget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz
) ]2 A- M0 g" h' W, yxz -d bind-9.18.0.tar.xz  f6 d9 x9 `1 \
tar -xvf bind-9.18.0.tar
$ q* G- w+ y! i/ {1 h1 {! ^cd bind-9.18.0
0 }' R6 q+ h' m: J! N: V3 f1 \3 \4 e2 ?) m
./configure --prefix=/www/webserver/bind9.18  --enable-largefile  --with-openssl=/usr/local/ssl --disable-doh
: ~2 Y- X: t! }* c0 ~2 ]( [0 G$ V7 E9 X
make&&make install% V& n! ^6 a. O8 N0 J
8 r8 f' M! t$ i# K, j( a2 ^* l* n1 f
新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!7 S9 f& `/ f' L. ^
9 R/ F) I0 ~9 j, q9 d* u  d

; B7 U2 n8 \, H9 g
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2026-12-4 01:25 , Processed in 0.065023 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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