|
|
| Zeile 1: |
Zeile 1: |
| =Nextcloud Installation (Debian 13)=
| | *[[Nextcloud Installation (Debian 13)]] |
| | |
| ==System vorbereiten==
| |
| *apt update
| |
| *apt install apache2 mariadb-server php php-gd php-curl php-zip php-mysql php-xml php-mbstring php-intl php-bcmath php-gmp php-imagick php-cli libapache2-mod-php unzip wget -y
| |
| | |
| ==Apache Module aktivieren==
| |
| *a2enmod rewrite headers env dir mime
| |
| *systemctl restart apache2
| |
| | |
| ==Datenbank erstellen==
| |
| *mysql -u root
| |
| | |
| <pre>
| |
| CREATE DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
| |
| | |
| CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'secret';
| |
| | |
| GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost';
| |
| | |
| FLUSH PRIVILEGES;
| |
| | |
| EXIT;
| |
| </pre>
| |
| | |
| ==Nextcloud herunterladen==
| |
| *cd /root
| |
| *wget https://download.nextcloud.com/server/releases/latest.tar.bz2
| |
| *tar -xjf latest.tar.bz2
| |
| *mv nextcloud /var/www/
| |
| | |
| ==Rechte setzen==
| |
| *chown -R www-data:www-data /var/www/nextcloud
| |
| *chmod -R 750 /var/www/nextcloud
| |
| | |
| ==Apache VirtualHost erstellen==
| |
| *vi /etc/apache2/sites-available/nextcloud.conf
| |
| | |
| <pre>
| |
| <VirtualHost *:80>
| |
| | |
| ServerName nc.it213.int
| |
| DocumentRoot /var/www/nextcloud
| |
| | |
| <Directory /var/www/nextcloud/>
| |
| Require all granted
| |
| AllowOverride All
| |
| Options FollowSymLinks MultiViews
| |
| </Directory>
| |
| | |
| </VirtualHost>
| |
| </pre>
| |
| | |
| ==Website aktivieren==
| |
| *a2ensite nextcloud.conf
| |
| *a2dissite 000-default.conf
| |
| *systemctl reload apache2
| |
| | |
| ==Nextcloud Installation im Browser starten==
| |
| *http://nc.it213.int
| |
| | |
| | |
| ==Nextcloud Einrichtung im Webbrowser==
| |
| | |
| {| class="wikitable"
| |
| ! Feld im Installer
| |
| ! Eingabe
| |
| ! Beschreibung
| |
| |-
| |
| | Administration account name
| |
| | admin
| |
| | Name des Administrators für Nextcloud.
| |
| |-
| |
| | Administration account password
| |
| | 123Start$
| |
| | Passwort für den Administrator.
| |
| |-
| |
| | Data folder
| |
| | /var/www/nextcloud/data
| |
| | Verzeichnis für die gespeicherten Dateien.
| |
| |-
| |
| | Database user
| |
| | nextcloud
| |
| | Datenbankbenutzer aus der MariaDB-Konfiguration.
| |
| |-
| |
| | Database password
| |
| | secret
| |
| | Passwort des Datenbankbenutzers.
| |
| |-
| |
| | Database name
| |
| | nextcloud
| |
| | Name der zuvor erstellten Datenbank.
| |
| |-
| |
| | Database host
| |
| | localhost
| |
| | Datenbankserver läuft auf dem gleichen System.
| |
| |}
| |
| | |
| *Zum Abschluss auf '''Install''' klicken.
| |
| *Nextcloud richtet nun automatisch die Datenbankstruktur ein und startet anschließend das Dashboard.
| |
| ==Empfohlene Apps installieren==
| |
| | |
| {| class="wikitable"
| |
| ! App
| |
| ! Beschreibung
| |
| |-
| |
| | Calendar
| |
| | Kalender zur Planung von Terminen und Besprechungen. Synchronisation mit verschiedenen Geräten möglich.
| |
| |-
| |
| | Contacts
| |
| | Zentrale Verwaltung von Kontakten und Adressbüchern.
| |
| |-
| |
| | Mail
| |
| | Webmail-Client zur Integration von E-Mail direkt in Nextcloud.
| |
| |-
| |
| | Nextcloud Office
| |
| | Bearbeiten von Dokumenten, Tabellen und Präsentationen im Browser (Collabora Online).
| |
| |-
| |
| | Notes
| |
| | Einfache Notizen-App innerhalb von Nextcloud.
| |
| |-
| |
| | Talk
| |
| | Chat, Audio- und Videokonferenzen direkt im Browser.
| |
| |}
| |
| | |
| *Alle vorgeschlagenen Apps können aktiviert bleiben.
| |
| *Anschließend auf '''Empfohlene Apps installieren''' klicken.
| |
| | |
| ==Cronjob einrichten==
| |
| *crontab -u www-data -e
| |
| | |
| <pre>
| |
| */5 * * * * php -f /var/www/nextcloud/cron.php
| |
| </pre>
| |