Skip to content

M1cha/homeserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homeserver

This is my full homeserver setup.

Hardware

Smart Home

  • CC2652P USB dongle

Installation

Disable PCI IC

This IC prevents the CPU from entering lower power states. Here's the info you need to change the hidden BIOS setting to disable The root port it's connected to. IT was extracted from BIOS version Pro-H610M-C-D4-SI-3401.

VarStore Guid: 4570B7F1-ADE8-4943-8DC3-406472842384, VarStoreId: 0x6, Size: 0x811, Name: "PchSetup"

OneOf Prompt: "PCI Express Root Port 3", Help: "Control the PCI Express Root Port.", QuestionFlags: 0x10, QuestionId: 0xB25, VarStoreId: 0x6, VarOffset: 0x102, Flags: 0x10, Size: 8, Min: 0x0, Max: 0x1, Step: 0x0
    OneOfOption Option: "Disabled" Value: 0
    OneOfOption Option: "Enabled" Value: 1, Default, MfgDefault
End

CoreOS

Convert ignition config

podman run --interactive --rm quay.io/coreos/butane:release --pretty --strict < coreos/homeserver.bu > coreos/homeserver.ign

Download current OS image:

podman run --privileged --rm -v .:/data -w /data quay.io/coreos/coreos-installer:release download --architecture aarch64

Write to micro SD:

sudo podman run --privileged --rm -v /dev:/dev -v /run/udev:/run/udev -v .:/data -w /data quay.io/coreos/coreos-installer:release install --offline --image-file fedora-coreos-37.20221106.3.0-metal.x86_64.raw.xz --ignition-file coreos/homeserver.ign /dev/mmcblk0

Install additional packages

rpm-ostree override remove nfs-utils-coreos
rpm-ostree install dmidecode efivar hdparm htop inotify-tools libvirt lm_sensors nfs-utils pciutils powertop qemu s-tui stress tcpdump usbutils
  • dmidecode, efivar, lm_sensors, powertop, s-tui, stress: Useful on x86
  • hdparm: For putting the backup HDD to sleep
  • htop: it's just very useful
  • inotify-tools: required for my syncthing rsyncd setup
  • pciutils, tcpdump, usbutils: useful for debugging
  • libvirt, nfs-utils, qemu: virtual machines

Trust my own CA

The gotify client needs this.

update-ca-trust

Update

./update

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages