Last active
April 4, 2018 00:30
-
-
Save cornernote/cecbca4e6719ee7078ccd29f5d947d07 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
# update and install core packages | |
sudo apt-get update && \ | |
sudo apt-get -y upgrade && \ | |
sudo apt-get -y install \ | |
ntp \ | |
gcc \ | |
libc6-dev \ | |
python-pip \ | |
etckeeper | |
# install lockrun | |
cd /tmp && \ | |
wget https://raw.githubusercontent.com/pushcx/lockrun/master/lockrun.c && \ | |
gcc lockrun.c -o lockrun && \ | |
sudo cp lockrun /usr/local/bin/ && \ | |
sudo ln -s /usr/local/bin/lockrun /usr/bin/lockrun | |
# install docker and docker-compose | |
sudo wget -qO- https://get.docker.com/ | sh && \ | |
sudo pip install --upgrade pip && \ | |
sudo pip install setuptools && \ | |
sudo pip install docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment