Last active
December 6, 2016 20:54
-
-
Save jonasrosland/119477845b684d68e2139a488def6dda to your computer and use it in GitHub Desktop.
REX-Ray installation on AWS
This file contains 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
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