Object Storage Swift - Configure o ownCloud com o Object Storage (EN)
Configure ownCloud with Object Storage
Configure ownCloud with Object Storage
Last updated 20th May 2022
ownCloud is an online storage and file management application. This solution offers several features, including synchronisation between multiple devices. You can also add external storage such as OpenStack Object Storage.
This guide explains how to configure your ownCloud with Object Storage.
Firstly you have to install ownCloud:
root@instance:~$ apt install owncloud
Make sure that the repository you use contains the latest version of ownCloud.
To function, OwnCloud must have a MySQL database. If you do not already have one, install it by running this command:
root@instance:~$ apt install mysql-server
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:
root@instance:~$ mysql -u root -p
At this point, you can create a new user and a database dedicated to ownCloud:
***** Create user *****
mysql> CREATE USER 'owncloud'@'localhost' IDENTIFIED BY 'P@ssw0rd';
***** Create database *****
mysql> CREATE DATABASE `owncloud` ;
***** Grant all privileges on "ownCloud" to the "owncloud" database *****
mysql> GRANT ALL PRIVILEGES ON `owncloud` . * TO 'owncloud'@'localhost';
Log in to ownCloud on your browser by entering: http://serverIP/owncloud
:
In this interface:
After confirming the operation, you can access your OwnCloud interface and activate the application that allows you to add an external storage support.
To do so, click on File
on the top left and select Applications
:
Then enable the External storage support
application from the Disabled
applications menu.
Having done so, configure this application by clicking on your username at the top right and selecting Admin
:
In the External storage
menu, select Add storage
and OpenStack Object Storage
:
Enter the details from your OpenRC file:
The "API key" and the "Maximum waiting time" are optional.
The container that you have created must be entirely dedicated to ownCloud because the application will use metadata.
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:
Join our community of users on https://community.ovh.com/en/.
Não hesite em propor-nos sugestões de melhoria para fazer evoluir este manual.
Imagens, conteúdo, estrutura... Não hesite em dizer-nos porquê para evoluirmos em conjunto!
Os seus pedidos de assistência não serão tratados através deste formulário. Para isso, utilize o formulário "Criar um ticket" .
Obrigado. A sua mensagem foi recebida com sucesso.
Aceda ao seu espaço comunitário. Coloque as suas questões, procure informações e interaja com outros membros do OVHcloud Community.
Discuss with the OVHcloud community