Skip to content

sam-ueckert/raspi_server

 
 

Repository files navigation

** Setup notes for full raspi server This build installs k3s, then runs plex and transmission as images

k3s

These steps are now automated in the k3s task. Below are notes on previous manual process: To install k3s from script:

1. Open the cmdline.txt file

sudo nano /boot/cmdline.txt

2. Add below into THE END of the current line

cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory

  • added this to tasks already

3. Save the file and reboot

sudo reboot

install k3s via curl

curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server --disable=traefik --flannel-backend=host-gw --tls-san=192.168.1.85 --bind-address=192.168.1.85 --advertise-address=192.168.1.85 --node-ip=192.168.1.85 --cluster-init" sh -s -

Vscode for tunnels

This process is manual, after code install ansible task. It requires a registration code: code tunnel service install

setup nord:

https://support.nordvpn.com/hc/en-us/articles/20164827795345-Connect-to-NordVPN-using-Linux-Terminal

Tailscale

Because tailscale requires registration code as well, this part is manual after the task runs: sudo tailscale login

Booting NVME

After settuing up the pi, move the sd installation to nvme

notes on process here:

https://www.jeffgeerling.com/blog/2023/nvme-ssd-boot-raspberry-pi-5
https://rpi-clone.jeffgeerling.com/

Add to bottom of /boot/firmware/config.txt

dtparam=pciex1

Edit the EEPROM on the Raspberry Pi 5.

sudo rpi-eeprom-config --edit

Change the BOOT_ORDER line to the following:

BOOT_ORDER=0xf416

Install rpi-clone:

curl https://raw.githubusercontent.com/geerlingguy/rpi-clone/master/install | sudo bash

Run rpi-clone:

sudo rpi-clone nvme0n1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published