Self-Hosted Infrastructure
Crypto farming. WIP.
These instructions assume you're on a POSIX-compliant operating system. See Installation.
You'll need the following:
- USB Thumb Drive - 8 GB minimum
- A machine to download the
.iso
image. and burn it to the USB thumb drive. - Target machine with CPU, RAM, and a Network Interface Card
- Could even be a Raspberry Pi
Choose Operating System Kernel & User Space
Download the corresponding .iso
file.
Burn ISO Image to USB
Your output will look something like this.
The sda
storage block is the USB and is highlighted in green above. Modern Linux systems use the sd
prefix to indicate 'Storage Device'. a
refers to the first detected device.
If you had other external storage devices connected, the letter for your newly connected USB will be different because it was discovered later (sdb
, sdc
, etc.).
The entries in the tree following sda
such as sda1
, sda2
etc. indicate disk storage partitions.
Unmount all partitions.
After completion:
Set up server
Flash OS from USB to Server Hardware
Boot into USB from BIOS.
After installation completes, log in to your machine.
Configure SSH for External Access (WIP)
Same Network
Different Networks
Set up port forwarding from router.
Find public IP address
Harden SSH Security:
Disable root login in /etc/ssh/sshd_config
.
Install Nix
Log in again.
Optional
Install Oh My Zsh, a framework to easily customize the look and feel of zsh.
Install PowerLevel10K, a theming system for the Oh My Zsh framework.
Change value of ZSH_THEME
in ~/.zshrc
:
If the Powerlevel10k configuration menu doesn't start, do:
Install and configure useful zsh plugins.
Install Pnpm
Install Playwright
Set up GitHub Actions Runner
Visit github.com/organizations/cuhacking/settings/actions/runners/new
for steps.
Optional
Open ~/.zshrc and change the the value of ZSH_THEME: