Benutzer-Werkzeuge

Webseiten-Werkzeuge


en:howtos:nextcloud

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

en:howtos:nextcloud [2022/02/18 08:09] – Externe Bearbeitung 127.0.0.1en:howtos:nextcloud [2022/02/18 08:45] (aktuell) morquai
Zeile 1: Zeile 1:
-====== Owncloud Installation und Konfiguration ====== +====== Owncloud installation and configuration ====== 
-Wer nutzt nicht Dienste wie DropBox, Google Drive, OneDrive oder ähnlichesIch habe mich entschlossen, die bisherige Owncloud Lösung zu beerdigen und durch  +Who doesn't use services like DropBox, Google Drive, OneDrive or similarI have decided to bury the previous Owncloud solution and through 
-[[https://nextcloud.com/|Nextcloud]] zu ersetzenDie Server Software kann [[https://nextcloud.com/install/#instructions-server|hier]] heruntergeladen werdenEinfach am oberen Rand den Reiter "Archive file" auswählen und den NICHT Download Button drückenIhr müsst unter "Details and Download Options" das "tar.bz2" Archiv herunterladen und auf Euren Raspberry Pi ins /tmp/ Verzeichnis stellen.\\ +[[https://nextcloud.com/|Nextcloud]]. The server software can be downloaded [[https://nextcloud.com/install/#instructions-server|here]]. Simply select the "Archive file" tab at the top and press the NOT Download buttonYou have to download the "tar.bz2" archive under "Details and Download Options" and place it in the /tmp/ directory on your Raspberry Pi.\\ 
-Die [[https://docs.nextcloud.com/server/latest/admin_manual/installation/|Installationsanweisung]] ist recht detailliert und nach den Installation sind nur wenige Nacharbeiten erforderlich.\\ +The [[https://docs.nextcloud.com/server/latest/admin_manual/installation/|installation instruction]] is quite detailed and only a few rework is required after the installation.\\ 
-Ich habe das Ganze mir PHP 8.0 und MariaDB als Datenbank installiertwas mir die in den [[.:news:news022022|News Februar 2022]] beschriebenen Probleme einbrachte.\\ +I installed the whole thing with PHP 8.0 and MariaDB as the databasewhich gave me the problems described in [[.:news:news022022|News February 2022]].\\ 
-Hier die aus der Erinnerung gebliebenen Installation Schritte auf dem Raspberry Pi:\\ +Here are the installation steps on the Raspberry Pi that I remembered:\\ 
-===== Vorbemerkungen ===== +===== Preliminary Remarks ===== 
-  * Alle Schritte werden als root user ausgeführtvor jeden Command "sudo" zu schreiben ist nicht hilfreich+  * All steps are run as root user, writing "sudo" before each command is not helpful
-  * Die [[https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation|Installationsanweisung]] muss gelesen und bei Problemen zu Rate gezogen werden +  * The [[https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation|installation instructions]] must be read and consulted in case of problems 
-===== PHP 8.0 Installation ===== +===== PHP 8.0 installation ===== 
-  apt install libapache2-mod-php8.0 php8.0 php8.0-apcu php8.0-bcmath php8.0-bz2 php8.0-cli php8.0-common php8.0-curl php8.0-fpm php8.0-gd php8.0-gmp php8.0-igbinary php8.0-imagick php8.0-intl php8.0-mbstring php8.0-memcached php8.0-msgpack php8.0-mysql php8.0-opcache php8.0-readline php8.0-redis php8.0-smbclient php8.0-xml php8.0-zip php8.1-cli php8.1-common php8.1-opcache php8.1-readline+  apt install libapache2-mod-php8.0 php8.0 php8.0-apcu php8.0-bcmath php8.0-bz2 php8.0-cli php8.0-common php8.0-curl php8.0-fpm php8.0 -gd php8.0-gmp php8.0-igbinary php8.0-imagick php8.0-intl php8.0-mbstring php8.0-memcached php8.0-msgpack php8.0-mysql php8.0-opcache php8.0 -readline php8.0-redis php8.0-smbclient php8.0-xml php8.0-zip php8.1-cli php8.1-common php8.1-opcache php8.1-readline
 ====== MariaDB Installation ====== ====== MariaDB Installation ======
   apt install mariadb-server mariadb-client   apt install mariadb-server mariadb-client
-Damit sind die Prerequisites installiert und die eigentliche Installation von Nextcloud kann beginnen+The prerequisites are now installed and the actual installation of Nextcloud can begin
-====== Installation von Nextcloud ======+====== Installation of Nextcloud ======
   cd /var/www   cd /var/www
   mkdir nextcloud   mkdir nextcloud
   chown www-data:www-data nextcloud   chown www-data:www-data nextcloud
-  # Hier +  # Here
      
-====== Konfiguration des Apache2 Web Servers ====== +====== Apache2 Web Server Configuration ====== 
-Nextcloud wird in einem Unterverzeichnis Eurer Apache2 Installation (bei Raspberry Pi OS und Debian is dies /var/www/erfolgen. Nextcloud befindet sich also in /var/www/nextcloud. Um dies korrekt zu nutzenmüsst Ihr im Konfigurationsverzeichnis von Apache2 folgendes tun:+Nextcloud will be in a subdirectory of your Apache2 installation (for Raspberry Pi OS and Debian this is /var/www/). So Nextcloud is located in /var/www/nextcloud. To use this correctlyyou need to do the following in the Apache2 configuration directory:
   cd /etc/apache2/   cd /etc/apache2/
   vi sites-available/nextcloud.conf   vi sites-available/nextcloud.conf
-Hier habe ich folgenden Inhalt eingefügt+Here I added the following content
-  Alias /nextcloud "/var/www/nextcloud/"+  Alias ​​/nextcloud "/var/www/nextcloud/"
      
   <Directory /var/www/nextcloud/>   <Directory /var/www/nextcloud/>
     Require all granted     Require all granted
-    AllowOverride All+    AllowOverrideAll
     Options FollowSymLinks MultiViews     Options FollowSymLinks MultiViews
      
     <IfModule mod_dav.c>     <IfModule mod_dav.c>
-      Dav off+      dav off
     </IfModule>     </IfModule>
   </Directory>   </Directory>
- Unter sites-available stehen alle installierten Anwendungenaber nur die in sites-enabled befindlichen Anwendungen können genutzt werdenDaher muss in sites-enabled ebenfalls diese Datei zu finden sein+ All installed applications are listed under sites-available, but only the applications in sites-enabled can be usedTherefore, this file must also be found in sites-enabled
   cd sites-enabled   cd sites-enabled
   ln -s ../sites-available/nextcloud.conf   ln -s ../sites-available/nextcloud.conf
-  cd +  CD 
-Damit ist der Zugang zu Nextcloud, der natürlich erst nach den Installation funktionieren wird, geschaffen. Nextcloud benötigt noch einige Apache2 Module, die erstmal eingeschaltet werden wollen.+This creates access to Nextcloud, which of course will only work after the installation. Nextcloud still needs some Apache2 modules that need to be switched on first.
   a2enmod rewrite   a2enmod rewrite
   a2enmod headers   a2enmod headers
-  a2enmod env+  a2enmod approx
   a2enmod dir   a2enmod dir
   a2enmod mime   a2enmod mime
   a2enmod setenvif   a2enmod setenvif
-====== Installation von Nextcloud selbst ======+====== Installation of Nextcloud itself ======
   cd /var/www   cd /var/www
-  # nextcloud-23.0.2.tar.bz2 war zum Zeitpunkt dieser Dokumentation die aktuelle VersionDer Dateiname ist also anzupassen !!+  # nextcloud-23.0.2.tar.bz2 was the current version at the time of this documentationThe file name must therefore be adjusted !!
   tar -xzf /tmp/nextcloud-23.0.2.tar.bz2   tar -xzf /tmp/nextcloud-23.0.2.tar.bz2
   chown -R www-data:www-data nextcloud   chown -R www-data:www-data nextcloud
-  # Ja, "sudo" ist hier auch als root user zwingend erforderlich+  # Yes, "sudo" is mandatory here, even as a root user
   sudo -u www-data php /var/www/nextcloud/occ maintenance:update:htaccess   sudo -u www-data php /var/www/nextcloud/occ maintenance:update:htaccess
-===== Nacharbeiten ===== +===== Rework ===== 
-Nachdem jetzt alles vorbereitet ist muss noch der Apache2 Server neu gestartet werden:+Now that everything is prepared, the Apache2 server must be restarted:
   systemctl restart apache2   systemctl restart apache2
-Unter http://eure.dyndns.adresse/nextcloud könnt Ihr nun den Anweisungen des Assistenten die Nacharbeiten erledigen.+At http://eure.dyndns.adresse/nextcloud you can now follow the instructions of the assistant to do the follow-up work.
  
-Viel Spass+Have fun
en/howtos/nextcloud.1645171795.txt.gz · Zuletzt geändert: 2022/02/18 08:09 von 127.0.0.1