|
|
如果需要geoip支持) I, t. y( o) a0 d
wget https://launchpad.net/ubuntu/archive/primary/sourcefiles/geoip/1.6.12-1/geoip_1.6.12.orig.tar.gz
* Q/ d9 _' q3 T/ l1 J- n' T) Z: ?tar xzvf geoip_1.6.12.orig.tar.gz
$ C' `. x6 T) Z' C) Pcd geoip-api-c-1.6.12$ S0 o, }( s, w" ~! `
aclocal -I m4) u5 ^) |4 A' K% |8 L
autoconf -vif. Y. K+ H7 |6 |5 r+ {7 d1 t0 l
./configure
: u5 C$ |# ?7 |' `make&&make install
* Y0 d t1 Q- {9 F; o% @7 G8 V8 R4 P9 t7 ]1 W
安装openssl支持
/ G& R, J/ U3 S: X; Q* u% cyum install openssl-devel) S/ s) T+ K& d( i
( _* U2 U7 j& q* c- e
安装相关支持. ]* }( K' f" u; Q& f
yum install -y epel-release libuv libuv-devel libcap-devel
& u) r: L. A4 V) t: X1 X! C' k: ]! ?( \1 O
下载安装bing9.18
7 b" G+ I }" a7 E7 w0 Qwget https://ftp.isc.org/isc/bind9/9.18.0/bind-9.18.0.tar.xz# w2 F- s9 J$ A& C6 ] Z. \
xz -d bind-9.18.0.tar.xz
3 }% x, O4 b( O9 M4 ~& _4 L& |& xtar -xvf bind-9.18.0.tar" \# ^3 `0 U% t8 @( H
cd bind-9.18.0
8 O: N$ V0 O2 o2 d. o) q( I; I C3 T2 z0 C
./configure --prefix=/www/webserver/bind9.18 --enable-largefile --with-openssl=/usr/local/ssl --disable-doh: F6 a. l! d ^1 L/ j+ y. L7 @+ {! d0 \8 r
- R1 p& _2 G+ b4 q' @. e: Smake&&make install& ^3 c. v% n7 u3 a
/ y3 a. Y0 S% I0 p1 ]2 D1 Y
新版本默认支持ipv6与mysql,编译过程中openssl不过,可尝试删除/usr/local/include/openssl中所有文件后重新编译!
+ z0 B1 {5 a$ ]6 n% ]5 |5 F
# Q9 G. Z) V* Y9 y& N
/ d+ \9 I- \) G) m. K) Z |
|