我尝试在Apache上安装mod_cloudflare。
但它说:
# rpm -i mod_cloudflare-el6-x86_64.latest.rpm
mod_cloudflare-el6-x86_64.latest.rpm: Header V4 DSA/SHA1 Signature, key ID 8e5f9a5d: NOKEY
error: Failed dependencies:
httpd is needed by mod_cloudflare-1.2.0-1360806316.el6.x86_64
但我安装了apache:
# httpd -v
Server version: Apache/2.4.12 (Unix)
Server built: Apr 16 2015 16:27:46
Cpanel::Easy::Apache v3.28.7 rev9999
我怎样才能让它发挥作用?!
答案 0 :(得分:0)
yum install glibc.i686
并再次尝试rpm -i mod_cloudflare-el6-x86_64.latest.rpm
。希望它有效
答案 1 :(得分:0)
对于CentOS:
# yum install libtool httpd-devel
# wget https://www.cloudflare.com/static/misc/mod_cloudflare/mod_cloudflare.c
# apxs -a -i -c mod_cloudflare.c
在Webuzo Apache配置中添加以下行:
LoadModule cloudflare_module /usr/lib64/httpd/modules/mod_cloudflare.so
重启Apache mod_cloudflare现在正在运作
您可能最好关注cloudflares网站上的mod_apache手动安装指南: http://www.cloudflare.com/resources-downloads