|
|
如果需要geoip支持9 S7 U4 k" z( F' H' U
wget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz5 a/ ^$ j$ {( e" Z: L8 Q
tar xzvf geoip_1.6.12.orig.tar.gz5 I7 t6 p+ ~* e/ O) {. v
cd geoip-api-c-1.6.12
: R$ r) Y6 W2 Z- ^aclocal -I m4! {) e3 [4 c. P) P/ l) R/ N
autoconf -vif
" [3 }/ y3 ]& D2 r2 p2 J; W./configure
. S! B- b& a+ r- C0 u9 U) m( Amake&&make install
+ C7 {$ @9 v( H3 [. V2 M0 q4 L( O
8 t; v, R7 ^# U! B8 u9 f& p, n安装openssl支持2 k+ d/ k/ K. c
yum install openssl-devel/ C. h& J( B8 J [& ?: r5 X" M( I
& F2 Z4 d4 s$ S
安装相关支持
3 T: |* z" k! c4 [5 D% O" Y/ jyum install -y epel-release libuv libuv-devel libcap-devel
0 }7 N/ l- G9 G/ X; r2 {4 B# |* C) u* ^
下载安装bing9.18
! ~) H( N! U3 }* Z) Jwget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz
1 Z8 z* k& @) f" D; m, Kxz -d bind-9.18.0.tar.xz1 ]' ?( H1 ], a* \% F
tar -xvf bind-9.18.0.tar
" x/ r- L* p1 \2 U6 P: Q: a# mcd bind-9.18.00 i6 b9 d; N- w7 G$ y9 U# f
( t/ L: Y/ f0 m" g) U./configure --prefix=/www/webserver/bind9.18 --enable-largefile --with-openssl=/usr/local/ssl --disable-doh/ p1 K6 l" e: T2 A
% j; \+ [. @' ]8 t8 Smake&&make install7 \ i, \% Q8 W6 g* ^
5 B9 D$ [3 v6 G# J) |6 ~2 B7 V- ]新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!( w% o: \' h% Y) ]! ]% n7 f/ Q
$ O, F5 g3 E0 s' c4 j; K
% R) Y- t h, o4 H: ~1 q& \ |
|