Skip to content

Instantly share code, notes, and snippets.

View Golfer's full-sized avatar
:octocat:
Working from home

Serhii.Doryba Golfer

:octocat:
Working from home
  • Ukraine
View GitHub Profile
@Golfer
Golfer / 0-readme.md
Created September 29, 2016 08:25 — forked from crmaxx/0-readme.md
Amazon AWS EC2 production for Ruby on Rails

Amazon AWS EC2 production for Ruby on Rails

Prepare cloud

Speed up ssh login

echo 'UseDNS no # if slow connection' >> /etc/ssh/sshd_config
echo 'PrintMotd yes # if you need motd messages' >> /etc/ssh/sshd_config

From /etc/pam.d/login && /etc/pam.d/sshd delete all strings included

session optional pam_motd.so
@Golfer
Golfer / digital_ocean_setup.md
Created May 20, 2016 13:30 — forked from ChuckJHardy/digital_ocean_setup.md
DigitalOcean Ubuntu 14.04 x64 + Rails 4 + Nginx + Unicorn + PostgreSQL + Capistrano 3 Setup Instructions

DigitalOcean Ubuntu 14.04 x64 + Rails 4 + Nginx + Unicorn + PostgreSQL + Capistrano 3

SSH into Root

$ ssh root@123.123.123.123

Change Root Password

@Golfer
Golfer / Gemfile
Last active August 29, 2015 14:13 — forked from ctalkington/Gemfile
source :rubygems
gem "puma"
gem "sinatra"