This repository contains scripts and documentation to set up a local Nextcloud server on Raspberry Pi with auto-mounting exFAT USB drives and hot-swap support.
README.mdβ Main documentationscripts/usb-mount.shβ Auto-mount scriptconfig/99-usb-mount.rulesβ Udev rules for hot-swapdocs/setup_guide.mdβ Detailed setup instructionsLICENSEβ Open-source license (MIT).gitignoreβ Ignore unnecessary files
- Flash Raspberry Pi OS (Full).
- Enable SSH & Wi-Fi, connect via:
ssh pi@raspberrypi.local
- Update & reboot:
sudo apt update && sudo apt upgrade -y sudo reboot - Set up USB auto-mount using provided
usb-mount.sh& udev rules. - Install Nextcloud + Apache + PHP + MariaDB.
- Configure Nextcloud via browser:
http://<your-pi-ip>/nextcloud- or
http://raspberrypi.local/nextcloud
For full instructions, see docs/setup_guide.md.
This setup is for local/private use. For production:
- Remove
*wildcard from trusted domains. - Secure Apache with SSL (Let's Encrypt).
This project is licensed under the MIT License.