CentOS6.5でSails(node.js)をPassengerで動かす時のメモ 1. #EPELにあるようなので、以下を有効にしておく vi /etc/yum.repos.d/epel.repo -- enabled=1 -- #yumでnodeをインストール yum install nodejs nodejs-mongodb npm mongodb mongodb-server 2. デプロイの方法としては、今回はPhusion Passengerを使う。 理由は、Ruby on Railsで散々使ってきたので使い慣れているという理由から。 というわけで、passengerのインストールを行う。 その流れで、Rubyをrbenvを使ってインストールするが、この辺は個人の環境に合わせて好きに読み替えてください。 環境 さくらVPS(CentOS6.5) ホスト名:test-meteo