Skip to content

Instantly share code, notes, and snippets.

@jonasrosland
Last active December 6, 2016 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonasrosland/119477845b684d68e2139a488def6dda to your computer and use it in GitHub Desktop.
Save jonasrosland/119477845b684d68e2139a488def6dda to your computer and use it in GitHub Desktop.
REX-Ray installation on AWS
curl -sSL https://get.docker.com/ | sh
curl -sSL https://dl.bintray.com/emccode/rexray/install | sh -s -- stable
sudo tee -a /etc/rexray/config.yml << EOF
rexray:
storageDrivers:
- ec2
aws:
accessKey: $AWS_ACCESS_KEY
secretKey: $AWS_SECRET_KEY
EOF
sudo rexray start
sed -i 's|[#]*PasswordAuthentication no|PasswordAuthentication yes|g' /etc/ssh/sshd_config
service ssh restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment