# 分布式对象存储 MinIO 客户端 mc 的使用
本文介绍开源的分布式对象存储服务 MinIO 的客户端的使用方法。对象存储系统相比于传统的 NAS 文件系统有很多的优势,访问效率高、方便扩容,支持分布式等特性。MinIO 基于 Goland 开发,所以部署非常方便。
MinIO 服务的搭建步骤请前往搭建分布式对象存储服务 MinIO-单点模式
# 1. 安装客户端工具 mc
本文以 docker 方式安装。
执行如下命令,完成安装,并进入容器内
docker run -it --entrypoint=/bin/sh minio/mc
# 2. 添加云存储服务
MinIO 除了支持 MinIO 之外,还支持 aws 对象存储。本章节以 添加MinIO 云存储为例。
命令格式:
mc config host add [--api API-SIGNATURE]
别名就是给你的云存储服务起了一个短点的外号。S3 endpoint,access key 和 secret key 是你的云存储服务提供的。API 签名是可选参数,默认情况下,它被设置为”S3v4″。
示例如下:
mc config host add minio http://172.18.100.177:9000 minioadmin minioadmin --api s3v4
# 3. 云存储的管理
mc 提供了很多管理命令
示例如下:
/ # mc ls minio
[2020-10-29 08:56:20 UTC] 0B bucket1/
/ #
文章来源于互联网:
分布式对象存储MinIO客户端mc的使用
Thanks for the auspicious writeup. It if truth be told
was a enjoyment account it. Look complicated to more added agreeable from you!
By the way, how can we be in contact?
Feel free to visit my web site – tracfone special
This blog was… how do I say it? Relevant!! Finally I’ve found something which helped me.
Thank you!
Very rapidly this web page will be famous among all blog users, due
to it’s good posts
Howdy! I’m at work browsing your blog from my new iphone 4!
Just wanted to say I love reading your blog and look forward
to all your posts! Keep up the superb work!
Thanks for finally talking about > 分布式对象存储MinIO客户端mc的使用 – VPS测评推荐网站 – 朱纯树博客 < Liked it!
my blog post :: special
It’s in fact very complicated in this active life to listen news on Television,
thus I just use internet for that reason, and take the most recent information.
We stumbled over here from a different page and thought
I might as well check things out. I like what I see so now i’m
following you. Look forward to finding out about your web page yet
again.