Raspberry Pi Complete Reinstall
From WickyWiki
Below guides where used and updated for a complete reinstall, based on the latest RPi server/headless image (bookworm).
What is on it?
- MariaDb (SOGo, WickyWiki) Raspberry Pi SOGo Groupware, older guide: MySQL
- Nginx
- PHP
- WickyWiki: Mediawiki upgrade to 1.37.1, older guide: MediaWiki
- RPi Monitor: Raspberry Pi monitor
- SOGo, compiled for ARM: Raspberry Pi SOGo Groupware, older guide: SOGo
- Rclone backup to gdrive Clone Files to Cloud Storage
- Pi-Hole Raspberry Pi - Pi-Hole Network-wide ad blocking
- I2P Install I2P on Raspberry Pi, older guide: I2P Anonymous Network
Scripts:
- Backup database, files, diskimage
- Dyndns update Dynamic DNS service
- ACME Get HTTPS for free
- TP-Link monitor TP-Link Tapo Plug P115
- PHP calendar's
Other:
Notes
- sudo rpi-update - A FAT boot partition of 512M is recommended.
- I2P: write permissions for data directory /media/data/i2psnark. Permissions can only be set for the whole drive ss this an exFAT drive.
- After installation Wifi & Bluetooth where turned of permanently in the boot file Raspberry Pi#Disable Wifi and Bluetooth
- Previously switched to Dropbear SSh, now we will stick with OpenSSH. It is a bit different.
- Mediawiki Installation note: Requests for images in your uploads directory should answer with the HTTP header X-Content-Type-Options: nosniff to protect browsers from potentially unsafe files