This is an old revision of the document!
This howto describes how to install a Wireguard VPN server using minimal installation. Everything is done as the root user in this howto.
Download Raspberry OS Lite 64bit at: https://www.raspberrypi.com/software/operating-systems/ Use Etcher or whatever to install the downloaded zip on a SD card.
Use raspi-config to set network and change password of the pi user and change the hostname:
raspi-config
systemctl enable ssh.service systemctl start ssh.service
apt-get update apt-get -y upgrade apt-get -y remove --purge triggerhappy logrotate dphys-swapfile dc nano apt-get -y autoremove --purge
Edit the following file and add “fastboot noswap ro” to the end of the line so it looks something like this:
console=serial0,115200 console=tty1 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait fastboot noswap ro
apt-get -y install busybox-syslogd apt-get -y remove --purge rsyslog
Add the following at the end of the following file:
alias temp='/opt/vc/bin/vcgencmd measure_temp'