Auxiliary Memory
  • Auxiliary Memory
  • Recent Changes
  • Disclaimer
  • general
    • Homelab
      • Planning
      • Configuring RPi
      • Dockerize Unifi Controller
      • Moving Unifi Controller to Bare Metal RPi
    • Lifehack
      • Coding on iPad
      • Faster internet with Cloudflare WARP
  • lifelog
    • Links
    • Movies
    • Books
      • Reading Queue
    • Public Memos
      • 2020 Memo
    • Yearly Records
      • Records of 2020
      • Records of 2019
  • books
    • The Rust Programming Language
    • Lambda Calculus
    • SICP
    • Introduction To Algorithms
      • 1.1. 알고리즘의 역할
      • 1.2. 시작하기
    • Linux System Programming 2/E
      • 1. 핵심 개념 소개
  • Programming
    • Git
    • When to refactoring?
    • Microservices
    • Functional Programming
      • ADT
      • Functor and Monads
    • OS
      • CPU Modes
    • Debugging
      • objdump
    • DevOps
      • How our infrastructure organized
      • Optimize Dockerfile
    • Spring Framework
    • Web
      • OAuth
        • Sign in with Apple
    • SQL
      • Prepared Statement
    • Programming Languages
      • TypeScript
      • Python
        • GIL
      • Rust
      • F#
        • Dos & Don'ts
      • Go
      • JVM
        • JVM memory structure
        • JVM GC
        • Kotilin
        • Java
          • Why main method should be static
  • My Environment
    • My Macbook
    • My Keyboards
    • My PyCharm
    • My CLI
      • iTerm2
      • Dotfiles
        • Refactoring .zshrc
      • Useful Commands
Powered by GitBook
On this page
  • OS
  • Headless SSH & WiFi setup
  • Copy ssh key
  • sudo raspi-config
  • k3sup

Was this helpful?

  1. general
  2. Homelab

Configuring RPi

OS

Raspbian Lite

Headless SSH & WiFi setup

sudo touch /Volumes/boot/ssh
sudo echo "\ncgroup_memory=1 cgroup_enable=memory" >> /Volumes/boot/cmdline.txt
sudo vim /Volumes/boot/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant
country=US
update_config=1
network={
    ssid="your_ssid"
    psk="your_pw"
    key_mgmt=WPA-PSK
}

Copy ssh key

ssh-copy-id pi@k3s-master.local

sudo raspi-config

  • Network Options - hostname

    • k3s-master, k3s-slave-01, k3s-slave-02, k3s-slave-03

  • Localisation Options - TimeZone

    • Asia, Seoul

  • Advanced Options - GPU Memory split

    • 16mb

k3sup

PreviousPlanningNextDockerize Unifi Controller

Last updated 5 years ago

Was this helpful?

https://github.com/alexellis/k3sup