CloudFlare resources and downloads

来源:互联网 发布:mac系统游戏 编辑:程序博客网 时间:2024/05/20 23:36

Option 3: Manual Installation: RedHat / CentOS / CloudLinux

mod_cloudflare has a few software dependencies that need to be installed first:

# yum install libtool httpd-devel

Next, you should download the mod_cloudflare source to your server:

# wget https://www.cloudflare.com/static/misc/mod_cloudflare/mod_cloudflare.c

Finally, install the module. Depending on your system, the command to run might be apxs or apxs2. So, run one of the below two commands. If you get a "Command not found" when running one, try the other:

# apxs -a -i -c mod_cloudflare.c
# apxs2 -a -i -c mod_cloudflare.c

xx

第一步出现错误

No package httpd available. Centos

用下面的方法解决

Originally Posted by madaboutlinux View Post
Your "exclude=" line in /etc/yum.conf contains 'httpd'. Remove httpd from the exclude line and try installing http using yum once again.

0 0
原创粉丝点击