LoginSignup
2
2

More than 5 years have passed since last update.

(6)EC2にunicorn準備|EC2でgit+RonR+unicorn+nginx+capistrano+Jenkins

Last updated at Posted at 2013-03-02

これまでの目次

  1. EC2+gitリモートサーバ構築#1
  2. (2)EC2+gitリモートサーバ構築#2
  3. (3)EC2にrvm+rubyインストール
  4. (4)EC2にrailsインストール
  5. (5)EC2にrails起動テスト

その6|unicorn準備

1.インストール

gem install unicorn

2.設定ファイル

動作確認程度なので、railsRoot/config/にunicorn.rbとして、

unicorn.rb
listen '/tmp/unicorn.sock'
pid '/tmp/unicorn.pid'

3.動作確認

unicorn -c config/unicorn.rb -p 80
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2