Note: Basic networking is done via a Fritzbox, which provides IP-Address assignment and routing.
Run Debian setup with following choices:
- Graphical Install
- Language Settings
- User with sudo to root
- Guided crypted partioning with separated /home , /var & /tmp
- Software selection: Basic system tools & SSH server
After the first reboot adapt sources.lst
to include contrib and non-free repositories and install firmware for the usually built-in Realtek network chip:
sudo aptitude install firmware-realtek
Dynamic DNS is required to make the server available to the outside under a memorable name:
@hourly wget -O - http://freedns.afraid.org/dynamic/update.php?<id> >/dev/null 2>&1
Setup services:
- OpenSSH
- Remotely unlocking LUKS encrypted headless system
- Backup
- Let’s Encrypt SSL Certificates
- Dovecot & getmail
- OpenSMTPD
- Lighttpd
- Roundcube
- VDR
- Brother ADS-1100W FTP-Scanning setup
- Samba
- Smartmontools + hdparm
- Surveillance Cameras
- CUPS
Additional things to do
Prevent console clearing after boot up
Add/edit /etc/systemd/system/getty@.service.d/noclear.conf
[Service] TTYVTDisallocate=no
Run systemctl daemon-reload to let the changes becoming active.