forked from criegerde/nextcloud-zero
Nextcloud Installationsskript / Nextcloud installations script
- Shell 100%
| README.md | Изменил(а) на 'README.md' | |
| zero.sh | zero.sh information. Closes #6 , closes #9 , closes #11 . | |
Скрипт установки Nextcloud
D: Installieren Sie Ihren eigenen Nextcloud-Server in weniger als 10 Minuten.
E: Install your own Nextcloud server in less than 10 minutes.
- Ubuntu 20.04 LTS / 22.04 LTS x86_64 / Debian 11
kein offizieller / no official LXC support! - NGINX 1.21 from nginx
- Auswahl / Option: PHP 8.1 // PHP 8.0 // PHP 7.4
- Auswahl / Option: MariaDB // postgreSQL
- Auswahl / Option: Self-signed // Let's Encrypt certificates
- Auswahl / Option: Nextcloud Release 24.x
(Nextcloud Versions less than 24 aren't compatible with PHP 8.1, configurable php version!) - Auswahl / Option: Nextcloud Office/OnlyOffice
- etc...
INSTALLATION (Ubuntu/Debian):
D/E: Vorbereitungen/Preparations:
sudo -sgit clone https://codeberg.org/criegerde/nextcloud-zerocp nextcloud-zero/zero.sh .chmod +x zero.sh*.shD/E: Konfigurationsvariablen anpassen / modify configuration variables:
nano zero.shNEXTCLOUDDATAPATH="/data"NEXTCLOUDADMINUSER="nc_admin"NEXTCLOUDADMINUSERPASSWORD=$(openssl rand -hex 16)NCRELEASE="latest.tar.bz2"PHPVERSION="8.1"NEXTCLOUDDNS="ihre.domain.de"LETSENCRYPT="n"NEXTCLOUDEXTIP=$(dig +short txt ch whoami.cloudflare @1.0.0.1)MARIADBROOTPASSWORD=$(openssl rand -hex 16)DATABASE="m"NCDBUSER="ncdbuser"NCDBPASSWORD=$(openssl rand -hex 16)CURRENTTIMEZONE='Europe/Berlin'PHONEREGION='DE'NEXTCLOUDOFFICE="n"ONLYOFFICE="n"Installation:
./zero.sh
D/E: DEINSTALLATION/UNINSTALL:
D. Sofern Sie das Skript erneut ausführen möchten, so führen Sie bitte zuerst die Deinstallation durch:E: If you want to re-install your server - please uninstall your software first.
/home/*benutzer*/Nextcloud-Installationsskript/uninstall.shrm -f /home/*benutzer*/Nextcloud-Installationsskript/uninstall.shD: Dabei werden alle Softwarepakete (inkl. DB) sowie alle Verzeichnisse und Daten aus der vorherigen Installation entfernt. Im Anschluss daran kann die Installation erneut durchgeführt werden.
E: All data, databases and software from the previous installation will be removed. Afterwards you can re-run the installation script.
D/E: ERNEUTE INSTALLATION/RE-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: