zoukankan      html  css  js  c++  java
  • minio单机部署

    一、minio单机部署

    1.1、版本选择

    # 根据自己需求选择版本
    http://dl.minio.org.cn/server/minio/release/linux-amd64/archive/
    

    1.2、部署

    [root@minio1 ~]#  wget http://dl.minio.org.cn/server/minio/release/darwin-amd64/minio
    [root@minio1 ~]#  chmod +x minio
    
    # 启动成功可以看到一些对应信息(不指定信息启动)
    [root@minio1 ~]# ./minio server /app/data
    
    ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
    ┃ You are running an older version of MinIO released 6 days ago ┃
    ┃ Update: Run `mc admin update`                                 ┃
    ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
    
    API: http://192.168.1.106:9000  http://127.0.0.1:9000         # 这里是固定的
    RootUser: minioadmin 
    RootPass: minioadmin 
    
    Console: http://192.168.1.106:34153 http://127.0.0.1:34153    # 这端口不指定的话是随机的
    RootUser: minioadmin 
    RootPass: minioadmin 
    
    Command-line: https://docs.min.io/docs/minio-client-quickstart-guide
       $ mc alias set myminio http://192.168.1.106:9000 minioadmin minioadmin
    
    Documentation: https://docs.min.io
    
    WARNING: Console endpoint is listening on a dynamic port (34153), please use --console-address ":PORT" to choose a static port.
    WARNING: Detected default credentials 'minioadmin:minioadmin', we recommend that you change these values with 'MINIO_ROOT_USER' and 'MINIO_ROOT_PASSWORD' environment variables
    
    
    

    1.3、指定用户名、密码、web端口启动

    export MINIO_ROOT_USER=admin
    export MINIO_ROOT_PASSWORD=admin123
    # 指定端口启动
    [root@minio1 ~]# ./minio server /app/data --console-address ":50000" 
    
    ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
    ┃ You are running an older version of MinIO released 6 days ago ┃
    ┃ Update: Run `mc admin update`                                 ┃
    ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
    
    API: http://192.168.1.106:9000  http://127.0.0.1:9000     
    RootUser: admin 
    RootPass: admin123 
    
    Console: http://192.168.1.106:50000 http://127.0.0.1:50000   
    RootUser: admin 
    RootPass: admin123 
    
    Command-line: https://docs.min.io/docs/minio-client-quickstart-guide
       $ mc alias set myminio http://192.168.1.106:9000 admin admin123
    
    Documentation: https://docs.min.io
    

    1.4、基于dockers启动

    docker run -d -p 9000:9000 -p 50000:50000 --name minio   
    -e "MINIO_ROOT_USER=admin"   
    -e "MINIO_ROOT_PASSWORD=12345678"  
    -v /mnt/data:/data   
    -v /mnt/config:/root/.minio  
    minio/minio server --console-address ":50000" /data 
    
  • 相关阅读:
    远程、标签
    NUnit单元测试资料汇总
    jdk1.6下载页面
    javac: cannot execute binary file
    how to remove MouseListener / ActionListener on a JTextField
    Linux下chkconfig命令详解(转)
    如何让vnc控制由默认的twm界面改为gnome?(转)
    winzip15.0注冊码
    微服务的优缺点
    站点建设10个最好的响应的HTML5滑块插件
  • 原文地址:https://www.cnblogs.com/hsyw/p/15416862.html
Copyright © 2011-2022 走看看