一、安装MinIO
访问MinIO中国下载最新的MinIO,使用办法如下:
wget http://dl.minio.org.cn/server/minio/release/linux-amd64/minio
chmod +x minio
./minio server /mnt/data
仔细查询MinIO的命令发现,MinIO是支持S3协议作为网关进行使用的,而按照官方提示中也存在S3的网关行为:
NAME:
minio gateway - start object storage gateway
USAGE:
minio gateway COMMAND [COMMAND FLAGS | -h] [ARGUMENTS...]
COMMANDS:
nas Network-attached storage (NAS)
azure Microsoft Azure Blob Storage
s3 Amazon Simple Storage Service (S3)
hdfs Hadoop Distributed File System (HDFS)
gcs Google Cloud Storage
二、申请阿里云的key 和secret
我们先在阿里云上申请key 和secret
在阿里云的控制台,点击账户头像、选择accessKey,点击创建,创建成功申请载图如下: