A spare-machine Gitea forge, hardened, backed up and with CI, as a template. Personal values are placeholders listed in the README.
1.8 KiB
1.8 KiB
type
| type |
|---|
| Index |
Guides
Every guide ends with a checklist; tick it before moving on. Router port-forwards are created only after 09's checklist — until then the server stays LAN-only.
Setup order — follow top to bottom
- 01-arch-install.md — base OS from a live USB: partitions, packages, bootloader, user
- 02-server-first-boot.md — lid never suspends, first boot, network, IP pinned at the router
- 03-ssh-hardening.md — key-only admin SSH on 2234, LAN-only, WireGuard for remote admin
- 04-dns-records.md — CGNAT check, Cloudflare A records, API token
- 05-ddns.md — ddclient keeps the records on the home IP
- 06-docker-deploy.md —
compose.yml,Caddyfile, TLS (staging, then production) - 07-gitea-setup.md — install wizard, 2FA, SSH keys, tokens
- 08-firewall.md — nftables host firewall, survives reboot
- 09-fail2ban.md — bans for admin SSH and Gitea logins, Gitea hardening; then port-forwards
- 10-backup-manual.md — tar archive to the backup drive plus restore test (
scripts/backup.sh) - 11-backup-automated.md — nightly restic to the backup drive, failure mail, weekly report
- 12-gitea-actions.md — Actions runner on the server, profile snake
Operations — when needed
- maintenance.md — updates, reboots and post-reboot checks, server quirks
- backup-operations.md — remote operation, real restore, troubleshooting
- ntfs-repair.md — NTFS triage, chkdsk via a Windows Setup VM