Install Docker
Install the commonly required packages:
sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
Add the key:
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
Add the repo of the docker:
echo \n"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \n$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
Install Docker Compose
sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-pluginndocker compose version
Install Keycloak
Requirements
-
- A host with at least 2 CPU cores and 2 GB of RAM
- Docker
- Docker Compose
Install Certbot on Ubuntu
sudo snap install core; sudo snap refresh corensudo apt-get remove certbotnsudo snap install --classic certbotnsudo ln -s /snap/bin/certbot /usr/bin/certbotnsudo certbot --nginx
Install NodeJS 16.x
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - && sudo apt-get install -y nodejs