• Showing Page History #100053
  • Showing Page History #100054

AmazonLinuxへ戻る

Amazon Linux への Apache Passenger のインストール

まず、gem コマンドで passenger をインストールします。

  1. gem install passenger

passenger のインストール結果

  1. Fetching: daemon_controller-1.2.0.gem (100%)
  2. Successfully installed daemon_controller-1.2.0
  3. Fetching: passenger-4.0.53.gem (100%)
  4. Building native extensions. This could take a while...
  5. Successfully installed passenger-4.0.53
  6. Parsing documentation for daemon_controller-1.2.0
  7. Installing ri documentation for daemon_controller-1.2.0
  8. Parsing documentation for passenger-4.0.53
  9. Installing ri documentation for passenger-4.0.53
  10. Done installing documentation for daemon_controller, passenger after 5 seconds
  11. 2 gems installed

passenger apache2 モジュールのインストール

次に、passenger の apache2 モジュールをインストールします。

  1. passenger-install-apache2-module

下記のように表示されます。Enter を押下して、続行して下さい。

  1. Welcome to the Phusion Passenger Apache 2 module installer, v4.0.53.
  2. This installer will guide you through the entire installation process. It
  3. shouldn't take more than 3 minutes in total.
  4. Here's what you can expect from the installation process:
  5. 1. The Apache 2 module will be installed for you.
  6. 2. You'll learn how to configure Apache.
  7. 3. You'll learn how to deploy a Ruby on Rails application.
  8. Don't worry if anything goes wrong. This installer will advise you on how to
  9. solve any problems.
  10. Press Enter to continue, or Ctrl-C to abort.