Benutzer-Werkzeuge

Webseiten-Werkzeuge


en:howtos:owncloud

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

en:howtos:owncloud [2022/02/18 08:09] – Externe Bearbeitung 127.0.0.1en:howtos:owncloud [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 ähnlichesEs sind alles Dienste, die sich darauf spezialisiert haben Daten auf verschiedenen Geräten synchron zu haltenDies ermöglich uns, Fotos vom Iphone auch auf dem Ipad oder PC anzusehenAn sich ist dies eine hilfreiche Sacheandererseits stellen wir unsere Fotos uneingeschränkt den Firmen, die den entsprechenden Dienst zu Verfügung stellen, ebenfalls zur Verfügung. \\ +Who doesn't use services like DropBox, Google Drive, OneDrive or similarThey are all services that specialize in keeping data on different devices in syncThis enables us to view photos from the iphone on the ipad or pcIn itself this is a useful thingbut on the other hand we also make our photos freely available to the companies that provide the relevant service. \\ 
-Ich möchte dies nicht und habe lieber selbst die Kontrolle über meine Daten und darüber, wer darauf Zugriff hatEine komplette Cloud Lösung wird vom [[https://owncloud.org/|OwnCloud Projekt]] kostenlos zur Verfügung gestelltdie Clients steuert die [[https://owncloud.com/Firma OwnCloud]] zur Verfügung.+I don't want that and prefer to be in control of my data and who has access to itA complete cloud solution is provided by the [[https://owncloud.org/|OwnCloud Projekt]] free of chargethe clients are controlled by the [[https://owncloud.com/Firma OwnCloud]].
  
-===== Vorbereitungen ===== +===== Preparations ===== 
-Eine Cloud zu Hause ist ja schönder Raspberry steht zur Verfügung aber die SD Karte ist ziemlich kleinFür die Daten innerhalb der Cloud muss also externer Speicher herDazu bietet sich entweder eine USB-Festplatte an, die man an den Raspberry anschließt (es sollte eine Platte mit automatischer Abschaltung bei Inaktivität und ohne externes Netzteil seindenn wir wollen ja nicht das Wohnzimmer heizen), oder eine NAS FestplatteIch habe mich für letztere Option entschieden. \\+A cloud at home is nicethe Raspberry is available but the SD card is pretty smallExternal storage is therefore required for the data within the cloudYou can either use a USB hard drive that you connect to the Raspberry (it should be a hard drive with automatic shutdown when inactive and without an external power supplybecause we don't want to heat the living room), or a NAS hard driveI chose the latter option. \\
  
-Wir benötigen einen funktionierenden [[.:howtos:apache2|Web Server]] als Voraussetzung zu diesem Howto. Owncloud unter Apache2 legt seine Daten im Verzeichnis /var/www/owncloud/data abdas wir vorab auf ein externes Laufwerk bringenIch habe auf dem NAS Server eine NFS Freigabe angelegtdie ich vor der Installation von Owncloud ins Dateisystem eingehängt habeDazu dient in der /etc/fstab der Eintrag +We need a working [[.:howtos:apache2|Web Server]] as a prerequisite for this howto. Owncloud under Apache2 stores its data in the directory /var/www/owncloud/data, which we first put on an external driveI created an NFS share on the NAS serverwhich I mounted in the file system before installing Owncloud. The entry in /etc/fstab is used for this purpose 
-  mycloudex2ultra.fritz.box:/mnt/HD/HD_a2/owncloud /var/www/owncloud/data nfs rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountvers=3,mountport=32840,mountproto=udp,local_lock=none 0 0+  mycloudex2ultra.fritz.box:/mnt/HD/HD_a2/owncloud /var/www/owncloud/data nfs rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo =600,retrans=2,sec=sys,mountvers=3,mountport=32840,mountproto=udp,local_lock=none 0 0
      
  
-Vor der erstmaligen Benutzung (also auch vor der Installation von Owncloud muss das Verzeichnis angelegt werden+Before using Owncloud for the first time (i.e. before installing Owncloud), the directory must be created
   sudo mkdir -p /var/www/owncloud/data   sudo mkdir -p /var/www/owncloud/data
   sudo chown -R www-data:www-data /var/www/owncloud/data   sudo chown -R www-data:www-data /var/www/owncloud/data
      
  
-Der Befehl +The command 
-  sudo mount /var/www/owncloud/data  +  sudo mount /var/www/owncloud/data 
-hängt das Laufwerk Ins Dateisystem ein+mounts the drive to the file system.
  
-Da Owncloud eine Datenbank benötigt und zwischen MySQL und MariaDB entschieden werden kannmuss erst die Datenbanksoftware installiert werdenIch habe mich für MariaDB entschiedendas Oracle angekündigt hat MySQL nicht mehr kostenlos als OpenSource zur Verfügung zu stellenDie Passworte die im Rahmen der Installation angelegten Datenbanken muss man sich aufschreiben und sicher verwahren.+Since Owncloud needs a database and you can choose between MySQL and MariaDB, the database software has to be installed firstI chose MariaDB, which Oracle has announced will no longer make MySQL available as open source for freeThe passwords for the databases created during the installation must be written down and kept safe.
   sudo apt-get install mariadb-server   sudo apt-get install mariadb-server
      
-Damit sind die Vorarbeiten erledigt und Owncloud kann installiert werden.+This completes the preparatory work and Owncloud can be installed.
  
 ===== Installation ===== ===== Installation =====
-Ich habe die Version 10 von Owncloud eingesetztdie noch nicht im Standard Repository von Raspbian verfügbar istUm die aktuelle Version zu erhalten benötigen wir unter /etc/apt/sources.list.d/ eine neue Datei mit dem Namen owncloud.list Der Inhalt sieht wie folgt aus:+I used owncloud version 10, which is not yet available in the standard Raspbian repositoryTo get the current version we need a new file named owncloud.list under /etc/apt/sources.list.d/The content looks like this:
   deb http://download.owncloud.org/download/repositories/10.0.1/Debian_8.0/ /   deb http://download.owncloud.org/download/repositories/10.0.1/Debian_8.0/ /
-Die Befehle+The commands
   sudo apt-get update   sudo apt-get update
   sudo apt-get upgrade   sudo apt-get upgrade
   sudo apt-get dist-upgrade   sudo apt-get dist-upgrade
-aktualisieren die Paketdatenbank und bringen unser System auf den neuesten Stand.+update the package database and bring our system up to date.
  
-Die installation von Owncloud gestaltet sich unspektakulär:+The installation of Owncloud is unspectacular:
   sudo apt-get install owncloud   sudo apt-get install owncloud
      
-Unser Owncloud Server steht nun unter [[http://<dynDNS_Name/owncloud]] zur Verfügung +Our owncloud server is now available at [[http://<dynDNS_Name/owncloud]].
- +
- +
- +
en/howtos/owncloud.1645171795.txt.gz · Zuletzt geändert: 2022/02/18 08:09 von 127.0.0.1