Skip to content

Instantly share code, notes, and snippets.

@imWildCat
Last active March 28, 2017 13:42
Show Gist options
  • Save imWildCat/806264d3c0e930d8c7d7a842287fbc0c to your computer and use it in GitHub Desktop.
Save imWildCat/806264d3c0e930d8c7d7a842287fbc0c to your computer and use it in GitHub Desktop.
Set up new VPS
curl -sSL https://get.docker.com/ | sh
curl -L "https://github.com/docker/compose/releases/download/1.8.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
echo 'docker installed, cheers!'
# apt-get install -y zsh
# zsh
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# echo 'zsh and oh-my-zsh installed, cheers!'
echo 'Next step: scp your ssh key and turn off password login'
docker version
docker-compose --version
@imWildCat
Copy link
Author

imWildCat commented Nov 25, 2016

ssh-keygen
cat /root/.ssh/id_rsa.pub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment