安装minio的rpm步骤
时间: 2023-05-27 16:08:08 浏览: 98
minio.rar minio存储的rpm安装包、启动脚本、配置文件
以下是安装MinIO的RPM步骤:
1. 下载MinIO的RPM包:
```bash
wget https://dl.min.io/server/minio/release/linux-amd64/minio-20200122185623-release.x86_64.rpm
```
2. 安装MinIO的RPM包:
```bash
sudo rpm -ivh minio-20200122185623-release.x86_64.rpm
```
3. 启动MinIO服务:
```bash
sudo systemctl start minio
```
4. 设置MinIO服务开机自启:
```bash
sudo systemctl enable minio
```
5. 验证MinIO服务是否已经启动:
```bash
sudo systemctl status minio
```
如果MinIO服务已经启动,则会显示类似于以下的输出:
```bash
● minio.service - High Performance Object Storage
Loaded: loaded (/usr/lib/systemd/system/minio.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2020-01-22 19:04:03 EST; 2s ago
Main PID: 17038 (minio)
Tasks: 10 (limit: 50000)
Memory: 24.3M
CGroup: /system.slice/minio.service
└─17038 /usr/bin/minio server /data
Jan 22 19:04:03 localhost.localdomain systemd[1]: Started High Performance Object Storage.
Jan 22 19:04:03 localhost.localdomain minio[17038]: Endpoint: http://192.168.0.100:9000 http://127.0.0.1:9000
Jan 22 19:04:03 localhost.localdomain minio[17038]: AccessKey: XXXXXXXXXXXXXXXXXXXX
Jan 22 19:04:03 localhost.localdomain minio[17038]: SecretKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
```
这样你就成功安装了MinIO的RPM包,并启动了MinIO服务。
阅读全文