perpetuum mobile
22. 11. 2014. deployment * ruby

rails deployment

Setting up Debian 7 server on VPS

nginx and php-fpm

How To Create an SSL Certificate on Nginx for Ubuntu 14.04

( –> see nginx notes )


sudo apt-get install curl
curl -sSL | bash -s stable --rails

unicorn vs phusion passenger


sudo apt-key adv --keyserver --recv-keys 561F9B9CAC40B2F7
sudo apt-get install apt-transport-https ca-certificates
# deb wheezy main
sudo nano /etc/apt/sources.list.d/passenger.list

sudo chown root: /etc/apt/sources.list.d/passenger.list
sudo chmod 600 /etc/apt/sources.list.d/passenger.list
sudo apt-get update

sudo apt-get install nginx-extras passenger

# uncomment passenger_root and passenger_ruby
sudo nano /etc/nginx/nginx.conf


sudo apt-get install imagemagick
sudo apt-get install monit

ssh key for the git repo

( –> see the git notes )


capistrano notes:

  • not all shell variables are automatically available via ssh