Nextcloud 13 installation guide (Ubuntu 18.04 LTS)

Following this guide you will be able to install and configure Nextcloud 13 based on Ubuntu 18.04 LTS, NGINX 1.14, openssl 1.1.0h, TLSv1.3, PHP 7.2, MariaDB, Redis, fail2ban, firewall (ufw) and will achieve an A+ rating from as well Nextcloud as Qualys SSL Labs....

Nextcloud 13 installation guide (Debian 9.4 stretch)

Following this guide you will be able to install and configure Nextcloud 13 latest based on Debian 9.4 stretch, NGINX 1.14, openssl 1.1.0h, TLSv1.3, PHP 7.2, MariaDB, Redis, fail2ban, firewall (ufw) and will achieve an A+ rating from as well Nextcloud as Qualys SSL...

Nextcloud and Collabora (NGINX)

Following this guide, you will gain your Collabora Online Office within your Nextcloud, based on your existing NGINX Webserver (reverse proxy or default configuration). You don’t have to configure a second domain, just use your existing one e.g. your.dedyn.io and ammend your current configuration....

Build your Nextcloud Server using one shell script

updated: May, 14th, 2018: Updated to TLSv1.3 The initial script (install-nextcloud.sh) will install your self hosted Nextcloud within few minutes fully automated. Your server will be built of: Fail2Ban (Nextcloud and SSH jails) MariaDB Nextcloud 13.0.2 NGINX 1.14 OpenSSL 1.1.0h PHP 7.2.5 Redis-Server self...

Nextcloud 13.0.2 for Odroid C2 (Nextcloud1302.img)

OdroidC2 image with Nextcloud 13.0.2 First download my Nextcloud 13.0.2 image for OdroidC2 from here: Nextcloud 13.0.2 image for Odroid C2 version 2.1new (487 MB) The image consists of: Ubuntu 16.04.4 LTS 64 Bit NGINX 1.14 Nextcloud 13.0.2 (stable) Nextcloud cronjobs enabled cronjob for...

WordPress based on NGINX

  NGINX & WordPress Prepare your server system: mkdir -p /var/www/wordpress Ammend your NGINX configuration and vhosts: (1) vi /etc/nginx/nginx.conf user www-data; worker_processes auto; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; multi_accept on; use epoll; } http { server_names_hash_bucket_size 64; upstream php-handler...

Nextcloud 13 installation guide advanced

Following this advanced guide you will be able to install and configure Nextcloud 13 based on Ubuntu 16.04.4 LTS or 18.04 LTS, NGINX 1.14 with ngx_cache_purge enabled, PHP 7.2, MariaDB, Redis, fail2ban, firewall (ufw). In addition you will gain an A+ rating from both:...

Nextcloud 13 backup and restore

Backup Nextcloud Ensure to have regulary backups from _0 (Sunday) to _6 (Saturday)  of your Nextcloud, including: – the webfolder: /var/www/nextcloud – the datafolder: /var/nc_data – and the database: nextcloud. Please substitute ubuntuusername with your Ubuntu username. 1. Turn maintenance mode on: sudo -u...

Compile NGINX 1.14.0 with ngx_cache_purge

from scratch NGINX 1.14.0 with ngx_cache_purge module can be either manually built from scratch or being downloaded in this guide. First change to /usr/local/src as sudo and update your system. updated: April, 27th, 2018: – Ready for Ubuntu 18.04 LTS sudo -s cd /usr/local/src...

Nextcloud 13 (NGINX) installation Guide

This guide was updated the last time – now it is freezed! Please follow the new Nextcloud installation guide for Ubuntu 18.04 LTS for future Following this guide you will be able to install and configure Nextcloud 13 based on Ubuntu 16.04.4 LTS or...

Nextcloud 13 Installationsleitfaden

Diese Anleitung wurde letztmalig aktualisiert und bleibt nun eingefroren! Bitte folgen sie in Zukunft der neuen Anleitung: Nextcloud installation guide for Ubuntu 18.04 LTS Dieses How-To dient der Installation und Inbetriebnahme eines Nextcloudservers unter Ubuntu 16.04.4 LTS oder Ubuntu 18.04 LTS inklusive der Einrichtung...

Nextcloud 13 (Apache2) installation guide

Following this guide you will be able to install and configure Nextcloud 13 based on Ubuntu 16.04.4 LTS, Apache 2.4.29 (mpm_event, http2), PHP 7.2 (php7.2-fpm), MariaDB, Redis, fail2ban, firewall (ufw) and achieve an A+ rating from both: Nextcloud and Qualys SSL Labs. We will...

Install/Update openssl 1.1.0h

Ubuntu does not have OpenSSL 1.1.0h installed by default so just  install/update OpenSSL 1.1.0h on Ubuntu 16.04.04 LTS as simple as that.

Pi-hole behind your nginx reverse proxy

Pi-hole®: A black hole for Internet advertisements March 26th, 2018: – added some troubleshooting hints Install Pi-hole by running sudo -s curl -sSL https://install.pi-hole.net | bash and follow the instructions: Then change the Pi-hole port from 80 to e.g. 86: vi /etc/lighttpd/lighttpd.conf server.port =...

Nextcloud more secure using geoip (NGINX)

Many users asked for the NGINX geoip configuration i made earlier. Although e.g. VPN or TOR could bypass geoip blocking i decided to post a new guide. So following this guide you will be able to secure your Nextcloud server by using geoip in...

NextcloudCMD without GUI

We will install and configure the Nextcloudclient (nextcloudcmd) 2.3.3 to sync all data headless and without any gui to your or federated Nextcloud Server silently. Therefore we will add the Nextcloud repository as root to your Ubuntu Server, install the Nextcloud client, create a...

ODROID-C2 from scratch

OdroidC2 image from scratch (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...

LAB: NGINX loadbalancing for Nextcloud

We built a new lab environment that consists of 3 virtual server (Ubuntu 16.04.3 LTS) using the same virtual network. Server1: 192.168.56.3/255.255.255.0 Server2: 192.168.56.4/255.255.255.0 (vm clone of Server1) Server3: 192.168.56.5/255.255.255.0 (vm clone of Server1) All server are up to date and configured with NGINX...

Upgrade to Nextcloud 13

Upgrade Nextcloud 13 Before we start upgrading our server please create and verify a backup of your entire environment. It is described in a separate post called “Nextcloud installation guide ext.”. Then ensure having the Nextcloud Release 12.0.5 in place although it would be...

Nextcloud 12 installation guide

EXPIRED: Please switch to: Nextcloud 13 installation guide Nextcloud in less than 20 minutes oDroidC2, Ubuntu 16.04.03 LTS 64 Bit, NGINX 1.13.9, PHP 7.1.15, MariaDB, Redis, Nextcloud 12.0.5, additionally hardened with fail2ban. (Just adjust or substitute the red marked values: (YOUR.DEDYN.IO and 192.168.2.x)) NGINX...

Nextcloud 12 Installationshandbuch

Abgelaufen: Wechseln Sie zum Nextcloud 13 Installationsleitfaden Nextcloud in weniger als 20 Minuten   oDroidC2, Ubuntu 16.04.03 LTS 64 Bit, NGINX 1.13.9, PHP 7.1.15, MariaDB, Redis, Nextcloud 12.0.5, zusätzlich abgesichert mit fail2ban. (Bitte nur die rot markierten Werte (YOUR.DEDYN.IO und 192.168.2.x) anpassen) NGINX PHP...

Nextcloud Client (Ubuntu)

Nextcloud Client (Ubuntu) First add the Nextcloud-PPA to your system: sudo -s add-apt-repository ppa:nextcloud-devs/client Then run an update and install the Nextcloud client: apt update && apt install nextcloud-client FiInally edit your environment and add the following row: vi /etc/environment Just paste LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/x86_64-linux-gnu to...

Roundcube alongside Nextcloud

We will run Roundcube 1.3.6 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. To run Roundcube (https://your.dedyn.io/emails) alongside and within Nextcloud (as an “external...

Apache2 with http/2.0

Nextcloud with http/2.0 You can update your system with unsupported packages from this untrusted but recommended PPA by adding ppa:ondrej/apache2 to your system’s Software Sources. Add the following repository to your system:

Apache2 and letsencrypt

Install letsencrypt As root-user change to your preferred working-directory and clone letsencrypt-software using git. Then change to the new letsencrypt-directory and request the certificates:

Apache2 SSL A+ (Nextcloud)

Find my Apache2 configuration files (vhosts) below and receive an A+ ranking from ssllabs.com. First create the Nextcloud vhost to redirect from http (:80) to https (:443):

Apache2 using mpm_event

Install and tweak Apache2 & PHP7.1 Install Apache2 and choose the preferred Muti-Processing-Modul (MPM) mpm_event_module (documentation) as your worker. Run-time configuration directives are identical to those provided by worker, with the only addition of the AsyncRequestWorkerFactor.

Mini WIKI

Logfiles NGINX 1.13.x PHP 7.1 Ubuntu 16.04.03 LTS Nextcloud – Keepass Nextcloud DB (MariaDB backup, restore and queries)

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 more secure using clamav

Make your Nextcloud more secure using clamav and Nextcloud’s file-antivirus app. Just install clamav on your server and make just few configuration steps.

deSEC – dyndns for Nextcloud

First register (german: registrierung) an account and wait for the credentials sent by email. Then start to install and configure the dyndns client. To install ddclient, use

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...

HTTP Public Key Pinning

Following this guide you will increase nginx security due to HTTP Public Key Pinning (HPKP) in less than ten minutes. As minimal pre-requirements ensure your nginx is running with ssl enabled and your Nextcloud is reachable via internet.

Enabling MariaDB 4-byte support

In order to use Emojis on your Nextcloud server with a MariaDB database, the installation needs to be tweaked a bit. But before applying any changes to your Nextcloud system, backup your database and files first. I used Nextcloud’s 4-byte support-documentation as a template...