What is Rancher?Rancher is an open-source platform that enables you to run containers in production environments. As you probably may know already Rancher makes it simple to deploy and run Kubernetes everywhere.
To be able to start this installation you will need an Ubuntu System, access to a CLI for example with Putty. Also, you must be able to access an account with sudo or root privileges, and then finally but not less important you will need multiple nodes that you can use for your cluster.
I imagine that your system is already updated, if it is not like that, please proceed to update your system first.
- Install Docker
(If you have any older version of Docker uninstall that version with the command sudo apt-get remove docker docker-engine docker.io)
sudo apt install docker.io
Now we verify that the installation was successful:
Start the Docker service:
sudo systemctl start docker
sudo systemctl enable docker
sudo systemctl status docker
- Install Rancher
sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server:stable
Now to access Rancher user interface/web interface, open a web browser and type this:
For example our address is: https://10.1.xx.24:8080/env/1a5/apps/stacks