Linux部署 minio
时间: 2023-09-24 15:04:36 浏览: 475
要在Linux上部署Minio,你可以按照以下步骤进行操作:
1. 创建文件夹并下载安装包:
```
mkdir -p /home/minio
cd /home/minio
wget https://dl.min.io/server/minio/release/linux-amd64/minio
```
2. 给Minio安装包赋予执行权限:
```
chmod +x minio
```
3. 设置用户名和密码:
```
export MINIO_ACCESS_KEY=minioadmin
export MINIO_SECRET_KEY=minioadmin
```
4. 创建存储目录和日志文件:
```
mkdir -p /home/minio/data
cd /home/minio/data
touch minio.log
```
5. 配置防火墙开放端口权限:
```
firewall-cmd --zone=public --add-port=9000/tcp --permanent
firewall-cmd --zone=public --add-port=9999/tcp --permanent
firewall-cmd --reload
```
6. 启动Minio:
```
cd /home/minio
./minio server /home/minio/data
```
7. 如果需要后台启动,可以使用以下命令:
```
nohup ./minio server --address '0.0.0.0:9000' --console-address '0.0.0.0:9999' /home/minio/data >/home/minio/data/minio.log 2>&1 &
```
8. 最后,你可以通过浏览器访问Minio的地址,使用IP地址和端口号9999进行访问。
这些是在Linux上部署Minio的基本步骤。你可以根据需要进行相应的配置和操作。
#### 引用[.reference_title]
- *1* [linux部署minio文件系统](https://blog.csdn.net/TurboAnho/article/details/126289205)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [linux部署Minio(分布式文件服务器)](https://blog.csdn.net/qq_36725282/article/details/125413134)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [Linux 部署单机MinIO](https://blog.csdn.net/liming1016/article/details/127631509)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文