From 62a5f9afb96d5bfe1eef6d29716684e754252337 Mon Sep 17 00:00:00 2001 From: Alexis Ben Miloud--Josselin Date: Fri, 2 Sep 2022 11:52:41 +0200 Subject: [PATCH] HowtoCeph: ajouter minio client --- HowtoCeph.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/HowtoCeph.md b/HowtoCeph.md index af01b026..551bfa0b 100644 --- a/HowtoCeph.md +++ b/HowtoCeph.md @@ -810,6 +810,35 @@ $ exit # radosgw-admin user create --uid="testuser" --display-name="First User" ~~~ +## Clients + +### MinIO Client + +Il s’agit un outil en ligne de commande pour interagir avec du stockage compatible Amazon S3. Le code est accessible sur [GitHub](https://github.com/minio/mc). + +On défini un _alias_, qui est un nom pour le stockage S3. + +``` +mc alias set http:// +``` + +> Si on peut aussi préciser un port : +> ``` +> mc alias set http://: +> ``` + +Pour lister les objets dans un _bucket_ : + +``` +mc ls / +``` + +Pour _upload_ un fichier : + +``` +mc mv mon_fichier // +``` + # Troubleshooting