1
0
Fork
You've already forked nextcloud-zero-rohalium
0
Nextcloud Installationsskript / Nextcloud installations script
  • Shell 100%
Find a file
2022年12月23日 06:31:24 +00:00
README.md README.MD 2022年07月01日 13:51:26 +02:00
zero.sh added variable for PHP Uploadsize 2022年12月23日 06:31:24 +00:00


 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 20.04 LTS [AMD x86_64] / 22.04 LTS [AMD x86_64] / Debian 11.x [AMD x86_64]
    Proxmox LXC-supportnew
    (Be aware, Debian requires a Proxmox-option called 'nesting=1')
  • 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
apt install -y git
git clone https://codeberg.org/criegerde/nextcloud-zero
cp nextcloud-zero/zero.sh .
chmod +x zero.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:

https://www.c-rieger.de/nextcloud-installationsanleitung/

Carsten Rieger IT-Services