简体   繁体   English

为 Nginx 安装 Phusion Passenger,找不到 package libnginx-mod-http-passenger

[英]Installing Phusion Passenger for Nginx, can't find package libnginx-mod-http-passenger

I am using the tutorial at我正在使用教程

https://www.phusionpassenger.com/docs/tutorials/deploy_to_production/installations/oss/ownserver/ruby/nginx/

to install Passenger (6.0.4) for use with Nginx.安装乘客 (6.0.4) 以与 Nginx 一起使用。 I get to the point where I'm installing the 'libnginx-mod-http-passenger' package, and get the following...我到了要安装“libnginx-mod-http-passenger”package 的地步,并得到以下内容......

deploy@rpi-tick1:~ $ sudo apt-get install -y libnginx-mod-http-passenger
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libnginx-mod-http-passenger

I am installing for Raspbian-stretch (Debian), and have set up /etc/apt/sources.list.d/passsenger.list as shown below (as instructed in the tutorial)我正在为 Raspbian-stretch (Debian) 安装,并已设置 /etc/apt/sources.list.d/passsenger.list 如下所示(按照教程中的说明)

deploy@rpi-tick1:~ $ cat /etc/apt/sources.list.d/passenger.list 
deb https://oss-binaries.phusionpassenger.com/apt/passenger stretch main

It appears that repository contains only 'passenger-doc' packages.似乎存储库仅包含“passenger-doc”包。 Any help would be appreciated.任何帮助,将不胜感激。

I just ran into this issue myself while testing out whether my passenger setup will work on an ARM based Ubuntu instance.我自己在测试我的乘客设置是否可以在基于 ARM 的 Ubuntu 实例上运行时自己遇到了这个问题。 I believe the cause is that package is available for amd64 but not ARM.我相信原因是 package 可用于 amd64,但不能用于 ARM。 I see that you are using Raspbian and Raspberry Pi's are ARM based systems.我看到您使用的是 Raspbian,而 Raspberry Pi 是基于 ARM 的系统。

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

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