Skip to content

ruthviksimha/raspberrypi-local-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

License Repo Size

Raspberry Pi Local Nextcloud Server Setup

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.

πŸ“‚ Repository Structure

  • README.md β†’ Main documentation
  • scripts/usb-mount.sh β†’ Auto-mount script
  • config/99-usb-mount.rules β†’ Udev rules for hot-swap
  • docs/setup_guide.md β†’ Detailed setup instructions
  • LICENSE β†’ Open-source license (MIT)
  • .gitignore β†’ Ignore unnecessary files

πŸš€ Quick Start

  1. Flash Raspberry Pi OS (Full).
  2. Enable SSH & Wi-Fi, connect via:
    ssh pi@raspberrypi.local
  3. Update & reboot:
    sudo apt update && sudo apt upgrade -y
    sudo reboot
  4. Set up USB auto-mount using provided usb-mount.sh & udev rules.
  5. Install Nextcloud + Apache + PHP + MariaDB.
  6. Configure Nextcloud via browser:
    • http://<your-pi-ip>/nextcloud
    • or http://raspberrypi.local/nextcloud

For full instructions, see docs/setup_guide.md.


πŸ”’ Security Note

This setup is for local/private use. For production:

  • Remove * wildcard from trusted domains.
  • Secure Apache with SSL (Let's Encrypt).

πŸ“œ License

This project is licensed under the MIT License.

About

Local Nextcloud server on Raspberry Pi with hot-swappable USB auto-mount

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages