cp /usr/local/src/install-nextcloud/maintainance/rules.nginx /usr/local/src/nginx/nginx-$NGINXVER/debian/rules
c-rieger.de - install Nextcloud using a shell script
The initial script (install-nextcloud.sh // install-nextcloud-debian.sh) will install your self hosted Nextcloud within few minutes fully automated. Your server will consist of:
Fail2Ban (Nextcloud and SSH jails)
MariaDB 10.3
Nextcloud 15 (latest)
NGINX 1.15.8 TLSv.1.3
OpenSSL 1.1.1
PHP 7.3
Redis-Server
self signed or Let's Encrypt SSL using the ssl-certificate-ubuntu.sh or ssl-certificate-debian.sh script
UFW (22, 80, 443)
The only precondition for the install-nextcloud.sh and install-nextcloud-debian.sh shell script is to utilize Ubuntu 18.04 LTS or Debian Stretch 9.x as your on-prem server OS. Optionally you may request your ssl certificate from Let's Encrypt by issuing the second script called ssl-certificate-ubuntu.sh or ssl-certificate-debian.sh.
Ready to go? Let's start:
Find out more information: Build your Nextcloud Server using shell scripts only
Beyond that you will find additional scripts at /usr/local/src/install-nextcloud/
fail2ban.sh
optimize-debian.sh and optimize-ubuntu.sh
restart.sh
ssl-certificate-debian.sh and ssl-certificate-ubuntu.sh
ssl-renewal.sh
upgrade-debian.sh and upgrade-ubuntu.sh
to optimize and maintain your Ubuntu system easily.
Carsten Rieger IT-Services (c-rieger.de)