0
@@ -53,23 +53,27 @@ if it doesn't.
0
There are two ways to install Passenger:
0
-1. By installing the Passenger gem, as instructed on the ``Install'' page
0
- on the Passenger website.
0
-2. By downloading the source tarball from the Passenger website
0
+1. By installing the Passenger gem, as instructed on the
0
+ link:http://www.modrails.com/install.html[``Install'' page on the Passenger website].
0
+2. By downloading a native Linux package (e.g. Debian package) from the Passenger website.
0
+3. By downloading the source tarball from the Passenger website
0
('passenger-x.x.x.tar.gz').
0
-In our opinion, installing the gem
is easiest.
0
+In our opinion, installing the gem
or the native package is easiest.
0
Passenger provides an easy-to-use installer for installing the Passenger
0
Apache module ('mod_passenger').
0
-
NOTE: You might have to run the installation commands in the following sections
0
+
TIP: You might have to run the installation commands in the following sections
0
as 'root'. If the installer fails because of permission errors, it will tell
0
[[specifying_correct_apache_install]]
0
==== Specifying the correct Apache installation ====
0
+NOTE: You can skip this section if you've installed Passenger via a native Linux
0
+package, because no compilation is necessary.
0
If your system has multiple Apache installations (this is likely the case on
0
MacOS X), then you will need to tell the Passenger installer which one to use.
0
If you only have one Apache installation (the case on most Linux systems), then
0
@@ -90,6 +94,9 @@ be located in the `sbin` folder instead of the `bin` folder.
0
[[specifying_ruby_installation]]
0
==== Specifying the correct Ruby installation ====
0
+NOTE: You can skip this section if you've installed Passenger via a native Linux
0
+package, because no compilation is necessary.
0
If your system has multiple Ruby installations (this is likely the case on
0
MacOS X), then you will need to tell the Passenger installer which one to use.
0
If you only have one Ruby installation (the case on most Linux systems), then
0
@@ -119,6 +126,23 @@ passenger-install-apache2-module
0
------------------------------------------------------
0
Please follow the instructions given by the installer.
0
+==== Installing via a native Linux package ====
0
+Please install the native Linux package, e.g.:
0
+------------------------------------------------------
0
+gdebi passenger_x.x.x-i386.deb
0
+------------------------------------------------------
0
+Next, you'll need to configure Apache. Run the "installer", as it will tell you
0
+the correct configuration options for Apache:
0
+------------------------------------------------------
0
+passenger-install-apache2-module
0
+------------------------------------------------------
0
+NOTE: The installer doesn't actually install anything because it will automatically
0
+detect that Passenger has already been installed. The only thing the installer
0
+will do in this case, is showing the correct Apache configurations.
0
==== Installing via the source tarball ====
0
Extract the tarball to whatever location you prefer. The Passenger files
Comments
No one has commented yet.