Running Rancher - Kubernetes Cluster Management - on Ubuntu Server
#Rancher #Kubernetes #K3S
Full steps can be found at https://i12bretro.github.io/tutorials/0337.html
--------------------------------------------------------------------
Installing Docker and Running Rancher
--------------------------------------------------------------------
01. Log into the Ubuntu server
02. Run the following commands
# install docker
curl https://releases.rancher.com/install-docker/19.03.sh | sh
# add the current user to the docker group
sudo usermod -aG docker $USER
# reauthenticate for the new group membership to take effect
su - $USER
# verify docker is installed and working
docker version
# run rancher container
docker run -d --restart=unless-stopped -p 80:80 -p 443:443 -v /opt/rancher:/var/lib/rancher --privileged rancher/rancher:latest
03. Open a web browser and navigate to the https://DNSorIP
04. Accept the certificate warning
05. When Rancher loads, enter an admin password and re-type to confirm
06. Select the I'm only going to use the cluster Rancher was installed on option
07. Click Continue
08. Welcome to Rancher
09. Congratulations, you now have a web based UI to deploy and manage docker containers
https://rancher.com/docs/rancher/v2.x/en/best-practices/v2.5/rancher-server/deployment-types/
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro