git .

记一次在线安装minIo

#’ 代表使用root用户登录
[root@shenhua-mcsvc1-sunxianggang testusr]# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core) 
[root@localhost testusr]###################  下载二进制文件,启动服务##################  
[root@localhost testusr]# wget https://dl.min.io/server/minio/release/linux-amd64/minio
[root@localhost testusr]# chmod +x minio
[root@localhost testusr]# mv minio /usr/bin
[root@localhost testusr]# 
[root@localhost testusr]################### 手动设置登陆帐号密码: ##################
[root@localhost testusr]#export MINIO_ACCESS_KEY=admin
[root@localhost testusr]#export MINIO_SECRET_KEY=password
[root@localhost testusr]#
[root@localhost testusr]# mkdir -p /data/testusr/minio-file
[root@localhost testusr]# mkdir -p /data/testusr/logs
[root@localhost testusr]# ################## 检查端口占用情况: ##################
[root@localhost testusr]# netstat -lntup|egrep '9000|9001'
[root@localhost testusr]# ################## 启动脚本: ##################
[root@localhost testusr]# minio server /data/testusr/minio-data --address :9000 --console-address :9001 >> /data/testusr/logs/minio.log &
[root@localhost testusr]# netstat -lntup|egrep '9000|9001'
tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      32590/minio         
tcp6       0      0 :::9000                 :::*                    LISTEN      32590/minio         
tcp6       0      0 ::1:9000                :::*                    LISTEN      32590/minio         
tcp6       0      0 :::9001                 :::*                    LISTEN      32590/minio  
[root@localhost testusr]# tail -f /data/testusr/logs/minio.log
Copyright: 2015-2023 MinIO, Inc.
License: GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
Version: RELEASE.2023-02-27T18-10-45Z (go1.19.6 linux/amd64)

Status:         1 Online, 0 Offline. 
API: http://127.0.0.1:9000  http://127.0.0.1:9000     
Console: http://127.0.0.1:9001 http://127.0.0.1:9001   

Documentation: https://min.io/docs/minio/linux/index.html
Warning: The standard parity is set to 0. This can lead to data loss.

minio报错:io.minio.errors.ErrorResponseException: The specified bucket does not exist
登录http://127.0.0.1:9001控制台创建指定名称的 bucket。

参考资料

https://blog.csdn.net/eyeofeagle/article/details/102856331/

posted @   baishier  阅读(324)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示