儲存為 PDF
Lyve Cloud Object Storage Resources Guide 
Lyve Cloud Object Storage Resources Guide 

此內容是否有幫助?

MinIO Client

MinIO Client is a S3 compatible client that allows you to connect to Lyve Cloud Object Storage and perform operations on your Lyve Cloud buckets.

Configure MinIO

To configure MinIO Client for use with with Lyve Cloud:

  1. Download Minio Client and set executable permissions:
  • wget https://dl.minio.io/client/mc/release/linux-amd64/mc
  • chmod +x mc
  1. Configure a Lyve Cloud alias using your Lyve Cloud credential:

mc alias set minio https://s3.<region>.sv15.lyve.seagate.com <access-key> <secret-key>

where:

  • <region> is the appropriate Lyve Cloud S3 endpoint URL, for example, us-east-1.
  • <access-key> is your account access key.
  • <secret-key> is your account secret key.

Sample commands

List buckets

./mc ls minio
[2024-10-02 16:41:40 CEST]     0B acronis-cloudseed/
[2024-08-28 17:48:54 CEST]     0B alluxio-test-bkt0/
[2024-10-23 09:29:33 CEST]     0B ansible-bucket/
[2024-10-24 09:47:35 CEST]     0B apache-bucket-1/

List objects in specific bucket

./mc ls minio/minio-bucket
[2024-11-07 10:29:42 CET]   541B 0R0PJTMQ9PA5V8W1GYEDECRVBF v1 PUT clean.sh
[2024-11-07 10:29:42 CET]   131B 0R0PJTMQ9KEY65Y989H8AVEG0E v1 PUT config.json
[2024-11-07 10:29:42 CET]     0B 0R0PJTMHV4BABGHPSSBR476JXA v1 PUT mytext.txt

Upload object to bucket

./mc cp tesh.bash minio/minio-bucket
tesh.bash:                                                           3.02 KiB / 3.02 KiB

▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓  2.29 KiB/s 1s