Last active
July 13, 2016 19:13
-
-
Save marcusshepp/0b5f07d870eb32fd018c41f03284ff0a to your computer and use it in GitHub Desktop.
new amazon ec2 instance
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
# create instance | |
# download keypair | |
chmod 400 path/to/key | |
ssh -i path/to/key.pem [email protected] | |
sudo apt-get update && sudo apt-get upgrade | |
sudo apt-get install git | |
# python | |
sudo apt-get install python-virtualenv | |
sudo mkdir /opt/envs | |
sudo virtualenv /opt/envs/<project> | |
sudo chown -R ubuntu /opt/envs/ # make this user the owner of the virtualenvs dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment