Here all about how to setup server on ubuntu
sudo apt update && sudo apt upgrade -y && sudo apt install net-tools
adduser ubuntu - and type password
adduser ubuntu
usermod -aG sudo ubuntu - granting the user permission
usermod -aG sudo ubuntu
sudo apt install zsh -y - install ohmyzsharrow-up-right
sudo apt install zsh -y
ssh-keygen -f ~/.ssh/id_rsa -t rsa -P "" - generate ssh key
ssh-keygen -f ~/.ssh/id_rsa -t rsa -P ""
cat ~/.ssh/id_rsa.pub - copy ssh key
cat ~/.ssh/id_rsa.pub
Install dockerarrow-up-right
sudo usermod -aG docker $USER - add current user to docker group
sudo usermod -aG docker $USER
newgrp docker
docker run hello-world - check docker run
docker run hello-world
Last updated 2 years ago