[英]How to install Phusion Passenger 4 on Ubuntu (on apache2 or nginx)?
While I understand that Passenger 5 is currently the standard, I have a unique use case requiring me to use Passenger 4 while I upgrade a current application. 虽然我知道乘客5是当前的标准,但是我有一个独特的用例,要求我在升级当前应用程序时使用乘客4。 I can't seem to find any particular instructions on how to install Passenger 4 from the Passenger site.
我似乎找不到从旅客站点上如何安装旅客4的任何特定说明。 I also cannot seem to find any apt repositories with Passenger 4 either.
我似乎也找不到与旅客4的任何合适的存储库。
Are there any resources available for doing this? 有可用的资源来执行此操作吗? And can this be done via apt?
可以通过apt完成吗?
Found out the answer in this old blog article from Phusion . 在Phusion的这篇旧博客文章中找到了答案。
The Passenger Phusion repo can only hold one version of the distro (now it holds version 5). Passenger Phusion仓库只能保存发行版的一个版本(现在可以发行版本5)。 So, you need to set the repo location in the /etc/apt/sources.list.d/passenger.list (on Ubuntu) to use the specified string in the blog article .
因此,您需要在/etc/apt/sources.list.d/passenger.list(在Ubuntu上)中设置存储库位置,以使用博客文章中指定的字符串。 Once you do this when installing Passenger on the server you will pull in the Passenger 4 repo instead of the Passenger 5 repo.
在服务器上安装Passenger时执行此操作后,将拉入Passenger 4仓库而不是Passenger 5仓库。
The following additional points will also help in the installation: 以下附加点也将有助于安装:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.