找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 10038|回复: 0

Centos7 bind9.18编译安装笔记

[复制链接]
发表于 2022-2-12 20:59:35 | 显示全部楼层 |阅读模式
如果需要geoip支持$ Z; f. Y6 |$ A; F
wget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz) I9 h$ ?: }5 ?, j' S$ |" _6 r% v
tar xzvf geoip_1.6.12.orig.tar.gz
* H; k) i9 a+ M- a" }/ Ecd geoip-api-c-1.6.12
2 W+ X, i9 Q) y2 @1 waclocal -I m4: S% h2 [1 a7 f: u* G9 w) W& u* d
autoconf -vif
1 W4 M2 f# e5 q& \5 s' ]./configure
- A) V5 x& I8 V  d; ?6 b/ d9 f' _make&&make install, R* G1 x* o( @$ v- i$ ~, H

0 E2 ~% g% v, n* y4 {- L安装openssl支持; M/ A9 ]; ~$ S. {6 M. G. ~
yum install openssl-devel
9 o) {# e' l4 u; K! X/ |; o; e- P9 }6 {' @* z( R' T
安装相关支持1 @4 d& S& d0 e# n( i( ?
yum install -y epel-release libuv libuv-devel  libcap-devel
5 _  b, H( A1 d+ V# W) `8 H4 @- q+ V# ]. R) L: V9 _
下载安装bing9.18
& _5 Y& F: f+ R8 Hwget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz" Y& M3 F0 z# `6 i* \8 h
xz -d bind-9.18.0.tar.xz
  ]5 z' q. W, S7 O( P  star -xvf bind-9.18.0.tar; Y2 M, C) |, j* ~* M
cd bind-9.18.0
" A4 c  K: [$ r/ S5 t
6 i" {  Y6 q4 Y0 }$ f4 ]; T./configure --prefix=/www/webserver/bind9.18  --enable-largefile  --with-openssl=/usr/local/ssl --disable-doh5 h  ~* R# v/ N

  z: w4 a' Y" G, O# Kmake&&make install, ?: a8 R5 _/ Q3 l4 u9 u' K/ M

$ Q5 {/ _( y/ O0 ]" w新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!: D/ F" L! G+ a, f) q1 k9 @9 p
& e* c, T$ N' C4 D+ E

: {& O* R' |1 ?9 O5 x( K
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2026-1-10 14:36 , Processed in 0.045494 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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