Install Nextcloud on DietPi: RAID 1 with LUKS and LVM2

Recently I’ve been tinkering with RockPro64 and decided to install NextCloud on it as a medium to sync data between my computers and phones, as well as using it as a backup storage. The setup is as follows: RockPro 64, 4GB RAM, with 32GB Micro-SD card, PCI-E to SATA-2 adapter Operating System: Dietpi based on Debian “buster” Two 1TB Hard drives that will be used for RAID 1 Array Encrypted Storage with LUKS and LVM2 Nextcloud installation Self signed HTTPS Dynamic DNS and port forwarding port 443(HTTPS) to the NextCloud using a Mikrotik router In the following series of post, I will walk through the above setup one by one, provide the necessary configuration and information to complete the above setup....

June 5, 2020 · 4 min · Lawrence Chan