<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Heck's  Blog]]></title> 
<link>https://www.heckjj.com/index.php</link> 
<description><![CDATA[一瞬间的决定，往往可以改变很多，事实上，让自己成功的往往不是知识，是精神！ 如果你总是为自己找借口，那只好让成功推迟。执行力，今天！]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[Heck's  Blog]]></copyright>
<item>
<link>https://www.heckjj.com/post//</link>
<title><![CDATA[MinIO 服务器配置（配置目录）]]></title> 
<author>Heck &lt;@hecks.tk&gt;</author>
<category><![CDATA[运维管理]]></category>
<pubDate>Thu, 12 Jan 2023 07:09:44 +0000</pubDate> 
<guid>https://www.heckjj.com/post//</guid> 
<description>
<![CDATA[ 
	MinIO 服务器配置文件（config.json）存储在 --config-dir 指定的配置目录中，--config-dir 默认值为 $&#123;HOME&#125;/.minio（笔者的目录为 C:&#92;Users&#92;Administrator&#92;.minio）。<br/><br/>但是从 RELEASE.2018-08-18T03-49-57Z 之后的版本开始，配置文件已迁移到存储数据的 .minio.sys/config 目录（存储后端是启动服务器时传递给 MinIO 服务器的目录）。如果使用如下命令启动 MinIO 服务：<br/><br/><br/>minio.exe server D:/tmp/data<br/>则配置文件位于 D:&#92;tmp&#92;data&#92;.minio.sys&#92;config 目录中。<br/><br/>注意：你可以使用 mc -h 命令查看当前 MinIO 的版本信息，如下：<br/><br/><br/>D:&#92;server&#92;minio&gt;mc -h<br/>NAME:<br/>&nbsp;&nbsp;mc - MinIO Client for cloud storage and filesystems.<br/>...<br/>VERSION:<br/>&nbsp;&nbsp;RELEASE.2021-06-13T17-48-22Z<br/>您可以使用 --config-dir 指定现有配置的位置，MinIO 会自动将 config.json 迁移到您的后端存储。您当前 --config-dir 指定的 config.json 配置文件将在成功迁移后重命名为 config.json.deprecated。<br/><br/>如果你的配置文件位于 C:&#92;Users&#92;Administrator&#92;.minio&#92;config.json，MinIO 会自动将 config.json 中的配置迁移到 D:&#92;tmp&#92;data&#92;.minio.sys&#92;config&#92;config.json 文件，然后将 C:&#92;Users&#92;Administrator&#92;.minio&#92;config.json 重命名为 C:&#92;Users&#92;Administrator&#92;.minio&#92;config.json.deprecated。<br/><br/>此外 --config-dir 现在是一个遗留选项，计划在将来删除，因此请相应地更新您的本地启动和 ansible 脚本。使用如下命令去启动 MinIO 服务：<br/><br/>minio.exe server D:&#92;tmp&#92;data<br/>上面命令，将创建的存储桶以及存储桶中的对象放到 D:&#92;tmp&#92;data 目录，并且配置信息均位于 D:&#92;tmp&#92;data&#92;.minio.sys 目录。<br/><br/>
]]>
</description>
</item><item>
<link>https://www.heckjj.com/post//#blogcomment</link>
<title><![CDATA[[评论] MinIO 服务器配置（配置目录）]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://www.heckjj.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>