The mc
(MinIO S3 Client) tool is a modern alternative to s3cmd
for interacting with S3-compatible storage, including Sive.Host S3.
You can configure mc
to use your custom Sive.Host S3 endpoint (https://s3.sive.host or https://s4.sive.host) and perform various operations such as creating buckets, uploading files, and managing users.
Step-by-Step Guide to Configure mc
-
Install
mc
On Linux:
sudo wget https://dl.min.io/client/mc/release/linux-amd64/mc
sudo chmod +x mc
sudo mv mc /usr/local/bin/On macOS:
brew install minio/stable/mc
-
Configure
mc
Add your Sive.Host S3 endpoint as an alias in
mc
. Replace<access-key>
,<secret-key>
, ands3.sive.host
with your specific details:mc alias set madiba-s3 https://s3.sive.host <access-key> <secret-key> --api S3v4
-
Verify Configuration
Check if the configuration is correct by listing buckets:
mc ls madiba-s3
Example Commands
-
List Buckets
mc ls madiba-s3
-
Create a Bucket
mc mb madiba-s3/your-bucket-name
-
Upload a File to a Bucket
mc cp your-file.txt madiba-s3/your-bucket-name/
-
Download a File from a Bucket
mc cp madiba-s3/your-bucket-name/your-file.txt .
-
List Files in a Bucket
mc ls madiba-s3/your-bucket-name
-
Remove a File from a Bucket
mc rm madiba-s3/your-bucket-name/your-file.txt
Full Example
-
Install
mc
sudo wget https://dl.min.io/client/mc/release/linux-amd64/mc
sudo chmod +x mc
sudo mv mc /usr/local/bin/
-
Configure
mc
mc alias set umlando-s3 https://s3.sive.host <access-key> <secret-key> --api S3v4
-
List Buckets
mc ls umlando-s3
-
Create a Bucket
mc mb umlando-s3/your-bucket-name
-
Upload a File to a Bucket
mc cp your-file.txt umlando-s3/your-bucket-name/
-
Download a File from a Bucket
mc cp umlando-s3/your-bucket-name/your-file.txt .
By using mc
, you can easily manage your Sive.Host S3 storage with a modern, user-friendly command-line interface.
-
Large files EndPoint: https://s3.sive.host
-
General files and generally compatible SSL security certificate EndPoint: https://s4.sive.host