Nextcloud 14 installation guide (NGINX/Ubuntu)

Following this guide you will be able to install and configure Nextcloud 14new latest based on Ubuntu 18.04.x LTS, NGINX 1.15.3, openssl 1.1.0h, TLSv1.3, PHP 7.2.9, MariaDB 10.3.9, Redis, fail2ban, firewall (ufw) and will achieve an A+ rating from as well Nextcloud as Qualys...

Nextcloud 14 installation guide (Apache2/Ubuntu)

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

Nextcloud more secure using clamav

Make your Nextcloud more secure using clamav and the Nextcloud Antivirus App for files. Just install clamav on your server and make just few configuration steps. Install clamav using the Ubuntu repositories Start working as sudo to install and configure clamav: sudo -s apt...

Postgresql 10 instead of MariaDB/MySQL

Pre-Requirements: wget –quiet -O – https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add – add-apt-repository “deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main” Install Postgresql: apt update && apt install postgresql-10 php7.2-pgsql -y Create the databse, databse user and grant permissions: sudo -u postgres psql <<END CREATE USER nextcloud WITH PASSWORD...

Nextcloud 14 in a Oracle VM VirtualBox

(1) Download, extract, add and start First download (MyNextcloud14.7z – 1,7GB) the VirtualBox image, second extract it, third add this container to your VirtualBox environment and finally start it:   It was built with one shell script only and runs on Ubuntu 18.04.1 LTS...

Upgrade to Nextcloud 14

Upgrade to the brandnew Nextcloud 14 as simple as that: You can decide whether to perform the upgrade by issuing Nextclouds webupdater or to do it manually (my preferred scenario). It might become necessary to re-enable your previous enabled apps whereas the webupdater would...

Nextcloud 14 installation guide (Debian 9.5 stretch)

Following this guide you will be able to install and configure Nextcloud 14new latest based on Debian 9.5 stretch, NGINX 1.15.3, openssl 1.1.0h, TLSv1.3, PHP 7.2.9, MariaDB 10.3.7, Redis, fail2ban, firewall (ufw) and will achieve an A+ rating from as well Nextcloud as Qualys...

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 14 Server using one shell script

The initial script (install-nextcloud.sh) will install your self hosted Nextcloud on an AMD64 infrastructure within few minutes fully automated. Your server will be built of: Fail2Ban (Nextcloud and SSH jails) MariaDB 10.3.9 Nextcloud 14 new NGINX 1.15.3 OpenSSL 1.1.0h PHP 7.2.9 Redis-Server self signed...

Nextcloud backup and restore

Backup Nextcloud Ensure to have regulary backups from _0 (Sunday) to _6 (Saturday)  of your Nextcloud, including at least: – the webfolder: /var/www/nextcloud – the datafolder: /var/nc_data – and the database: nextcloud. Please substitute ubuntuusername and the database password nextcloud with yours. Switch into...

Roundcube alongside Nextcloud

The rainloop app is currently no longer maintained and not compatible with Nextcloud 14! We will run Roundcube 1.3.7 in a subfolder alongside and within Nextcloud on your existing NGINX, then we will enhance security using TOTP (2FA) + fail2ban and finally we will...

deSEC – dyndns for Nextcloud

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

Clone your Nextcloud

Assuming you have two Nextcloud instances (in my example Nextcloud 13.0.5 from here) called (1) https://source (2) https://destination and one folder to change your data (in my example a NFS share called “/share”) (3) /share First we will mount the NFS-share on both server:...

Nextcloud 13 and ONLYOFFICE (NGINX)

Please verify your config.php – in previous versions of this guide i had a typo! Last Updates: July, 13thth 2018: – added a shell script to install your own on-prem Onlyoffice server without docker Guides for Onlyoffice… on a separate server (not the Nextcloud...

LAB: Loadbalancing for Nextcloud

I built a new lab environment that consists of 6 virtual Ubuntu server (Ubuntu 18.04 LTS x64) using the same virtual network, based on Virtual Box 5.2. Virtuall Lab Description: Server1: 192.168.2.3/255.255.255.0 Frontend (Loadbalancer and Reverse Proxy) Server2: 192.168.2.4/255.255.255.0 Backend (Nextcloud) Server3: 192.168.2.5/255.255.255.0 Backend...

Nextcloud 13 installation guide advanced

End of regular support – will be maintained sporadically only 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.15.2 with ngx_cache_purge enabled, PHP 7.2, MariaDB, Redis, fail2ban, firewall (ufw)....

Nextcloud ready for Talk (Ubuntu/NGINX)

“Meetings with colleagues, customers and partners – have a personal conversation with one click. Keep conversations private with Nextcloud Talk” on your own Nextcloud server, based on Ubuntu 18.04, NGINX 1.15 and your own TURN server … based on the Nextcloud installation guide with...

ODROID-C2 from scratch (Ubuntu 18.04)

OdroidC2 image from scratch (1) Install the Image to your eMMC (2) Server tweaks (2.1) Bash (auto-) completion (2.2) Create a new user and disable root (2.3) Adjust your time and timezone (2.4) ssh modifications (2.5) optional: rename your server (3) Update your server...

Let’s Encrypt and desec.io (dyndns) w/o external access

If you want to build your own and “local only” server environment you may request valid ssl certificates following this scenario yet. It is not neccessary to forward or open ports from WAN (external) to LAN (internal). DynDNS by deSEC supports the DNS challenge...

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