找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 11615|回复: 1

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

[复制链接]
发表于 2015-11-30 11:11:59 | 显示全部楼层 |阅读模式
如果需要geoip支持) G) c! u  n. i
wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz( w- q. z2 c# t' \- \
tar xzvf GeoIP.tar.gz
8 G) J" z4 K, X# ?5 C4 D9 Zcd GeoIP-1.4.8' l0 L' e* s5 w; J6 r. _! K7 S
./configure6 ]2 S9 H5 U9 O0 F, S
make&&make install& z3 q, a/ a0 Y. L  J* ?) ^  Z

) ^0 ~/ {( g  s) {' q5 b+ l% ~/ h2 ?安装openssl支持
) k/ z/ p8 P. o8 ^3 b' Oyum install openssl-devel6 V: G( r; N+ a' u% P

7 ^& R( M/ l" d* q
下载bing9.108 J8 L; o* h; m# L
wget http://ftp.isc.org/isc/bind9/9.10.3rc1/bind-9.10.3rc1.tar.gz5 Q5 o  U# E* f; O& J+ x( O
解压bind9.10
4 i% `' _/ q  O# R! ~tar xzvf bind-9.10.3rc1.tar.gz  M' H+ `, L5 T8 u! U6 u
3 Q( M; N" C& ^4 {; V
进入解压目录( p$ i# m5 R- B. t0 ^; a" }+ W( k
cd bind-9.10.3rc1% {6 P' d; C  @

  m& b8 d: Y( X3 o( t配置测试2 ~! I# U( z# F# X5 ]6 _
./configure --prefix=/usr/bind9 --with-dlz-mysql --enable-largefile --enable-ipv6=yes --with-geoip
5 \% J+ u8 k) W! G4 S; v* E1 U
9 b+ [" U6 t; K$ B% C& l' U) C; C编译安装
+ l+ h/ D. O' F2 s( r* xmake&&make install
4 P* T1 N$ o- S$ M* H7 G
4 ?) m, u" a2 p& X) v以下安装openssl方法0 q* v3 E( }* c4 {# s: i8 ]
wget http://www.openssl.org/source/openssl-fips-ecp-2.0.10.tar.gz
+ v& W/ ^8 N/ etar xzvf openssl-fips-ecp-2.0.10.tar.gz
' I9 M' S, S; b6 Gcd openssl-fips-ecp-2.0.10
& [0 S; [" [9 j3 i% B& L2 |./config --prefix=/usr/local --openssldir=/usr/local/ssl& p% [. q: e4 z# W) A2 \
make&&make install: {) d7 n$ O! o6 L; j' v. l8 C3 ]
) s5 c4 \$ X1 N0 D2 I' 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
3 h6 r* ?9 o$ h+ k
& a$ ~' B  l; y1 c+ i! N编译含geoip的版本以失败告终!
# g# R: e. j6 s' |1 Z$ i% L/ y" @, J  o% |
8 P2 `7 B& g) N* k
. y: n' _+ w! ]6 h
1 m( V' s6 j* ]4 N$ F. s) o. M
 楼主| 发表于 2015-11-30 17:41:39 | 显示全部楼层
/usr/local/ssl/include/openssl/opensslv.h"
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-2-26 10:33 , Processed in 0.057959 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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