|
如果需要geoip支持4 J4 Z Q, y( P& e8 j+ Q
wget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz. F. x# o8 D& t2 T; [
tar xzvf geoip_1.6.12.orig.tar.gz- s5 f% h- b) @/ X9 {8 \+ E# @
cd geoip-api-c-1.6.12+ `+ V" {1 Z. _
aclocal -I m4) ~" C* p0 F4 O/ r$ T6 Y
autoconf -vif$ S8 ~; x2 {' ^; s7 q9 P# A
./configure
% z0 S5 Y |3 I! ~' hmake&&make install4 h7 R* {* Z r5 { r8 u, V) D5 [
; J! t1 t2 m" _2 _4 f% z安装openssl支持
# t* R& M. y# E' X' oyum install openssl-devel
- Y3 m! v% K9 ~5 Q8 `( _9 l0 y, x0 _% a3 j/ W R0 K, h) ^
安装相关支持
, W! d D/ h3 L0 gyum install -y epel-release libuv libuv-devel libcap-devel
2 M: ^ A2 V! m" h) [
- m" D# ]; a0 {% n1 U& D8 d1 Q下载安装bing9.182 D% {- X5 I* y* F+ W
wget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz; Z1 o$ O4 @) B; T$ l1 _
xz -d bind-9.18.0.tar.xz8 w4 R) |8 ^( h
tar -xvf bind-9.18.0.tar! f( J7 k; ?6 i* G
cd bind-9.18.0: L. l. i) ~. V5 D6 i& I
' @4 C& `" _" Y- _- L6 r./configure --prefix=/www/webserver/bind9.18 --enable-largefile --with-openssl=/usr/local/ssl --disable-doh. m# E5 ]* Q- c. P) w- M8 a
% W2 \2 u! i _0 w6 J
make&&make install
, |" b& W. L d( R( H$ ]8 ?
, u# m5 N+ c: O* s5 Y7 R新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!+ I9 i& ^7 L$ a
; { M& U1 x- Z0 ]& V7 T' U
9 q" b; L, B2 M- p, a
|
|