Skip to content

Instantly share code, notes, and snippets.

@luqmansen
Last active April 5, 2020 04:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luqmansen/8e2e8a400a1615196403c91993777114 to your computer and use it in GitHub Desktop.
Save luqmansen/8e2e8a400a1615196403c91993777114 to your computer and use it in GitHub Desktop.
Basic configuration for my private ubuntu server
#!/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