Adapted from this YouTube playlist
- Raspberry Pi OS Lite (arm64)
- OpenMediaVault - port 90
- OpenVPN - WIP
- Portainer - port 9000
- Cloudflare DDNS
- Nginx Proxy Manager - port 91
- Pi-Hole DNS AdBlocker - WIP
- Duplicati - port 8200
- Nextcloud - WIP
- RPi Monitor - port 8888
Set up the Raspberry Pi following the guide here. Stop before Configuration
.
sudo apt update && sudo apt upgrade -y
wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash
Visit http://[raspberrypiipaddress]
and follow instructions here
Settings for Mac/Linux/Windows cross-compatibility:
- System
- General Settings
- Enable SSL (after creating a cert)
- Change Web Administrator Password
- Date & Time - update
- Network
- Hostname
- Certificates > SSL - create a cert
- Plugins
- fail2ban
- OMV-Extras > Docker
- Docker > Install
- Portainer > Install
- General Settings
- Storage
- Disks
- Wipe disks, if necessary
- File Systems
- Create/mount external drives
- Disks
- Access Rights Management
- User
- Add user and add to all groups
- Be sure to add an email and password in order to mount the shared folders on client machines
- Privileges: add new user to Read/Write for all shared folders
- Shared Folders
- Add desired folders to share
- Give all users to access shared folders Read/Write privileges
- ACL - give all users to access shared folders Read/Write privileges
- Owner: root - Read/Write/Execute
- Group: users - Read/Write/Execute
- Others: Read/Write/Execute
- User
- Services
- Fail2ban - enable and add shares
- NFS - enable (for Linux)
- Rsync - add
- 0 7 * * * = every day backup
- SMB/CIFS - enable and add shares
- Public: No
- Read only: No
- Browseable: Yes
- SSH - enable
If your server is behind a LAN, you'll most likely need a dynamic DNS service and port forwarding at your router.
Options:
- On your router
- Google/DuckDNS/No-IP
- DuckDNS/Cloudflare (provided) DDNS on the server
Options:
- On your router
- OMV OpenVPN plugin
- OpenVPN Raspberry Pi server
- Duplicati backups
- RPi Monitor:
docker run --device=/dev/vchiq \ --device=/dev/vcsm-cma \ --volume=/opt/vc:/opt/vc \ --volume=/boot:/boot \ --volume=/sys:/dockerhost/sys:ro \ --volume=/etc:/dockerhost/etc:ro \ --volume=/proc:/dockerhost/proc:ro \ --volume=/usr/lib:/dockerhost/usr/lib:ro \ -p=8888:8888 \ --name="rpi-monitor" \ -d \ michaelmiklis/rpi-monitor:latest