facebook twitter hatena line email

Ruby/rails/passenger

提供: 初心者エンジニアの簡易メモ
2022年9月21日 (水) 19:23時点におけるAdmin (トーク | 投稿記録)による版 (passengerのapacheモジュールインストール時のエラー)

移動: 案内検索

passengerインストール

$ gem install passenger

passengerのapacheモジュールのインストール準備

$ sudo yum install httpd-devel
$ sudo yum install apr-devel
$ sudo yum install apr-util-devel

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

$ passenger-install-apache2-module

passengerのapacheモジュールインストール時のエラー

エラー詳細

c++: コンパイラ内部エラー: 強制終了 (プログラム cc1plus)
Please submit a full bug report,

メモリが足らない? 参考:https://donbulinux.hatenablog.jp/entry/2016/07/08/214659

httpd.conf

<VirtualHost *:80>
  ServerName example1.server1
  DocumentRoot "/var/www/rails/example1/public"
  RackEnv production
  <Directory "/var/www/rails/example1/public">
    AllowOverride all
    Require all granted
  </Directory>
</VirtualHost>