|
|
如果需要geoip支持/ M0 Q( X0 x) p$ J. @: w5 m
wget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz1 {# o" p. b6 {! m8 y# f& U
tar xzvf geoip_1.6.12.orig.tar.gz# Q0 J% o. }/ c0 U7 l) k; y
cd geoip-api-c-1.6.12
& C3 Z1 j9 @6 Q* o7 Z% R8 J7 paclocal -I m4
7 A- p2 \1 N$ ^( fautoconf -vif
0 {0 t2 D- ?- G./configure
# k" ?3 A3 N1 b) }% ymake&&make install
4 R3 h( P" i% A/ i5 x
0 b1 a. m3 k! {8 n; M( e) d* s9 }安装openssl支持: x' R$ _4 U$ i' q' w! ^
yum install openssl-devel9 n% U7 P( s, }+ h: L3 Q2 \
1 n8 m7 }4 e" n" n安装相关支持
; [7 A) n8 P9 _9 d2 s9 Uyum install -y epel-release libuv libuv-devel libcap-devel% f4 g+ f$ V2 d, ^, d
0 a+ N1 b* [9 c" S+ W; U9 k/ E2 u下载安装bing9.18( i8 Y+ ~7 Y# P! q* j9 r! a
wget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz' Z$ X- D0 x* u! ?" Z6 n
xz -d bind-9.18.0.tar.xz
5 {3 ^9 v& W3 w9 V# ?tar -xvf bind-9.18.0.tar" g& H& G l, q, b
cd bind-9.18.0; ~# f( p4 e4 g" a
2 a% P U& @' q, J) o$ T3 c3 {3 M& g
./configure --prefix=/www/webserver/bind9.18 --enable-largefile --with-openssl=/usr/local/ssl --disable-doh' b4 j) Q0 R q" E0 U
* Y6 B. P; Y; Xmake&&make install
" }, v, H- R. V- b+ U- _ L* R
7 Y9 n+ c" C8 t3 ?新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!
3 a' [ r* R; ^; d
; S6 t' j" E8 i7 w8 n, N8 h: F) H E$ ], m. \& P5 n5 e( A
|
|