Server Setup
UEFI / Bios
- Secure boot can stay enabled
- Power-on after power failure
- Enable Bios password
- Password store:
hardware/server/HOSTNAME/uefi
- Beware: Don't generate a too long password, in case it needs to be entered manually !
- Password store:
- Disable USB/Network boot
Hardware
- Remove wifi card ?
Hardware testing with live CD
- Boot
Grml
from live cd
Disk
- See also disk testing procedure (Riseup disk test procedure)
- Sanitize NVME
- Run nvme/ssd self tests
CPU
- Use
stress-ng
, see ../hardware-testing.md
memtest
- Boot
memtest
from live cd
OS Installation
- Hostname: List of Don Quixote characters
Post installation steps
- Install
etckeeper
(apt install etckeeper
) as first task right after installation - Replace potential unsecure passwords from installation
- root (Password store:
hardware/server/HOSTNAME/root
) - unprivileged user (Password store:
hardware/server/HOSTNAME/varac
) - LUKS encryption passphrase (Password store:
hardware/server/HOSTNAME/luks
)cryptsetup luksChangeKey /dev/nvme0n1p3
- root (Password store:
- Configure sudo:
apt install sudo
usermod -a -G sudo varac
Dropbear for remote LUKS unlocking
See cryptsetup.md
Grub password
- See
../disks/grub.md
- Password store:
hardware/server/HOSTNAME/grub
- Beware: Don't generate a too long password, in case it needs to be entered manually !