Skip to content

Instantly share code, notes, and snippets.

@dangerousbeans
Created March 13, 2012 14:46
Show Gist options
  • Select an option

  • Save dangerousbeans/2029210 to your computer and use it in GitHub Desktop.

Select an option

Save dangerousbeans/2029210 to your computer and use it in GitHub Desktop.
Ubuntu rails server setup steps
Environment
1. Create user for app
useradd -m -s /bin/bash user_name
passwd user_name
2. Add to sudo group
usermod -a -G sudo user_name
Security
1. Setup ssh keys
sudo su user_name
mkdir .ssh
vim .ssh/authorized_keys
2. Disable remote root login
1. Install RVM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment