Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Chapter 1 Nine Analysis takes you to play with rancher-installation

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

This series of articles:

Chapter 1: Nine Analysis takes you to play with rancher-installation

Chapter 2: Nine Analysis takes you to play rancher-Import Cluster

Catalogue

1 rancher introduction

2 rancher image download

3 rancher start

4 rancher Settin

4.1 rancher administrator password settin

4.2 rancher server URL settings

4.3 rancher internationalization Settings

1 rancher introduction

The official website of rancher is available.

Now that you have the official website, why read my tutorial? Because access to rancher's official website is extremely slow; endless, unexplained 404; and insult my experience from time to time.

I do not know whether the reasons given above are sufficient. If the viewer doesn't believe it, you can challenge and practice your courage if you have nothing to do.

Rancher is a web console for managing K8s, which allows non-operators to operate K8s without typing commands, just by clicking on the page.

2 rancher image download

Before downloading the rancher image, you must ensure that docker is installed correctly. For the installation and setup of Docker, please refer to my other article, "Docker explodes easily in one minute". The image download statement is as follows. Select the v2.3.3 version of rancher here.

Docker pull rancher/rancher:v2.3.3

3 rancher start

Start rancher and bind local ports 80 and 443. Please make sure that these two ports are not occupied.

Docker run-d-- restart=unless-stopped\-- name=rancher\-p 80:80-p 443 purl 443-v / usr/local/rancher:/usr/local/rancher\ rancher/rancher:v2.3.3

Open the browser, enter the IP (personal IP:10.110.101.103) of the server where rancher resides, and press enter:

If you come out of this interface, the rancher starts successfully.

4 rancher Settin

4.1 rancher administrator password settin

Set the password for the administrator "admin" in the browser page shown above.

4.2 rancher server URL settings

After setting the administrator password, the next step is to go to the page where the rancher server URL is set. It's fine by default.

4.3 rancher internationalization Settings

Rancher default display is English, if you want to set Chinese students can choose "simplified Chinese".

Since then, the installation and setup of rancher has been completed.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report