minIO文件服务器

发布时间:2026/9/11 10:54:13
minIO文件服务器 许可证变更问题MinIO 从 2023 年左右的版本大致 RELEASE.2023-04-20 及以后将许可证从 Apache 2.0 改为 GNU AGPL v3 商业许可证AGPL v3如果你的项目是商业闭源且直接修改 MinIO 核心代码并对外提供服务需要开源相关代码仅作为 “工具” 部署使用比如搭建私有存储则不受 AGPL 约束对绝大多数学习者 / 中小企业完全友好。Apache 2.0 版本旧版本如 RELEASE.2023-03-20 及之前仍保留 Apache 2.0 许可证无开源约束。console功能移除的问题MinIO 在新版本大致 RELEASE.2025-04-28 及以后的官方 Docker 镜像中默认移除了内置的 Console Web 管理界面改为推荐使用 minio console 命令单独启动或部署独立的 Console 镜像。对新手来说直接装新版本会看不到可视化界面学习体验差。使用docker安装指定版本拉镜像与运行dockerpull minio/minio:RELEASE.2022-06-20T23-13-45Z.fipsdockerimagesmkdir-p/opt/minio/configmkdir-p/opt/minio/datadockerrun-d--nameminio\-p9000:9000-p9090:9090\-d--restartalways\-eMINIO_ACCESS_KEYminioadmin\-eMINIO_SECRET_KEYminioadmin\-v/opt/minio/data:/data\-v/opt/minio/config:/root/.minio\minio/minio:RELEASE.2022-06-20T23-13-45Z.fips server\/data --console-address:9090-address:90005、访问操作访问http://192.168.168.101:9090/login用户名密码 minioadminminioadmin老版服务启动脚本#!/bin/bash# 后台运行 ./minIOstart.shexportMINIO_ACCESS_KEYlichaofengexportMINIO_SECRET_KEYlichaofeng_pwdnohup/home/michael/minio server /home/michael/minioData/home/michael/minioData/minio.log21新版服务启动脚本#!/bin/bash# 后台运行 ./minIOstart.shexportMINIO_ROOT_USERlichaofengexportMINIO_ROOT_PASSWORDlichaofeng_pwdnohup/home/michael/minio server /home/michael/minioData--address:8848--console-address:8849/home/michael/minioData/minio.log21minio帮助文档./minio --help[michaelhadoop101 ~]$ ./minio --help NAME: minio - High Performance Object Storage DESCRIPTION: Build high performance data infrastructure for machine learning, analytics and application data workloads with MinIO USAGE: minio [FLAGS] COMMAND [ARGS...] COMMANDS: server start object storage server gateway start object storage gateway FLAGS: --certs-dir value, -S value path to certs directory (default: /home/michael/.minio/certs) --quiet disable startup information --anonymous hide sensitive information from logging --json output server logs and startup information in json format --help, -h show help --version, -v print the version VERSION: RELEASE.2021-07-22T05-23-32Z./minio server --help[michaelhadoop101 ~]$ ./minio server --help NAME: minio server - start object storage server USAGE: minio server [FLAGS] DIR1 [DIR2..] minio server [FLAGS] DIR{1...64} minio server [FLAGS] DIR{1...64} DIR{65...128} DIR: DIR points to a directory on a filesystem. When you want to combine multiple drives into a single large system, pass one directory per filesystem separated by space. You may also use a ... convention to abbreviate the directory arguments. Remote directories in a distributed setup are encoded as HTTP(s) URIs. FLAGS: --address value bind to a specific ADDRESS:PORT, ADDRESS can be an IP or hostname (default: :9000) --console-address value bind to a specific ADDRESS:PORT for embedded Console UI, ADDRESS can be an IP or hostname --certs-dir value, -S value path to certs directory (default: /home/michael/.minio/certs) --quiet disable startup information --anonymous hide sensitive information from logging --json output server logs and startup information in json format --help, -h show help EXAMPLES: 1. Start minio server on /home/shared directory. $ minio server /home/shared 2. Start single node server with 64 local drives /mnt/data1 to /mnt/data64. $ minio server /mnt/data{1...64} 3. Start distributed minio server on an 32 node setup with 32 drives each, run following command on all the nodes $ export MINIO_ROOT_USERminio $ export MINIO_ROOT_PASSWORDminiostorage $ minio server http://node{1...32}.example.com/mnt/export{1...32} 4. Start distributed minio server in an expanded setup, run the following command on all the nodes $ export MINIO_ROOT_USERminio $ export MINIO_ROOT_PASSWORDminiostorage $ minio server http://node{1...16}.example.com/mnt/export{1...32} \ http://node{17...64}.example.com/mnt/export{1...64}./minio gateway --help[michaelhadoop101 ~]$ ./minio gateway --help NAME: minio gateway - start object storage gateway USAGE: minio gateway COMMAND [COMMAND FLAGS | -h] [ARGUMENTS...] COMMANDS: nas Network-attached storage (NAS) azure Microsoft Azure Blob Storage s3 Amazon Simple Storage Service (S3) hdfs Hadoop Distributed File System (HDFS) gcs Google Cloud Storage FLAGS: --address value bind to a specific ADDRESS:PORT, ADDRESS can be an IP or hostname (default: :9000) --console-address value bind to a specific ADDRESS:PORT for embedded Console UI, ADDRESS can be an IP or hostname --certs-dir value, -S value path to certs directory (default: /home/michael/.minio/certs) --quiet disable startup information --anonymous hide sensitive information from logging --json output server logs and startup information in json format --help, -h show helphttps://www.cnblogs.com/Chary/articles/18271409https://www.fengfengzhidao.com/article/64cHuJsB0_1Q2CSUEGs3