# install docker
wget -nv -O - https://get.docker.com/ | sh
# setup dokku apt repository
-wget -nv -O - https://packagecloud.io/dokku/dokku/gpgkey | apt-key add -
+wget -nv -O - https://packagecloud.io/dokku/dokku/gpgkey | sudo apt-key add -
export SOURCE="https://packagecloud.io/dokku/dokku/ubuntu/"
export OS_ID="$(lsb_release -cs 2>/dev/null || echo "trusty")"
echo "utopicvividwilyxenialyakketyzestyartfulbionic" | grep -q "$OS_ID" || OS_ID="trusty"
-echo "deb $SOURCE $OS_ID main" | tee /etc/apt/sources.list.d/dokku.list
+echo "deb $SOURCE $OS_ID main" | sudo tee /etc/apt/sources.list.d/dokku.list
-apt-get update
+sudo apt-get update
# install dokku
-sudo apt-get install dokku
+sudo apt-get install dokku
-sudo dokku plugin:install-dependencies --core # run with root!
+sudo dokku plugin:install-dependencies --core # run with root!
# go to your server's IP and follow the web installer
Last active
September 28, 2019 19:47
-
-
Save dance2die/949189aeda689828203ab9b256d3c829 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
# install docker | |
wget -nv -O - https://get.docker.com/ | sh | |
# setup dokku apt repository | |
wget -nv -O - https://packagecloud.io/dokku/dokku/gpgkey | sudo apt-key add - | |
export SOURCE="https://packagecloud.io/dokku/dokku/ubuntu/" | |
export OS_ID="$(lsb_release -cs 2>/dev/null || echo "trusty")" | |
echo "utopicvividwilyxenialyakketyzestyartfulbionic" | grep -q "$OS_ID" || OS_ID="trusty" | |
echo "deb $SOURCE $OS_ID main" | sudo tee /etc/apt/sources.list.d/dokku.list | |
sudo apt-get update | |
# install dokku | |
sudo apt-get install dokku | |
sudo dokku plugin:install-dependencies --core # run with root! | |
# go to your server's IP and follow the web installer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment