|
|
如果需要geoip支持' ?1 T! N: E/ t3 f
wget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz
0 b# d. j7 i1 A7 itar xzvf geoip_1.6.12.orig.tar.gz5 _/ z% o& n" _+ F* S0 t
cd geoip-api-c-1.6.12
9 t+ Y: ?% y' h% R0 o# Haclocal -I m4
8 t6 A' }& E: i/ t- vautoconf -vif
$ }0 O2 s: y, z' j6 | [./configure
& J- N0 R9 J) [' h7 H4 imake&&make install/ e+ ?4 Q g" N2 i0 J4 w* g
' Q2 x8 [* Z' N
安装openssl支持# R, I) ]# [, C$ Y
yum install openssl-devel
6 R4 k" T. [" Q3 d& f0 e) g
& x) ?' \$ J7 K, P4 D安装相关支持- \. J( E; d" Z. p
yum install -y epel-release libuv libuv-devel libcap-devel
8 W) [# I/ N( \. n) e+ k1 a. ~, K5 W) M3 d A% A
下载安装bing9.18+ I) \5 G1 O+ r$ S/ J/ ?
wget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz
- r( i3 A O. }" |2 |$ H) Dxz -d bind-9.18.0.tar.xz
+ q( i: Q8 r: n' ~tar -xvf bind-9.18.0.tar3 k5 J7 w: T V1 v
cd bind-9.18.0: d- h0 l. A! _( J
3 w; x' j" ^, ?. O2 Z& c
./configure --prefix=/www/webserver/bind9.18 --enable-largefile --with-openssl=/usr/local/ssl --disable-doh/ A. h4 a( E+ \
# _9 D' o) H/ F+ N: e. d2 u. Q
make&&make install% o2 S j$ g& l$ S
' d% K' B x) Z
新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!
1 k$ g8 c% s+ v+ M
* X4 ]$ o T1 w4 @/ v5 ?& w& A
* P$ a+ K; r- B8 x. j E |
|