123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Running Rancher Kubernetes Cluster Management on Ubuntu Server</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="Browser Based,Docker Made Easy,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,Cluster,Command Line,Containerization,Docker,Install Kubernetes On Ubuntu,Kubernetes,Kubernetes Installation,Kubernetes Tutorial,Orchestration,SSH,Ubuntu,Ubuntu Server,CLI,Rancher,Rancher Kubernetes Management,Rancher Installation,How To,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Running Rancher Kubernetes Cluster Management on Ubuntu Server">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="05/31/2023 08:52:35 AM" />
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Running Rancher Kubernetes Cluster Management on Ubuntu Server</h1>
- </div>
- <div></div>
- <div id="content">
- <h2>Installing Docker and Running Rancher</h2>
- <ol>
- <li>Log into the Ubuntu server</li>
- <li>Run the following commands
- <div class="codeBlock"># install docker<br />
- curl https://releases.rancher.com/install-docker/19.03.sh | sh<br />
- # add the current user to the docker group<br />
- sudo usermod -aG docker $USER<br />
- # reauthenticate for the new group membership to take effect<br />
- su - $USER<br />
- # verify docker is installed and working<br />
- docker version<br />
- # run rancher container<br />
- docker run -d --restart=unless-stopped -p 80:80 -p 443:443 -v /opt/rancher:/var/lib/rancher --privileged rancher/rancher:latest</div>
- </li>
- <li>Open a web browser and navigate to the https://DNSorIP</li>
- <li>Accept the certificate warning</li>
- <li>When Rancher loads, enter an admin password and re-type to confirm</li>
- <li>Select the I'm only going to use the cluster Rancher was installed on option</li>
- <li>Click Continue</li>
- <li>Welcome to Rancher</li>
- <li>Congratulations, you now have a web based UI to deploy and manage docker containers</li>
- </ol>
- <p>https://rancher.com/docs/rancher/v2.x/en/best-practices/v2.5/rancher-server/deployment-types/</p> </div>
- </div>
- </body>
- </html>
-
|