找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 10918|回复: 1

centos6.7 bind9.10编译安装笔记

[复制链接]
发表于 2015-11-30 11:11:59 | 显示全部楼层 |阅读模式
如果需要geoip支持4 d6 G( S. c5 x* k
wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz
: O, ^% E$ [/ s; F& L/ p% etar xzvf GeoIP.tar.gz
: C8 Z2 a6 ^0 e5 n) K8 |: L8 Ecd GeoIP-1.4.80 D; G' E' X6 s
./configure5 T( A0 B6 ^  v7 A9 A
make&&make install% ~3 H: ~8 P( C. {2 h$ s' V' q2 `
& Q; B$ D. _* N% u& h
安装openssl支持 " K) x0 M0 H# S) W
yum install openssl-devel% x* J3 r( ^2 [, V# b. U9 T6 ]0 @; r
/ Z) w, Z  r; j1 t
下载bing9.10
& m2 e* i% Q, w7 B/ ~% z/ Cwget http://ftp.isc.org/isc/bind9/9.10.3rc1/bind-9.10.3rc1.tar.gz
% S1 s$ `- ~3 o" k+ I1 l/ L解压bind9.109 @7 S9 V* H/ O2 _3 x  V
tar xzvf bind-9.10.3rc1.tar.gz7 p! |9 q) d2 v5 g/ A
! ?1 @; H5 s% ^1 U% F( k
进入解压目录- R! L# b" @' z% }3 |
cd bind-9.10.3rc1
/ n; G1 p9 M5 \% b/ l- w3 q6 z8 T" F6 G$ n, v- [" I9 H
配置测试
; [' g) R2 f- N3 g./configure --prefix=/usr/bind9 --with-dlz-mysql --enable-largefile --enable-ipv6=yes --with-geoip
/ q- |9 [& n& Z( E- ^+ q! M+ y0 }5 j* d. L2 b. ~
编译安装! z" n. G1 @& t1 C% n/ ]
make&&make install5 Y. J4 w8 M, Z* x

& i4 i( E3 c/ u& I以下安装openssl方法
; Q5 |' Q. S, \wget http://www.openssl.org/source/openssl-fips-ecp-2.0.10.tar.gz, y: z% v3 }5 ~
tar xzvf openssl-fips-ecp-2.0.10.tar.gz- f. ~2 m# K4 b8 Y, k4 e) P, v
cd openssl-fips-ecp-2.0.105 |, g5 f2 H4 s$ Y$ `$ ?5 a
./config --prefix=/usr/local --openssldir=/usr/local/ssl
; h. G' n4 a; F. f( Gmake&&make install8 t: s9 |7 m' u& T% l
) e. O+ x2 w! U4 X; ]2 R
./configure --prefix=/www/bind9 --with-dlz-mysql=/usr --enable-largefile --enable-ipv6=yes --with-geoip --disable-openssl-version-check --with-openssl=/usr/local/ssl* M7 W& D6 M: R
& h( z- F! |. s3 [
编译含geoip的版本以失败告终!
+ u( R8 b4 d- Y: I  B/ g: ^- [: T! b, C+ ]# ~' e% q
1 a! E% F# N  J- Q( [; @
. f3 f- _" Y# e9 w4 V; Y
0 ?4 Z1 o8 ]. s( h1 e
 楼主| 发表于 2015-11-30 17:41:39 | 显示全部楼层
/usr/local/ssl/include/openssl/opensslv.h"
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-11-4 21:12 , Processed in 0.062579 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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