|
1 | 1 | ---
|
2 |
| -title: Object Storage Swift - Konfiguration von ownCloud mit Object Storage |
| 2 | +title: Object Storage Swift - Konfiguration von ownCloud mit Object Storage (EN) |
3 | 3 | excerpt: Konfiguration von ownCloud mit Object Storage
|
4 | 4 | slug: pcs/configure-owncloud-with-object-storage
|
5 | 5 | section: OpenStack Swift Storage Class Specifics
|
6 |
| -legacy_guide_number: g2000 |
7 | 6 | order: 170
|
| 7 | +routes: |
| 8 | + canonical: 'https://docs.ovh.com/gb/en/storage/object-storage/pcs/configure-owncloud-with-object-storage/' |
8 | 9 | updated: 2022-05-20
|
9 | 10 | ---
|
| 11 | +*Last updated 20th May 2022** |
10 | 12 |
|
| 13 | +## Objective |
11 | 14 |
|
12 |
| -## |
13 |
| -[ownCloud](https://owncloud.org/) ist eine Applikation für Online-Storage und Ordner-Verwaltung. |
| 15 | +[ownCloud](https://owncloud.org/) is an online storage and file management application. |
| 16 | +This solution offers several features, including synchronisation between multiple devices. You can also add external storage such as OpenStack Object Storage. |
14 | 17 |
|
15 |
| -Sie bietet Funktionen wie die Synchronisierung zwischen verschiedenen Peripheriegeräten |
| 18 | +**This guide explains how to configure your ownCloud with Object Storage.** |
16 | 19 |
|
17 |
| -Außerdem können Sie auch externen Speicherplatz hinzufügen, insbesondere OpenStack Object Storage. |
18 | 20 |
|
19 |
| -In dieser Hilfe erfahren Sie alles über die Konfiguration von ownCloud mit Object Storage. |
| 21 | +## Requirements |
20 | 22 |
|
| 23 | +- The OpenRC file, obtained from the [OVHcloud Control Panel](https://docs.ovh.com/de/public-cloud/creation-and-deletion-of-openstack-user/) or [Horizon](https://docs.ovh.com/de/public-cloud/horizon/) |
| 24 | +- [Storage space](https://docs.ovh.com/de/storage/object-storage/pcs/create-container/) dedicated to ownCloud |
21 | 25 |
|
22 |
| -## Voraussetzungen |
23 | 26 |
|
24 |
| -- Download der OpenRC-Datei über Ihr OVHcloud Kundencenter oder Horizon |
25 |
| -- [Hinzufügen von Storage-Bereichen](https://docs.ovh.com/de/public-cloud/hinzufugen_von_storage-bereichen/) zu Owncloud |
| 27 | +## Instructions |
26 | 28 |
|
| 29 | +### Installation |
27 | 30 |
|
| 31 | +Firstly you have to install ownCloud: |
28 | 32 |
|
29 |
| - |
30 |
| -## Installation |
31 |
| -Installieren Sie zunächst ownCloud: |
32 |
| - |
33 |
| - |
34 |
| -``` |
35 |
| -root@instance:~$ apt-get install owncloud |
| 33 | +```bash |
| 34 | +root@instance:~$ apt install owncloud |
36 | 35 | ```
|
37 | 36 |
|
| 37 | +> [!primary] |
| 38 | +> |
| 39 | +> Make sure that the repository you use contains the latest version of ownCloud. |
| 40 | +> |
38 | 41 |
|
| 42 | +To function, OwnCloud must have a MySQL database. If you do not already have one, install it by running this command: |
39 | 43 |
|
40 |
| -## Achtung! |
41 |
| -Verwenden Sie das richtige Verzeichnis, um die jüngste ownCloud Version zu installieren. |
42 |
| -Anschließend können Sie MySQL installieren, damit Sie über die für ownCloud benötigte Datenbank verfügen: |
43 |
| - |
44 |
| - |
| 44 | +```bash |
| 45 | +root@instance:~$ apt install mysql-server |
45 | 46 | ```
|
46 |
| -root@instance:~$ apt-get install mysql-server |
47 |
| -``` |
48 |
| - |
49 | 47 |
|
| 48 | +### Configuration |
50 | 49 |
|
| 50 | +To configure the database that will be used by ownCloud, log in to your MySQL server with the root password defined when the server was installed: |
51 | 51 |
|
52 |
| -## Konfiguration |
53 |
| -Wenn die Installation abgeschlossen ist, können Sie mit der Konfiguration der Datenbank für ownCloud beginnen. |
54 | 52 |
|
55 |
| -Stellen Sie dafür eine Verbindung mit dem MySQL-Server unter Verwendung des bei der Installation festgelegten Root-Passworts her: |
56 |
| - |
57 |
| - |
58 |
| -``` |
| 53 | +```bash |
59 | 54 | root@instance:~$ mysql -u root -p
|
60 | 55 | ```
|
61 | 56 |
|
| 57 | +At this point, you can create a new user and a database dedicated to ownCloud: |
62 | 58 |
|
63 |
| -Anschließend können Sie einen neuen Nutzer und eine Datenbank für OwnCloud erstellen: |
64 |
| - |
65 |
| - |
66 |
| -``` |
67 |
| -**** Erstellen des Benutzers ***** |
| 59 | +```sql |
| 60 | +***** Create user ***** |
68 | 61 | mysql> CREATE USER 'owncloud'@'localhost' IDENTIFIED BY 'P@ssw0rd';
|
69 | 62 |
|
70 |
| -***** Erstellung der Datenbank ***** |
| 63 | +***** Create database ***** |
71 | 64 | mysql> CREATE DATABASE `owncloud` ;
|
72 | 65 |
|
73 |
| -***** Erteilung aller Rechte an den Benutzer "owncloud" für die Datenbank "owncloud" |
| 66 | +***** Grant all privileges on "ownCloud" to the "owncloud" database ***** |
74 | 67 | mysql> GRANT ALL PRIVILEGES ON `owncloud` . * TO 'owncloud'@'localhost';
|
75 | 68 | ```
|
76 | 69 |
|
| 70 | +Log in to ownCloud on your browser by entering: `http://serverIP/owncloud`: |
77 | 71 |
|
78 |
| -Danach können Sie sich mithilfe eines Browsers mit dem ownCloud Interface verbinden: http://I.P.des.servers/owncloud: |
79 |
| - |
80 |
| -{.thumbnail} |
| 72 | +{.thumbnail} |
81 | 73 |
|
82 |
| -Über dieses Interface müssen Sie dann: |
| 74 | +In this interface: |
83 | 75 |
|
84 |
| -- einen Administrator-Account erstellen, |
85 |
| -- das Verzeichnis angeben (fakultativ, wenn Sie nur den Object Storage verwenden wollen; in diesem Fall belassen Sie die Standard-Einstellung) und |
86 |
| -- Login und Passwort Ihrer Datenbank angeben. |
| 76 | +- Create an administrator account. |
| 77 | +- Enter the data directory (optional, if you just want to use the Object Storage, you can leave the default one). |
| 78 | +- Enter your database credentials. |
87 | 79 |
|
88 | 80 |
|
89 |
| -Nach Bestätigung können Sie auf Ihr ownCloud Interface zugreifen. |
| 81 | +After confirming the operation, you can access your OwnCloud interface and activate the application that allows you to add an external storage support. |
90 | 82 |
|
91 |
| -Hierüber kann man dann den "External Storage Support" aktivieren. |
| 83 | +To do so, click on `File`{.action} on the top left and select `Applications`{.action}: |
92 | 84 |
|
93 |
| -Klicken Sie dafür auf den Button "Dateien" links oben und wählen Sie "Applikationen" aus: |
| 85 | +{.thumbnail} |
94 | 86 |
|
95 |
| -{.thumbnail} |
| 87 | +Then enable the `External storage support`{.action} application from the `Disabled` applications menu. |
96 | 88 |
|
97 |
| -Aktivieren Sie anschließend die Applikation "External storage support" über das Menü der "Deaktivierten" Applikationen: |
| 89 | +{.thumbnail} |
98 | 90 |
|
99 |
| -{.thumbnail} |
| 91 | +Having done so, configure this application by clicking on your username at the top right and selecting `Admin`{.action}: |
100 | 92 |
|
101 |
| -Nun können Sie diese Applikation konfigurieren. Klicken Sie hierfür rechts oben auf Ihren Benutzernamen und anschließend auf "Administration": |
| 93 | +{.thumbnail} |
102 | 94 |
|
103 |
| -{.thumbnail} |
| 95 | +In the `External storage` menu, select `Add storage`{.action} and `OpenStack Object Storage`{.action}: |
104 | 96 |
|
105 |
| -Wählen Sie den Bereich "Externer Storage" aus und fügen Sie "OpenStack Object Storage" hinzu: |
| 97 | +{.thumbnail} |
106 | 98 |
|
107 |
| -{.thumbnail} |
| 99 | +Enter the details from your OpenRC file: |
108 | 100 |
|
109 |
| -Hier müssen Sie verschiedene Informationen aus der "OpenRC"-Datei angeben: |
| 101 | +- Your Horizon username which corresponds to the "OS_USERNAME" field in the OpenRC file |
| 102 | +- The name of your container which you previously created for ownCloud |
| 103 | +- The region that your container is in: "OS_REGION_NAME" |
| 104 | +- The tenant name, corresponding to the "OS_TENANT_NAME" field |
| 105 | +- Your Horizon password |
| 106 | +- The service name corresponding to "Swift" |
| 107 | +- The endpoint address, corresponding to the "OS_AUTH_URL" field or "https://auth.cloud.ovh.net/v3" |
110 | 108 |
|
111 |
| -- den Namen des Horizon Nutzers (Feld "OS_USERNAME" in der "OpenRC"-Datei); |
112 |
| -- den Namen des Containers, den Sie zuvor für ownCloud erstellt haben; |
113 |
| -- den Namen der Region, in der sich Ihr Container befindet (Feld "OS_REGION_NAME"); |
114 |
| -- den Namen des Besitzers ("OS_TENANT_NAME"); |
115 |
| -- das Passwort des Horizon Nutzers; |
116 |
| -- den Namen des Service ("swift"); |
117 |
| -- die Adresse des Zugriffspunkts (Feld "OS_AUTH_URL" oder "https://auth.cloud.ovh.net/v3"). |
118 | 109 |
|
| 110 | +The "API key" and the "Maximum waiting time" are optional. |
119 | 111 |
|
120 |
| -Der "API Key" und die "Maximale Wartezeit" sind fakultativ. |
| 112 | +> [!primary] |
| 113 | +> |
| 114 | +> The container that you have created must be entirely dedicated to ownCloud because the application will use metadata. |
| 115 | +> |
| 116 | +> Once you've entered all the information and checked that it is correct, the red box in front of your folder name will turn green and will be available in the `External storage` section of your homepage: |
| 117 | +> |
121 | 118 |
|
122 |
| -## Zur Erinnerung: |
123 |
| -Der von Ihnen erstellte Container muss ownCloud dediziert sein, denn es werden spezifische Metadaten auf Ihrem Container konfiguriert. |
124 |
| -Wenn alle Angaben korrekt gemacht sind, wird das rote Quadrat vor dem Namen Ihres Ordners grün. Dieser steht Ihnen dann über Ihre Homepage, Bereich "Externer Storage" zur Verfügung. |
125 | 119 |
|
126 |
| -{.thumbnail} |
| 120 | +{.thumbnail} |
127 | 121 |
|
128 | 122 |
|
129 |
| -## |
130 |
| -... lesen Sie auch unsere anderen Hilfen zum Thema Cloud! |
| 123 | +## Go further |
| 124 | + |
| 125 | +Join our community of users on <https://community.ovh.com/en/>. |
0 commit comments