# tail /var/log/httpd/error_log [Thu Jul 18 11:00:59 2013] [notice] caught SIGTERM, shutting down [Thu Jul 18 11:01:00 2013] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0 [Thu Jul 18 11:01:00 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Jul 18 11:01:00 2013] [error] *** Passenger could not be initialized because of this error
リバースプロキシを必要としており、当初、Apache でいこうかとも思っていたのだが、より軽量(メモリ消費量が少ない)で、パフォーマンスの高い Web サーバがないものかと物色していた。 nginx というロシア製のエンジンがなかなかよさそうなので、しばらく使ってみることにした。ちなみに、読み方は「エンジンエックス」のようだ。 nginx Main ついでに、 Apache + Passenger で運用していた環境も nginx + Passenger に変更した。その際の設定メモを残しておく。 Table of Contents Open Table of Contents 作業の前提 nginx のインストール init script を用意する nginx の設定 nginx + Passenger の設定を行う SSL を有効にする 作業の前提 ここでの作業の前提としては、 既に
Phusion Passenger is software that deploys Ruby and Python web apps, by integrating into Apache and Nginx and turning them into a fully-featured application server. It is very fast, stable and robust and thus used by the likes of New York Times, AirBnB, Symantec, Pixar, etc. It comes with many features that makes your life easier and your application perform better. After a period of being in beta
Community discussion forum - post a message here if you’re experiencing problems. Support on this forum is provided by the community on a best-effort basis, so a (timely) response is not guaranteed. Issue tracker - report bugs here. Email support@phusion.nl if you are a Phusion Passenger Enterprise customer. Please mention your order reference. If you are not an Enterprise customer, we kindly redi
Phusion Passenger® Supercharge your Ruby, Node.js and Python apps Phusion Passenger® is a web server and application server, designed to be fast, robust and lightweight. It takes a lot of complexity out of deploying web apps, adds powerful enterprise-grade features that are useful in production, and makes administration much easier and less complex. Phusion Passenger supports Ruby, Python, Node.js
If your Ruby application won't start because of a missing gem, then you must install it locally using Bundler. For more information about using Bundler, please visit the following page: Using Bundler to install Ruby gems Passenger is an open source web and application server that greatly simplifies the deployment of Ruby applications, Python, and Node.js. Passenger is the preferred way to deploy a
Sub URIで動かすとは? ドメイン単位ではなく、ドメイン配下のディレクトリをルートとして環境を構築する場合の話です。 例えば、 http://example.com/ をアプリケーションのルートとする場合ではなく、 http://example.com/hogehoge/ の hogehoge/ をアプリケーションのルートとして扱う場合です。 何がいいたい? ぶっちゃけ、ドメインを取るまでもない sinatra アプリを、既存のドメイン内で動かしたいんだよってこと。 ディレクトリ構成 設定前に、事前にディレクトリ構成を書いておくと Sinatra アプリ /path/to/cgi-bin/sinatra_app/public /path/to/cgi-bin/sinatra_app/tmp /path/to/cgi-bin/sinatra_app/config.ru /path/to/
http://github.com/shokai/sensor-storage を http://shokai.mag.keio.ac.jp/sensor-storage/ で実行した。 以前passengerのインストールそのものはしたが、サブドメインでの実行方法しかわからなかったので使ってなかった。thinでpreforkさせてmod_proxy_balancerでアクセス振り分けてサブドメインに見えるように動かしてた。 passenger、mod_railsインストール - 橋本詳解 今やりなおしたらpassenger-2.2.11になってた。それ以外のセットアップは同じ。 ディレクトリ構成はこうなってる。設定ファイルconfig.ruとpublicディレクトリが重要。 server |-- config.ru |-- db |-- log |-- main.rb |-- publi
さくらVPS設定まとめ の子エントリになります。 目次 Git Ruby Gem Rails - RubyやRailsをバリバリ動かしたいので、それ関係のものを入れていきますよ。 Git バージョン管理には基本的にGitを使っています。バージョン管理に使わない場合でも、ライブラリ等がGitで公開されていることは多いので入れておくに越したことはありません。yum標準のレポジトリにgitが含まれていないようなので、仕方無くレポジトリを追加します。私自身yumを使い始めてまだ間もないので、デフォルトの状態での理解が深まる前に追加でレポジトリを入れてしまうのはあまり好ましくないのですが、ソースから入れるのも同じくらい怖いのでレポジトリを追加します。 # `uname -i`でx86_64が出力されます $ rpm -ivh http://repo.webtatic.com/yum/centos/5
わたし的棚ぼた一万円選書 急に千葉さんに手渡された封筒、開けてみたら1万円札が1枚。何ごとかと思えば、同期の出張を代わったお礼をもらったらしい。 「葵はワンオペで育児してくれたから」と半分わけてくれました。 泡銭の1万円 これはもう、わたし的1万円選書をしろという思し召しなのでは……
今までは自宅サーバにRedmineを入れていたのですが、省エネのためサーバを止めてMacにRedmineを入れて使うことにしました。その設定記録です。 Railsの実行環境にはpassengerスタンドアローン版を使います。passengerのデーモン化にはlaunchdを使います。Apache版passengerならlaunchdの設定は要りませんが、MacOSX付属のApacheに触りたくないので避けました。 rvmでRubyのインストール 自分はRubyをよく使うので、OS付属のRubyを使わずrvmを使っています。普段Rubyを使わない人はプリインストールのRubyで十分でしょう。 $ rvm install 1.8.7 gemライブラリのインストール rvmでRedmine専用のgemsetを作成します。 $ rvm use 1.8.7 $ rvm gemset create r
わたし的棚ぼた一万円選書 急に千葉さんに手渡された封筒、開けてみたら1万円札が1枚。何ごとかと思えば、同期の出張を代わったお礼をもらったらしい。 「葵はワンオペで育児してくれたから」と半分わけてくれました。 泡銭の1万円 これはもう、わたし的1万円選書をしろという思し召しなのでは……
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く