1
0
Fork
You've already forked nextcloud-zero
0
Nextcloud Installationsskript / Nextcloud installations script
  • Shell 100%
Find a file
2022年06月10日 19:58:46 +02:00
README.md Изменил(а) на 'README.md' 2022年06月10日 19:58:46 +02:00
zero.sh zero.sh information. Closes #6 , closes #9 , closes #11 . 2022年06月10日 12:16:52 +02:00

Скрипт установки 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 -s
git clone https://codeberg.org/criegerde/nextcloud-zero
cp nextcloud-zero/zero.sh .
chmod +x zero.sh*.sh

D/E: Konfigurationsvariablen anpassen / modify configuration variables:

nano zero.sh

NEXTCLOUDDATAPATH="/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.sh
rm -f /home/*benutzer*/Nextcloud-Installationsskript/uninstall.sh

D: 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.sh

D/E: LOGDATEI/LOGFILE:

nano /home/*benutzer*/Nextcloud-Installationsskript/install.log

D: Weitere Optimierungs-, Härtungs- und Erweiterungsmöglichkeiten finden Sie hier:
E: Further hardening, optimization and enhancement information can be found here: