amazon-s3:minio:minio-installation-on-centos
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
amazon-s3:minio:minio-installation-on-centos [2024/09/23 19:23] – created odefta | amazon-s3:minio:minio-installation-on-centos [2024/09/23 19:40] (current) – odefta | ||
---|---|---|---|
Line 37: | Line 37: | ||
<code bash> | <code bash> | ||
+ | sudo useradd -r minio-user -s / | ||
+ | sudo chown minio-user: | ||
</ | </ | ||
+ | <code bash> | ||
+ | sudo systemctl daemon-reload | ||
+ | sudo systemctl start minio | ||
+ | sudo systemctl enable minio | ||
+ | sudo systemctl status minio | ||
+ | </ | ||
+ | Now minio server should be available at: http:// | ||
+ | |||
+ | ===== Minio client installation (mc) ===== | ||
+ | |||
+ | <code bash> | ||
+ | wget https:// | ||
+ | chmod +x mc | ||
+ | sudo mv mc / | ||
+ | </ | ||
+ | |||
+ | ==== Configure mc alias ==== | ||
+ | |||
+ | Here as an example UygtBiTCOKAM4efljkMk is the access key and vVaOKM1hpHadL229z67JCIbw4JNRtIs3fGmU0BS6 is the secret key. \\ These should be configured from the UI (http:// | ||
+ | < | ||
+ | mc alias set myminio http:// | ||
+ | </ | ||
+ | |||
+ | ==== List bucket content ==== | ||
+ | |||
+ | Here partial-rights is a bucket inside myminio alias. | ||
+ | < | ||
+ | mc ls myminio/ | ||
+ | </ | ||
+ | |||
+ | ==== Push a file (upload) ==== | ||
+ | |||
+ | Here full-access is a folder inside the partial-rights bucket. | ||
+ | < | ||
+ | mc cp / | ||
+ | </ | ||
+ | |||
+ | ==== Pull a file (download) ==== | ||
+ | |||
+ | Here TestFile file from the full-access folder is downloaded in /tmp folder. | ||
+ | < | ||
+ | mc cp myminio/ | ||
+ | </ |
amazon-s3/minio/minio-installation-on-centos.1727108580.txt.gz · Last modified: 2024/09/23 19:23 by odefta