Last active
April 5, 2020 04:49
-
-
Save luqmansen/8e2e8a400a1615196403c91993777114 to your computer and use it in GitHub Desktop.
Basic configuration for my private ubuntu server
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/bash | |
apt update | |
apt upgrade -yyyy | |
apt install nginx screen aria2 htop | |
# install docker | |
apt-get remove docker docker-engine docker.io containerd runc | |
apt install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" -y | |
apt update | |
apt-get install docker-ce docker-ce-cli containerd.io | |
service docker start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment