Nextcloud in less than 20 minutes

RaspberryPi/oDroidC2, Ubuntu 16.04.03 LTS 64 Bit, NGINX 1.13.6, PHP 7.1, MariaDB, Redis, Nextcloud 12.03, additionally hardened with fail2ban.
(Just adjust or substitute the red marked values: (YOUR.DEDYN.IO and 192.168.2.x))


  1. NGINX
  2. PHP
  3. MariaDB
  4. Redis
  5. Nextcloud (SSL enabled, A+)
  6. fail2ban

Continue reading “Nextcloud in less than 20 minutes”

Nextcloud installation guide

oDroid C2 / Intel NUC, Nextcloud 12.0.3, Nextcloud A+, SSL A+, Ubuntu 16.04.3 LTS 64Bit, nginx 1.13.6, mariadb 10.0.31, PHP 7.1.10, ufw, fail2ban, redis-server, postfix (TLS v. 1.2), ssh with 2FA enabled …


01. Install NGINX 1.13.6 with ngx_cache_purge module
02. Install PHP 7.1.10
03. Install MariaDB 10.0.31
04. Prepare NGINX for Let’s Encrypt and Nextcloud 12.0.3
05. Install Nextcloud 12.0.3
06. Install Redis-server 3
07. Create the ssl certificates
08. Configure Nextcloud 12.0.3
The following chapters are optional:
09. Mount additonal storage to Nextcloud
09.1 NAS (e.g. Synology)
09.2 external HDD e.g. WD for NextcloudBox
10. Recommended tweaks and hardenings
11. SSL certificate renewal
12. Backup
13. Server hardenings
14. monitor your entire system using netdata


Continue reading “Nextcloud installation guide”

Using Nextcloud’s command line


(1) Use Cron or Ajax to run Nextcloud background jobs
(2) Re-Scan your Nextcloud data
(3) Cleanup Nextclouds filecache
(4) Remove deleted files
(5) Disable or enable apps (e.g. two-factor authentication or gallery)
(6) List all config parameters and removes sensitive values
(7) All Nextcloud occ commands
(8) Upgrade your Nextcloud
(9) Enable/disable user
(10) Reset passwords


Continue reading “Using Nextcloud’s command line”

Roundcube alongside Nextcloud


We will run Roundcube in a subfolder alongside and within Nextcloud on your NGINX, enhance security using TOTP (2FA) + fail2ban and finally add functionality using a carddav plugin for Nextcloud contacts.


Continue reading “Roundcube alongside Nextcloud”

NextcloudCMD without GUI

We will install and configure the Nextcloudcmd withou any GUI to sync all your data to a Nextcloud Server silently. Therefore we will add the Nextcloud repository as root to our Ubuntu Server, install the Nextcloud client, create a shell script and configure a cronjob to sync your data automatically:


Continue reading “NextcloudCMD without GUI”

Prepare your ODROID-C2 from scratch

odroid-c2

(1) Install the Image to your eMMC
(2) Configure the static ip address
(3) Server tweaks
(3.1) Bash (auto-) completion
(3.2) Create a new user and disable root
(3.3) Adjust your time and timezone
(3.4) ssh modifications
(3.5) optional: rename your server
(4) Update your server
(5) Performance tuning: boot.ini


Continue reading “Prepare your ODROID-C2 from scratch”

Previews jumping up as popcorn

Increase the gallery performance significantly by enabling the Preview Generator app. Start the Preview Generation and wait for its end – then edit the crontab to perform periodic thumbnail generations for newly created data and finally enjoy your previews as “jumping popcorn”! So let’s start…


Continue reading “Previews jumping up as popcorn”