{"id":1094,"date":"2024-09-03T17:53:17","date_gmt":"2024-09-03T09:53:17","guid":{"rendered":"https:\/\/www.madbull.site\/?p=1094"},"modified":"2024-10-16T10:52:34","modified_gmt":"2024-10-16T02:52:34","slug":"minio%e9%9b%86%e7%be%a4%e9%83%a8%e7%bd%b2-linux%e7%8e%af%e5%a2%83","status":"publish","type":"post","link":"https:\/\/www.madbull.site\/?p=1094","title":{"rendered":"minio\u96c6\u7fa4\u90e8\u7f72&#8211;linux\u73af\u5883"},"content":{"rendered":"\n<p class=\"has-x-large-font-size\"><strong>\u7b2c\u4e00\u6b65\uff1a\u5b89\u88c5<\/strong><\/p>\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-medium-font-size\">\u6709rpm\u3001deb\u3001\u548c\u4e8c\u8fdb\u5236\u6587\u4ef6\u5b89\u88c5\u65b9\u5f0f\u3002\u53c2\u8003\u6587\u6863\u5728\uff1a<a href=\"https:\/\/min.io\/docs\/minio\/linux\/index.html\">https:\/\/min.io\/docs\/minio\/linux\/index.html<\/a>\u3002<\/p>\n\n\n\n<p><strong>\u6bcf\u4e00\u53f0\u53c2\u4e0e\u96c6\u7fa4\u7684\u670d\u52a1\u5668\u90fd\u9700\u8981\u5b89\u88c5\u3002<\/strong><\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" 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-large-font-size\"><strong>1.1 rpm\u5b89\u88c5<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">\u76f4\u63a5\u4ece\u5b98\u65b9\u4e0b\u8f7d\uff0c\u4f7f\u7528 rpm -i \u6216\u8005 dnf install \u547d\u4ee4\u5c31\u53ef\u4ee5<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/dl.min.io\/server\/minio\/release\/linux-amd64\/archive\/minio-20240826153307.0.0-1.x86_64.rpm -O minio.rpm\nsudo dnf install minio.rpm<\/code><\/pre>\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-large-font-size\"><strong>1.2 deb\u5b89\u88c5<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">\u76f4\u63a5\u4ece\u5b98\u65b9\u4e0b\u8f7d\u8fd0\u884c\uff0c\u4f7f\u7528 dpkg -i \u5c31\u53ef\u4ee5<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/dl.min.io\/server\/minio\/release\/linux-amd64\/archive\/minio_20240826153307.0.0_amd64.deb -O minio.deb\nsudo dpkg -i minio.deb<\/code><\/pre>\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-large-font-size\"><strong>1.3 \u4e8c\u8fdb\u5236\u5b89\u88c5<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">\u7531\u4e8eminio\u662f\u7eaf\u9759\u6001\u7f16\u8bd1\u7684\uff0c\u4e0d\u9700\u8981\u5916\u90e8\u94fe\u63a5\u5e93\uff0c\u53ef\u4ee5\u76f4\u63a5\u4e0b\u8f7d\u540e\u8fd0\u884c\u3002\u53ea\u8981CPU\u6307\u4ee4\u96c6\u548c\u64cd\u4f5c\u7cfb\u7edf\u5408\u9002\uff0c\u57fa\u672c\u5c31\u4f1a\u8fd0\u884c\uff0c\u517c\u5bb9\u6027\u5f88\u5f3a\u3002\u52a0\u53ef\u6267\u884c\u6743\u9650\u540e\uff0c\u653e\u5728 \/usr\/local\/bin\/ \u76ee\u5f55\u5373\u53ef\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/dl.min.io\/server\/minio\/release\/linux-amd64\/minio\nchmod +x minio\nsudo mv minio \/usr\/local\/bin\/<\/code><\/pre>\n<\/div>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<p class=\"has-x-large-font-size\"><strong>\u7b2c\u4e8c\u6b65\uff1a\u521b\u5efa\u7528\u6237<\/strong><\/p>\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-medium-font-size\">\u4e0d\u63a8\u8350\u7528root\u76f4\u63a5\u8fd0\u884cminio\uff0c\u6b64\u5904\u521b\u5efa\u7528\u6237minio\uff0c\u5e76\u628a\u5b58\u50a8\u5377\uff08\u6570\u636e\u76ee\u5f55\uff09\u6743\u9650\u7ed9\u5230minio\u7528\u6237\u3002\u7528\u6237\u540d\u968f\u610f\u3002<strong>\u6bcf\u4e00\u53f0\u53c2\u4e0e\u96c6\u7fa4\u7684\u670d\u52a1\u5668\u90fd\u9700\u8981\u521b\u5efa\u7528\u6237\u3002<\/strong><\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"528\" height=\"116\" src=\"https:\/\/www.madbull.site\/wp-content\/uploads\/2024\/09\/\u56fe\u7247-6.png\" alt=\"\" class=\"wp-image-1096\" srcset=\"https:\/\/www.madbull.site\/wp-content\/uploads\/2024\/09\/\u56fe\u7247-6.png 528w, https:\/\/www.madbull.site\/wp-content\/uploads\/2024\/09\/\u56fe\u7247-6-300x66.png 300w\" sizes=\"auto, (max-width: 528px) 100vw, 528px\" \/><\/figure>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>adduser \u548c useradd \u547d\u4ee4\u5404\u4e2a\u7cfb\u7edf\u7248\u672c\u53c2\u6570\u4e0d\u4e00\u81f4\uff0c\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u6dfb\u52a0\u7528\u6237\u3002<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-medium-font-size\">\u5b58\u50a8\u5377\u6bcf\u4e2a\u76ee\u5f55\u6700\u597d\u5355\u72ec\u6302\u8f7d\u786c\u76d8\uff0c\u5173\u4e8e\u786c\u76d8\u5206\u533a\u3001\u5236\u4f5c\u6587\u4ef6\u7cfb\u7edf\u3001\u6302\u8f7d\uff0c\u53c2\u770b\u5f80\u671f\u6587\u7ae0\uff1a<a href=\"https:\/\/www.madbull.site\/?p=1056\">https:\/\/www.madbull.site\/?p=1056<\/a><\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<p class=\"has-x-large-font-size\"><strong>\u7b2c\u4e09\u6b65\uff1a\u914d\u7f6e\u90e8\u7f72<\/strong><\/p>\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-medium-font-size\">\u6b64\u5904\u9700\u8981\u914d\u7f6e minio.service\u3001\u4e3b\u673a\u540d\u548c\u542f\u52a8\u65f6\u7684\u73af\u5883\u53d8\u91cf\u3002<strong>\u6bcf\u4e00\u53f0\u53c2\u4e0e\u96c6\u7fa4\u7684\u8bbe\u5907\u90fd\u8981\u505a\u5982\u4e0b\u76f8\u540c\u7684\u914d\u7f6e\u3002<\/strong><\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-large-font-size\"><strong>3.1 \u914d\u7f6e minio.service<\/strong><\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u521b\u5efa \/usr\/lib\/systemd\/system\/minio.service \u6587\u4ef6\u3002\u5982\u679c\u662f rpm \u6216\u8005 deb \u5b89\u88c5\u7684\uff0c\u5219\u9ed8\u8ba4\u5c31\u5b58\u5728\u8fd9\u4e24\u4e2a\u6587\u4ef6\uff0c\u53ea\u9700\u8981\u4fee\u6539\u5373\u53ef\u3002\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Unit]\nDescription=MinIO\nDocumentation=https:\/\/docs.min.io\nWants=network-online.target\nAfter=network-online.target\nAssertFileIsExecutable=\/usr\/local\/bin\/minio\n\n&#91;Service]\nType=notify\n\nWorkingDirectory=\/usr\/local\n\nUser=minio\nGroup=minio\nProtectProc=invisible\n\nEnvironmentFile=-\/etc\/minio\/minio.conf\nExecStart=\/usr\/local\/bin\/minio server $MINIO_OPTS $MINIO_VOLUMES\n\n# Let systemd restart this service always\nRestart=always\n\n# Specifies the maximum file descriptor number that can be opened by this process\nLimitNOFILE=1048576\n\n# Turn-off memory accounting by systemd, which is buggy.\nMemoryAccounting=no\n\n# Specifies the maximum number of threads this process can create\nTasksMax=infinity\n\n# Disable timeout logic and wait until process is stopped\nTimeoutSec=infinity\n\nSendSIGKILL=no\n\n&#91;Install]\nWantedBy=multi-user.target\n\n# Built for ${project.name}-${project.version} (${project.name})<\/code><\/pre>\n\n\n\n<p>\u5176\u4e2d\uff0c\u73af\u5883\u53d8\u91cf\u6587\u4ef6\uff0c\u9ed8\u8ba4\u662f EnvironmentFile=-\/etc\/default\/minio \u3002\u6211\u8fd9\u91cc\u4fee\u6539\u6210 EnvironmentFile=-\/etc\/minio\/minio.conf<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>User\u548cGroup\u4f7f\u7528\u4e86\u7b2c\u4e8c\u6b65\u521b\u5efa\u7684minio\u7528\u6237<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" 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-large-font-size\"><strong>3.2 \u8bbe\u7f6e \/etc\/hosts \u4fe1\u606f<\/strong><\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u6253\u5f00 \/etc\/hosts \u6587\u4ef6\uff0c\u6dfb\u52a0\u9700\u8981\u505a\u96c6\u7fa4\u7684\u51e0\u53f0\u7cfb\u7edf IP \u5730\u5740\u548c\u4e3b\u673a\u540d\uff0c\u5982\u4e0b\u56fe\uff0c\u8fd9\u662f3\u53f0\u8bbe\u5907\u7684\u914d\u7f6e\u3002<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"502\" height=\"222\" src=\"https:\/\/www.madbull.site\/wp-content\/uploads\/2024\/09\/\u56fe\u7247-8.png\" alt=\"\" class=\"wp-image-1100\" srcset=\"https:\/\/www.madbull.site\/wp-content\/uploads\/2024\/09\/\u56fe\u7247-8.png 502w, https:\/\/www.madbull.site\/wp-content\/uploads\/2024\/09\/\u56fe\u7247-8-300x133.png 300w\" sizes=\"auto, (max-width: 502px) 100vw, 502px\" \/><\/figure>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<p class=\"has-large-font-size\"><strong>3.3 \u914d\u7f6e\u542f\u52a8\u73af\u5883\u53d8\u91cf<\/strong><\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u521b\u5efa \/etc\/minio\/minio.conf \u6587\u4ef6\uff0c\u5e76\u505a\u4ee5\u4e0b\u914d\u7f6e\uff1a<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"570\" height=\"198\" src=\"https:\/\/www.madbull.site\/wp-content\/uploads\/2024\/09\/\u56fe\u7247-7.png\" alt=\"\" class=\"wp-image-1098\" srcset=\"https:\/\/www.madbull.site\/wp-content\/uploads\/2024\/09\/\u56fe\u7247-7.png 570w, https:\/\/www.madbull.site\/wp-content\/uploads\/2024\/09\/\u56fe\u7247-7-300x104.png 300w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/figure>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u6211\u8fd9\u91cc\u51c6\u5907\u4e863\u53f0\u8bbe\u5907\u5206\u522b\u662f xxxnode1 xxxnode2 xxxnode3\uff0c\u6bcf\u53f0\u8bbe\u5907\u63d0\u4f9b\u4e24\u4e2a\u78c1\u76d8\uff0c\u6302\u8f7d\u5230 \/data\/minio_1 \u548c \/data\/minio_2\u76ee\u5f55\uff0c\u6240\u4ee5\u8fd9\u6837\u914d\u7f6e\u3002\u9700\u8981\u6839\u636e\u81ea\u5df1\u7684\u73af\u5883\u8c03\u6574\u914d\u7f6e\u3002<\/p>\n\n\n\n<p>\u5b57\u6bb5\u89e3\u91ca\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MINIO_ROOT_USER : \u7ba1\u7406\u5458\u7528\u6237\u540d\nMINIO_ROOT_PASSWORD : \u7ba1\u7406\u5458\u5bc6\u7801\nMINIO_STORAGE_CLASS_STANDARD : \u6807\u51c6\u5b58\u50a8\u7ea0\u5220\u7801\u7ea7\u522b\u8bbe\u7f6e\u4e3a EC:2\nMINIO_STORAGE_CLASS_RSS : REDUCED\u5b58\u50a8\u7c7b\u7ea0\u5220\u7801\u7ea7\u522b\u4e5f\u8bbe\u7f6e\u4e3a EC:2\nMINIO_VOLUMES : \u8bbe\u7f6e\u5b58\u50a8\u5377\u5730\u5740\n\n\u5982\u679c\u8bbe\u7f6e\u5176\u4ed6\u53c2\u6570\uff0c\u53ef\u4ee5\u52a0\u5728MINIO_OPTS\u53d8\u91cf\u91cc\u3002\u4f8b\u5982\uff1a\nMINIO_OPTS=\"--console-address :9013 --address :9011\"<\/code><\/pre>\n\n\n\n<p>\u8bbe\u7f6e\u7ba1\u7406\u53f0\u767b\u5f55\u9875\u9762\u7aef\u53e3\u662f 9013\uff0c\u53ef\u4ee5\u901a\u8fc7 http:\/\/xx.xx.xx.xx:9013 \u8bbf\u95ee\u7ba1\u7406\u9875\u9762\u3002<\/p>\n\n\n\n<p>\u8bbe\u7f6e\u6570\u636e\u8bbf\u95ee\u7aef\u53e3\u4e3a 9013\uff0c\u9ed8\u8ba4\u662f 9000\uff0c\u4fee\u6539\u6b64\u7aef\u53e3\uff0cMINIO_VOLUMES \u4e5f\u8981\u505a\u76f8\u5e94\u7684\u6539\u53d8\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u8981<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-3-color\">\u5355\u673a\u90e8\u7f72<\/mark><\/strong>\uff0c\u9700\u8981\u628aMINIO_STORAGE_CLASS_STANDARD \u548c MINIO_STORAGE_CLASS_RSS \u8bbe\u7f6e\u4e3a <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-3-color\">EC:0<\/mark><\/strong>\uff0c\u628a<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-3-color\"><strong>MINIO_VOLUMES \u8bbe\u7f6e\u4e3a\u7edd\u5bf9\u8def\u5f84<\/strong><\/mark>\u5373\u53ef\uff0c\u4e0d\u9700\u8981\u5e26\u57df\u540d\u7aef\u53e3\u7b49\u4fe1\u606f\u3002<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<p class=\"has-x-large-font-size\"><strong>\u7b2c\u56db\u6b65\uff0c\u542f\u52a8<\/strong><\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>systemctl daemon-reload \u91cd\u65b0\u52a0\u8f7d systemd \u914d\u7f6e<\/p>\n\n\n\n<p>systemctl start minio \u542f\u52a8minio\uff0c\u9700\u8981\u5bf9\u6bcf\u53f0\u8bbe\u5907\u90fd\u542f\u52a8\u624d\u53ef\u4ee5\u3002<\/p>\n\n\n\n<p>systemctl enable minio \u8bbe\u7f6e\u4e3a\u5f00\u673a\u542f\u52a8<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u5173\u4e8e\u5ba2\u6237\u7aef\u7684\u4f7f\u7528\u95ee\u9898\uff0c\u53c2\u770b\u5f80\u671f\u6587\u7ae0\uff1a<a href=\"https:\/\/www.madbull.site\/?p=792\">https:\/\/www.madbull.site\/?p=792<\/a> \u53ef\u7528\u521b\u5efa bucket \uff0c\u590d\u5236\u8fdb\u53bb\u6587\u4ef6\u53cacat\u83b7\u53d6\uff0c\u4ee5\u53ca\u5207\u6362\u8fde\u63a5\u4e0d\u540c\u7684\u8bbe\u5907\u6765\u67e5\u770b\u96c6\u7fa4\u662f\u5426\u751f\u6548\u3002<\/p>\n\n\n\n<div style=\"margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10);height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>SDK\u5f00\u53d1\u53c2\u770b\u5f80\u671f\u6587\u7ae0\uff1a<\/p>\n\n\n\n<p>python\u8fde\u63a5minio\uff1a<a href=\"https:\/\/www.madbull.site\/?p=989\">https:\/\/www.madbull.site\/?p=989<\/a> <\/p>\n\n\n\n<p>golang\u8fde\u63a5minio:  <a href=\"https:\/\/www.madbull.site\/?p=928\">https:\/\/www.madbull.site\/?p=928<\/a><\/p>\n\n\n\n<p>\u7531\u4e8e\u65f6\u95f4\u4e0d\u540c\u6b65\u5bfc\u81f4minio\u670d\u52a1\u5f02\u5e38\uff0c\u53c2\u770b\u5f80\u671f\u6587\u7ae0\uff1a<a href=\"https:\/\/www.madbull.site\/?p=1078\">https:\/\/www.madbull.site\/?p=1078<\/a> \u5b9e\u73b0NTP\u65f6\u95f4\u540c\u6b65<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b2c\u4e00\u6b65\uff1a\u5b89\u88c5<br \/>\n\u6709rpm\u3001deb\u3001\u548c\u4e8c\u8fdb\u5236\u6587\u4ef6\u5b89\u88c5\u65b9\u5f0f\u3002\u53c2\u8003\u6587\u6863\u5728\uff1ahttps:\/\/min.io\/docs\/minio\/linux\/index.html<br \/>\n1.1 rpm\u5b89\u88c5<br \/>\n\u76f4\u63a5\u4ece\u5b98\u65b9\u4e0b\u8f7d\uff0c\u4f7f\u7528 rpm -i \u6216\u8005 dnf install \u547d\u4ee4\u5c31\u53ef\u4ee5<br \/>\nwget https:\/\/dl.min.io\/server\/minio\/release\/linux-amd64\/archive\/minio-20240826153307.0.0-1.x86_64.rpm -O minio.rpm<br \/>\nsudo dnf install minio.rpm<br \/>\n1.2 deb\u5b89\u88c5<\/p>\n<p>\u76f4\u63a5\u4ece\u5b98\u65b9\u4e0b\u8f7d\u8fd0\u884c\uff0c\u4f7f\u7528 dpkg -i \u5c31\u53ef\u4ee5<\/p>\n<p>wget https:\/\/dl.min.io\/server\/minio\/release\/linux-amd64\/archive\/minio_20240826153307.0.0_amd64.deb -O minio.deb<br \/>\nsudo dpkg -i minio.deb<br \/>\n1.3 \u4e8c\u8fdb\u5236\u5b89\u88c5<br \/>\n\u7531\u4e8eminio\u662f\u7eaf\u9759\u6001\u7f16\u8bd1\u7684\uff0c\u4e0d\u9700\u8981\u5916\u90e8\u94fe\u63a5\u5e93\uff0c\u53ef\u4ee5\u76f4\u63a5\u4e0b\u8f7d\u540e\u8fd0\u884c\u3002\u53ea\u8981CPU\u6307\u4ee4\u96c6\u548c\u64cd\u4f5c\u7cfb\u7edf\u5408\u9002\uff0c\u57fa\u672c\u5c31\u4f1a\u8fd0\u884c\uff0c\u517c\u5bb9\u6027\u6781\u5f3a\u3002\u52a0\u53ef\u6267\u884c\u6743\u9650\u540e\uff0c\u653e\u5728 \/usr\/local\/bin\/ \u76ee\u5f55\u5373\u53ef\u3002<\/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,131],"tags":[432,324,431,257,429,430,428,427],"class_list":["post-1094","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-131","tag-hosts","tag-minio","tag-431","tag-257","tag-429","tag-430","tag-428","tag-427"],"_links":{"self":[{"href":"https:\/\/www.madbull.site\/index.php?rest_route=\/wp\/v2\/posts\/1094","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=1094"}],"version-history":[{"count":14,"href":"https:\/\/www.madbull.site\/index.php?rest_route=\/wp\/v2\/posts\/1094\/revisions"}],"predecessor-version":[{"id":1557,"href":"https:\/\/www.madbull.site\/index.php?rest_route=\/wp\/v2\/posts\/1094\/revisions\/1557"}],"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=1094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.madbull.site\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.madbull.site\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}