forked from criegerde/nextcloud-zero
Nextcloud Installationsskript / Nextcloud installations script
- Shell 100%
|
|
||
|---|---|---|
| debian.sh | software-properties-common | |
| ips.sh | crowdsec | |
| README.md | Removed UNINSTALL | |
| ubuntu.sh | Removed http/3 completly | |
| zero_v2.cfg | set defaults | |
Carsten Rieger IT-Services
https://www.c-rieger.de
Nextcloud Installationsskript // Nextcloud Installation script
D: Installieren Sie Ihren eigenen Nextcloud-Server in weniger als 10 Minuten.
E: Install your own Nextcloud server in less than 10 minutes.
- Ubuntu 24 LTS [x86_64] / Debian 12 und 13 [x86_64]
- NGINX ≥ 1.29 from nginx
- Auswahl / Option: PHP 8.4 // PHP 8.3 // PHP 8.2 // PHP 8.1
- Auswahl / Option: MariaDB 11.4/8 // postgreSQL 17
- Auswahl / Option: Self-signed // Let's Encrypt certificates
- Auswahl / Option: Nextcloud Release ≥ 29
- Auswahl / Option: Nextcloud Office/OnlyOffice
- etc...
INSTALLATION (Ubuntu/Debian):
D/E: Vorbereitungen/Preparations:
sudo -swget -O zero.sh https://codeberg.org/criegerde/nextcloud-zero/raw/branch/master/<debian/ubuntu>.shwget -O zero.cfg https://codeberg.org/criegerde/nextcloud-zero/raw/branch/master/zero_v2.cfgchmod +x zero.shD/E: Konfigurationsvariablen anpassen / modify configuration variables:
nano zero.cfgNEXTCLOUDDATAPATH="/nc_data"
NEXTCLOUDADMINUSER="nextcloud"
NEXTCLOUDADMINUSERPASSWORD=$(openssl rand -hex 16)
NCRELEASE="latest.tar.bz2"
PHPVERSION="8.3"
NEXTCLOUDDNS="ihre.clouddomain.de" oder NEXTCLOUDDNS="192.168.178.x"
LETSENCRYPT="n"
NEXTCLOUDEXTIP=$(curl -s -4 'https://it-services.c-rieger.de/remoteip.php')
DATABASE="m"
NCDBNAME="nextcloud"
NCDBUSER="nextcloud"
CURRENTTIMEZONE='Europe/Berlin'
PHONEREGION='DE'
NEXTCLOUDOFFICE="n"
ONLYOFFICE="n"
UPLOADSIZE='10G'
APTIP4="n"
RESOLVER="127.0.0.53 176.9.93.198 176.9.1.117"
MARIADBROOTPASSWORD=$(openssl rand -hex 16)
NCDBPASSWORD=nextcloud
REDISPASSWORD=$(openssl rand -hex 16)
REMOVEUAU="y"
TCP_OPT="n"
HTTP3ON="n"
Installation:
./zero.shD/E: LOGDATEI/LOGFILE:
nano /home/*benutzer*/Nextcloud-Installationsskript/install.logD: Weitere Optimierungs-, Härtungs- und Erweiterungsmöglichkeiten finden Sie hier:
E: Further hardening, optimization and enhancement information can be found here:
https://www.c-rieger.de/nextcloud-installationsanleitung/
Carsten Rieger IT-Services