aufgaben:nextcloud:installation
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende Überarbeitung | |||
| aufgaben:nextcloud:installation [2025/01/26 09:32] – Branislav Zeljak | aufgaben:nextcloud:installation [Unbekanntes Datum] (aktuell) – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ===== 01 - Nextcloud Installation ===== | ||
| - | |||
| - | Getestet mit **Ubuntu 2404 LTS** | ||
| - | |||
| - | <WRAP center round info 60%> | ||
| - | |||
| - | GUI User/ | ||
| - | Anmelden: Admin | ||
| - | Passwort: Start1234 | ||
| - | |||
| - | Datenbankkonto: | ||
| - | Datenbank-Passwort: | ||
| - | Datenbank-Name: | ||
| - | Datenbank-Host: | ||
| - | |||
| - | </ | ||
| - | |||
| - | |||
| - | ==== Vorbereiten ==== | ||
| - | |||
| - | **System Update** | ||
| - | < | ||
| - | apt update && apt upgrade | ||
| - | </ | ||
| - | |||
| - | **Benötigte Pakete** | ||
| - | < | ||
| - | apt install -y apache2 | ||
| - | </ | ||
| - | |||
| - | ^ Paket ^ Funktion ^ | ||
| - | | apache2 | Apache Hypertext Transfer Protocol Server | | ||
| - | | mariadb-server | the MariaDB command-line tool | | ||
| - | | openssl | OpenSSL command line tool | | ||
| - | | php | PHP Command Line Interface ‚CLI‘ | | ||
| - | | wget | The non-interactive network downloader | | ||
| - | | curl | tool for transferring data from or to a server | | ||
| - | | zip | package and compress (archive) files | | ||
| - | | unzip | list, test and extract compressed files in a ZIP archive | | ||
| - | |||
| - | === MaiaDB Einrichten === | ||
| - | < | ||
| - | Switch to unix_socket authentication [Y/n] - Y Auswählen | ||
| - | Change the root password? [Y/n] - Y Auswählen (PW merken) | ||
| - | Remove anonymous users? [Y/n] - Y Auswählen | ||
| - | Disallow root login remotely? [Y/n] - Y Auswählen | ||
| - | Remove test database and access to it? [Y/n] - Y Auswählen | ||
| - | Reload privilege tables now? [Y/n] - Y Auswählen | ||
| - | </ | ||
| - | |||
| - | **DB für die Nextcloud Einrichten** | ||
| - | |||
| - | Es wird eine MySQL Datenbank für die Nextcloud Eingerichtet.\\ | ||
| - | Datenbank Name: nextcloud\\ | ||
| - | DB_User: nc_user\\ | ||
| - | Passwort von nc_user: nc_pass | ||
| - | |||
| - | < | ||
| - | root@nc:~# mysql | ||
| - | |||
| - | MariaDB [(none)]> | ||
| - | Query OK, 1 row affected (0.001 sec) | ||
| - | |||
| - | MariaDB [(none)]> | ||
| - | Query OK, 0 rows affected (0.001 sec) | ||
| - | |||
| - | MariaDB [(none)]> | ||
| - | Query OK, 0 rows affected (0.001 sec) | ||
| - | |||
| - | MariaDB [(none)]> | ||
| - | Query OK, 0 rows affected (0.001 sec) | ||
| - | |||
| - | MariaDB [(none)]> | ||
| - | Bye | ||
| - | root@nc:~# | ||
| - | </ | ||
| - | |||
| - | **Testen** | ||
| - | < | ||
| - | root@nc:~# mysql -u nc_user -p | ||
| - | Enter password: | ||
| - | |||
| - | MariaDB [(none)]> | ||
| - | +--------------------+ | ||
| - | | Database | ||
| - | +--------------------+ | ||
| - | | information_schema | | ||
| - | | nextcloud | ||
| - | +--------------------+ | ||
| - | 2 rows in set (0.001 sec) | ||
| - | |||
| - | MariaDB [(none)]> | ||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | ==== Nextcloud Installairen ==== | ||
| - | |||
| - | Download URL der Aktuellen Version https:// | ||
| - | |||
| - | Login auf den eigenen Server | ||
| - | |||
| - | < | ||
| - | cd / | ||
| - | root@nc:# wget https:// | ||
| - | root@nc:# unzip latest.zip | ||
| - | root@nc:# chown -R www-data: | ||
| - | </ | ||
| - | |||
| - | Weiter in der GUI [[aufgaben: | ||
