raspberry
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
raspberry [2022/10/05 07:11] – [Kubernetes (k8s) on RaspberryPi] skipidar | raspberry [2023/03/29 06:56] (current) – [Remote install of image per ssh] skipidar | ||
---|---|---|---|
Line 693: | Line 693: | ||
- | === Install OS === | + | === Install OS Raspberry === |
+ | https:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | === Install OS Ubuntu | ||
Use Ubuntu Server 22.04.1. The Current LTS version. | Use Ubuntu Server 22.04.1. The Current LTS version. | ||
Line 960: | Line 968: | ||
On a different node run the below command. | On a different node run the below command. | ||
< | < | ||
- | export | + | export |
+ | export K3S_URL=" | ||
+ | export K3S_TOKEN=" | ||
- | # NODE_TOKEN comes from / | + | curl -sfL https://get.k3s.io | sh - |
- | sudo k3s agent --server | + | |
</ | </ | ||
+ | |||
+ | |||
+ | ==== Remote install of image per ssh ==== | ||
+ | see | ||
+ | https:// | ||
+ | |||
+ | * Login via SSH to the system on which the image is located and read it via dd. The stdout is tunneled through SSH to the local system. | ||
+ | * Using pv you can see how much data is transferred. (You may need to install it with apt-get, but you can also omit this.) | ||
+ | * funzip extracts the first file and sends it to stdout. | ||
+ | * dd writes it to the SD-card. | ||
+ | |||
+ | < | ||
+ | |||
+ | #This will enable the reset of the Raspberry without regular commands. | ||
+ | echo 1 > / | ||
+ | |||
+ | #download image | ||
+ | curl -L http:// | ||
+ | |||
+ | # restart the pi (Sofortiger Neustart des Systems (ohne Synchronisation der Speichermedien!)) | ||
+ | echo b > / | ||
+ | </ |
raspberry.1664953919.txt.gz · Last modified: by skipidar