{"id":792,"date":"2024-07-15T22:19:56","date_gmt":"2024-07-15T14:19:56","guid":{"rendered":"https:\/\/www.madbull.site\/?p=792"},"modified":"2026-03-03T10:45:53","modified_gmt":"2026-03-03T02:45:53","slug":"minio%e7%9a%84%e5%ae%a2%e6%88%b7%e7%ab%afmcli%e5%9f%ba%e7%a1%80%e6%93%8d%e4%bd%9c","status":"publish","type":"post","link":"https:\/\/www.madbull.site\/?p=792","title":{"rendered":"minio\u7684\u5ba2\u6237\u7aefmcli\u57fa\u7840\u64cd\u4f5c"},"content":{"rendered":"\n<p>\u4ece\u7cfb\u7edfrpm\u5b89\u88c5\uff0c\u5ba2\u6237\u7aef\u540d\u5b57\u53ef\u80fd\u53eb mcli\u3002\u4e5f\u53ef\u4ee5\u76f4\u63a5\u4ece\u5b98\u65b9\u6587\u6863\u76f4\u63a5\u4e0b\u8f7d\u9759\u6001\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u5de5\u5177\u540d mc\u3002<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>wget <a href=\"https:\/\/dl.min.io\/client\/mc\/release\/linux-amd64\/mc\">https:\/\/dl.min.io\/client\/mc\/release\/linux-amd64\/mc<\/a><\/p>\n\n\n\n<p>\u5176\u4ed6\u670d\u52a1\u3001\u5de5\u5177\u3001SDK\u7b49\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"https:\/\/min.io\/download?license=agpl&amp;platform=linux\">https:\/\/min.io\/download?license=agpl&amp;platform=linux<\/a><\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-accent-3-color has-text-color has-link-color wp-elements-802febacc7e5e735d3e42fa6671a590c\"><strong>1 \u8d77\u522b\u540d aaaa<\/strong><\/p>\n\n\n\n<p>mcli alias set aaaa http:\/\/xx.xx.xx.xx:9000 user passwd<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-accent-3-color has-text-color has-link-color wp-elements-ff0f7d6b2d4a18bc88791c3d385654d7\"><strong>2 \u5217\u51fa\u6240\u6709\u7684\u522b\u540d<\/strong><\/p>\n\n\n\n<p>mcli alias ls<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-accent-3-color has-text-color has-link-color wp-elements-bab64f147cbc9385a75f4290b7a07736\"><strong>3 \u5220\u9664\u522b\u540d aaaa<\/strong><\/p>\n\n\n\n<p>mcli alias rm aaaa<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-accent-3-color has-text-color has-link-color wp-elements-1a1400599a11149f0db017fa642426dd\"><strong>4 \u521b\u5efa\u4e00\u4e2a\u6876 tttt<\/strong><\/p>\n\n\n\n<p>mcli mb aaaa\/tttt<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-accent-3-color has-text-color has-link-color wp-elements-6244449e7fadad2457c2558ce77fe636\"><strong>5 \u5217\u51fa\u6240\u6709\u7684\u6876<\/strong><\/p>\n\n\n\n<p>mcli ls aaaa<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-accent-3-color has-text-color has-link-color wp-elements-05e8786ee079590b2776e6ee6e70bcac\"><strong>6 \u5220\u9664\u4e00\u4e2a\u6876<\/strong><\/p>\n\n\n\n<p>mcli rb aaaa\/tttt<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-accent-3-color has-text-color has-link-color wp-elements-4201d76a314ea91449e0c7426f77fb86\"><strong>7 \u5217\u51fa\u6876\u91cc\u7684\u6587\u4ef6<\/strong><\/p>\n\n\n\n<p>mcli ls aaaa\/tttt<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-accent-3-color has-text-color has-link-color wp-elements-19fa23c7586158cb5bf8618ce460c0d2\"><strong>8 \u5411\u6876\u91cc\u6dfb\u52a0\u6587\u4ef6<\/strong><\/p>\n\n\n\n<p>mcli cp xxx.file aaaa\/tttt\/<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-accent-3-color has-text-color has-link-color wp-elements-623e38c86c2e561090e1e72b74f8d885\"><strong>9 \u83b7\u53d6\u6876\u91cc\u7684\u6587\u4ef6<\/strong><\/p>\n\n\n\n<p>mcli cp aaaa\/tttt\/xxx.file .\/<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-accent-3-color has-text-color has-link-color wp-elements-e8bca5ef7dacba4ca6707184099de0ed\"><strong>10 \u9ed8\u8ba4\u914d\u7f6e\u6587\u4ef6\u8def\u5f84\u5730\u5740<\/strong><\/p>\n\n\n\n<p>~\/.mc\/config.json<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>minio\u7684\u5ba2\u6237\u7aefmcli\u57fa\u672c\u64cd\u4f5c<br \/>\n\u4ece\u7cfb\u7edfrpm\u5b89\u88c5\uff0c\u5ba2\u6237\u7aef\u540d\u5b57\u53ef\u80fd\u53eb mcli\u3002\u4e5f\u53ef\u4ee5\u76f4\u63a5\u4ece\u5b98\u65b9\u6587\u6863\u76f4\u63a5\u4e0b\u8f7d\u9759\u6001\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u5de5\u5177\u540d mc\u3002<br \/>\nwget https:\/\/dl.min.io\/client\/mc\/release\/linux-amd64\/mc<br \/>\n\u5176\u4ed6\u670d\u52a1\u3001\u5de5\u5177\u3001SDK\u7b49\u4e0b\u8f7d\u5730\u5740\uff1ahttps:\/\/min.io\/download?license=agpl&#038;platform=linux<\/p>\n","protected":false},"author":1,"featured_media":993,"comment_status":"open","ping_status":"open","sticky":false,"template":"single-with-sidebar","format":"standard","meta":{"footnotes":""},"categories":[135,166,131],"tags":[325,324,329,326,330,328,327],"class_list":["post-792","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-tools","category-131","tag-mcli","tag-minio","tag-329","tag-326","tag-330","tag-328","tag-327"],"_links":{"self":[{"href":"https:\/\/www.madbull.site\/index.php?rest_route=\/wp\/v2\/posts\/792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.madbull.site\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.madbull.site\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.madbull.site\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.madbull.site\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=792"}],"version-history":[{"count":7,"href":"https:\/\/www.madbull.site\/index.php?rest_route=\/wp\/v2\/posts\/792\/revisions"}],"predecessor-version":[{"id":2475,"href":"https:\/\/www.madbull.site\/index.php?rest_route=\/wp\/v2\/posts\/792\/revisions\/2475"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.madbull.site\/index.php?rest_route=\/wp\/v2\/media\/993"}],"wp:attachment":[{"href":"https:\/\/www.madbull.site\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.madbull.site\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.madbull.site\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}