linux:anwendungen:nextcloud:installation
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende Überarbeitung | |||
| linux:anwendungen:nextcloud:installation [2023/12/04 15:38] – Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1 | linux:anwendungen:nextcloud:installation [2024/01/03 14:18] (aktuell) – max | ||
|---|---|---|---|
| Zeile 74: | Zeile 74: | ||
| certbot --apache | certbot --apache | ||
| + | </ | ||
| + | |||
| + | ====== Rechte der Nextcloud Struktur setzen ====== | ||
| + | Dies sollte manuell funktionieren, | ||
| + | |||
| + | <code bash> | ||
| + | #!/bin/bash | ||
| + | nextcloudpath='/ | ||
| + | webuser=' | ||
| + | webgroup=' | ||
| + | rootuser=' | ||
| + | |||
| + | printf " | ||
| + | mkdir -p $nextcloudpath/ | ||
| + | mkdir -p $nextcloudpath/ | ||
| + | mkdir -p $nextcloudpath/ | ||
| + | |||
| + | printf "chmod Files and Directories\n" | ||
| + | find ${nextcloudpath}/ | ||
| + | find ${nextcloudpath}/ | ||
| + | |||
| + | printf "chown Directories\n" | ||
| + | chown -R ${rootuser}: | ||
| + | chown -R ${webuser}: | ||
| + | chown -R ${webuser}: | ||
| + | chown -R ${webuser}: | ||
| + | chown -R ${webuser}: | ||
| + | chown -R ${webuser}: | ||
| + | chown -R ${webuser}: | ||
| + | |||
| + | chmod +x ${nextcloudpath}/ | ||
| + | |||
| + | printf " | ||
| + | if [ -f ${nextcloudpath}/ | ||
| + | then | ||
| + | chmod 0644 ${nextcloudpath}/ | ||
| + | chown ${rootuser}: | ||
| + | fi | ||
| + | if [ -f ${nextcloudpath}/ | ||
| + | then | ||
| + | chmod 0644 ${nextcloudpath}/ | ||
| + | chown ${rootuser}: | ||
| + | fi | ||
| </ | </ | ||
linux/anwendungen/nextcloud/installation.1701704316.txt.gz · Zuletzt geändert: 2023/12/04 15:38 von 127.0.0.1
