简体   繁体   English

Amazon EC2 AMI上的xsendfile

[英]xsendfile on Amazon EC2 AMI

I'm trying to install xsendfile on Amazon's own Linux AMI with this command: 我正在尝试使用以下命令在亚马逊自己的Linux AMI上安装xsendfile

yum install mod_xsendfile 

but it can't find the package. 但找不到包。 Can anyone help with a solution please? 有人可以提供解决方案吗?

You can try this, but you might have to download some packages to be able to compile it 您可以尝试这样做,但可能必须下载一些软件包才能进行编译

wget https://tn123.org/mod_xsendfile/mod_xsendfile.c --no-check-certificate wget https://tn123.org/mod_xsendfile/mod_xsendfile.c --no-check-certificate

and for apache2 to compile it's: 并为apache2编译它是:

apxs2 -cia mod_xsendfile.c apxs2 -cia mod_xsendfile.c

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM