minio centos 下载安装

三世轮回 提交于 2020-07-24 09:20:37

minio server 的下载安装

wget https://dl.min.io/server/minio/release/linux-amd64/minio
chmod +x minio
./minio server /mnt/data

后台启动

nohup ./minio server /data/minio > ./minio.log 2>&1 &

使用nginx做代理 client_max_body_size 设置为500兆,需要多少自己修改,默认是1m 不修改会出现上传100% 卡住的问题

server {
        listen       80 default_server;
        listen       [::]:80 default_server;
        server_name  _;
        client_max_body_size 500m;
        location / {
            proxy_pass   http://127.0.0.1:9000;
            proxy_set_header   Host    $host;
        }
        error_page 404 /404.html;
            location = /40x.html {
        }
        error_page 500 502 503 504 /50x.html;
            location = /50x.html {
        }
    }

mc client

  • 安装
alias mc="./mc"

再输 ./mc

mc: Configuration written to `/root/.mc/config.json`. Please update your access credentials.
mc: Successfully created `/root/.mc/share`.
mc: Initialized share uploads `/root/.mc/share/uploads.json` file.
mc: Initialized share downloads `/root/.mc/share/downloads.json` file.

说明安装成功了

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!