Scripts to install and optimize Nextcloud (based on Ubuntu 18.04.x (AMD64/ARM64) or Debian Stretch 9.x / Debian 10.x Buster (AMD64)) with NGINX 1.17.x, MariaDB 10.4 (or PostgreSQL), PHP 7.3.x, Redis-Server, fail2ban, ufw and self signed or Let's Encrypt certificates
Build your self hosted Nextcloud server on either Ubuntu or Debian with
a) MariaDB 10.4 (recommended!)
b) PostgreSQL
The scripts called install-nextcloud--debian.sh and install-nextcloud--ubuntu.sh will install your self hosted Nextcloud within 10 minutes, fully prepared for Ubuntu 18.04.x or Debian 9.x Stretch environments and will consist of:
Fail2Ban (Nextcloud and SSH jails)
MariaDB 10.4 / PostgreSQL 11.x
Nextcloud 16.x
NGINX 1.17.x
TLS v. 1.3
PHP 7.3.x
Redis-Server
self signed or Let’s Encrypt SSL (acme.sh)
UFW (22, 80, 443)
Ready to go (?) … let’s start.
Carsten Rieger: https://www.c-rieger.de