Created
March 13, 2012 14:46
-
-
Save dangerousbeans/2029210 to your computer and use it in GitHub Desktop.
Ubuntu rails server setup steps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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