试图按照这里find的指示apxs无法安装在Centos mod_cloudflare当我运行命令rpm -ivh mod_cloudflare-1.1.1-1.x86_64.rpm
服务器返回错误:
error: Failed dependencies: apache2 is needed by mod_cloudflare-1.1.1-1.x86_64
请注意..我已经有Apache安装和configuration:
yum install httpd httpd-devel Loaded plugins: fastestmirror, priorities, security, update-motd, upgrade-helper Loading mirror speeds from cached hostfile * amzn-main: packages.us-east-1.amazonaws.com * amzn-updates: packages.us-east-1.amazonaws.com Setting up Install Process Package httpd-2.2.23-1.25.amzn1.x86_64 already installed and latest version Package httpd-devel-2.2.23-1.25.amzn1.x86_64 already installed and latest version Nothing to do
尝试安装Apache2就像下面这样:
yum install Apache2 Loaded plugins: fastestmirror, priorities, security, update-motd, upgrade-helper Loading mirror speeds from cached hostfile * amzn-main: packages.us-east-1.amazonaws.com * amzn-updates: packages.us-east-1.amazonaws.com Setting up Install Process No package Apache2 available. Error: Nothing to do
我正在运行亚马逊Linux,有什么想法?
我相信这是一个SuSE包,而不是CentOS / RedHat包,因为依赖关系是apache2而不是httpd。
在链接线程中,问题的提问者似乎也没有在最后安装RPM。
您可能最好使用mod_apache的cloudflares站点上的手动安装指南:
http://www.cloudflare.com/resources-downloads