找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 8307|回复: 0

Centos7 bind9.18编译安装笔记

[复制链接]
发表于 2022-2-12 20:59:35 | 显示全部楼层 |阅读模式
如果需要geoip支持
' I0 f: b9 _  Y" {) }wget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz& e0 E; _- `2 r3 A, C  Z' V
tar xzvf geoip_1.6.12.orig.tar.gz
( q! f$ }3 u/ W& L9 i% ^  f; S5 Kcd geoip-api-c-1.6.12! f, C1 @! z# [' r
aclocal -I m46 f; Y/ W9 X. `
autoconf -vif2 b  N1 k1 k4 r5 V; W' K
./configure7 @% ?; D: ]) h/ u5 l7 C' ^8 V* _0 y
make&&make install5 P' b2 X  J! W  y6 Z  r
- R$ B% ]' O# O- T" L. z/ n6 N
安装openssl支持
' z. v4 E# ~2 \yum install openssl-devel
/ l6 G% \+ }6 L4 ?, i) I1 `8 c8 f/ l/ d9 m& c
安装相关支持
( C9 s7 N' t+ C0 @( M8 yyum install -y epel-release libuv libuv-devel  libcap-devel  e* r7 {: r# N$ ^7 r/ P" P4 |7 k
* {1 M  P4 _* m1 U
下载安装bing9.18
. Y5 |7 N6 z6 E9 ]4 |3 L" H( {wget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz" m5 H- t8 N" z! V4 d% q
xz -d bind-9.18.0.tar.xz/ y( y- z8 O% Q1 }/ s" S4 U, I
tar -xvf bind-9.18.0.tar
0 m8 V2 f# R6 s" @* \& ccd bind-9.18.0) z5 f$ D. ?; @6 y$ F% C
" Y1 J7 j, ^9 g; t# v% K
./configure --prefix=/www/webserver/bind9.18  --enable-largefile  --with-openssl=/usr/local/ssl --disable-doh" ^, m5 \) ^* ~# d
9 {- v- C4 a- X, Y- I# }
make&&make install
# Y1 J$ A$ a( q/ A5 T! O. M
2 E5 u; k; v  Y
新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!
2 i$ R% t! |# c) z3 w" T

/ G: ~( A/ |# l8 i( M, \  x* X! f( r5 o7 R% Z: P- `0 s7 E" S; P. i  O
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-6-7 15:04 , Processed in 0.062979 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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