linux centos7安装minio
时间: 2023-08-06 13:05:38 浏览: 172
安装Minio的步骤如下:
1. 首先,使用以下命令下载Minio的安装包:
```
yum install -y wget
mkdir /opt/minio
wget https://dl.minio.org.cn/server/minio/release/linux-amd64/minio-20230210184839.0.0.x86_64.rpm -O minio.rpm
```
2. 然后,使用以下命令安装并启动Minio:
```
rpm -ivh minio.rpm
minio server /opt/minio --console-address ":9001"
```
3. 如果需要下载Minio的客户端,可以使用以下命令:
```
wget https://dl.minio.io/client/mc/release/linux-amd64/mc
```
4. 创建数据文件夹和日志文件:
```
mkdir /home/minio/data
touch /home/minio/log/minio.log
```
5. 最后,使用以下命令启动Minio:
```
chmod 777 minio
./minio server /home/minio/data
```
以上是在前台启动Minio的命令,如果需要在后台启动,可以使用以下命令:
```
nohup ./minio server /home/minio/data > /home/minio/log/minio.log &
```
请注意,这些命令是基于CentOS 7操作系统的安装步骤。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* [Centos 7 安装系列(9):Minio (rpm 方式)](https://blog.csdn.net/qq_42449106/article/details/129299548)[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^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [Centos7环境下搭建minio步骤详细教程](https://blog.csdn.net/Ye_Xing_/article/details/127736327)[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^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文