安裝minio
服務(wù)器信息
ip | 系統(tǒng) | 配置 | 目錄 | 版本 |
---|---|---|---|---|
172.24.32.202 | centos7.7 | 4c16g | /data/minio/data | xxx |
官網(wǎng)推薦docker快速部署,這里源碼安裝
1荆秦、參考地址:
https://github.com/minio/minio
2逆日、創(chuàng)建目錄
mkdir -p /data/minio /data/minio/data
3、下載文件
cd /data/minio
wget https://dl.min.io/server/minio/release/linux-amd64/minio
4萄凤、賦權(quán)
chmod +x minio
5室抽、配置啟動文件
cat>>/usr/lib/systemd/system/minio.service<<EOF
[Unit]
Description=minio
After=network.target
[Service]
Type=simple
User=root
ExecStart=/data/minio/minio server /data/minio/data
ExecReload=/bin/kill -HUP
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
6、啟動和開機(jī)自啟動
systemctl start minio
systemctl enable minio
7靡努、查看信息坪圾。待改進(jìn)(日志重定向)
tailf -n 50 /var/log/messages
May 20 21:27:10 localhost minio: Endpoint: http://172.24.32.202:9000 http://127.0.0.1:9000
May 20 21:27:10 localhost minio: Browser Access:
May 20 21:27:10 localhost minio: http://172.24.32.202:9000 http://127.0.0.1:9000
May 20 21:27:10 localhost minio: Object API (Amazon S3 compatible):
May 20 21:27:10 localhost minio: Go: https://docs.min.io/docs/golang-client-quickstart-guide
May 20 21:27:10 localhost minio: Java: https://docs.min.io/docs/java-client-quickstart-guide
May 20 21:27:10 localhost minio: Python: https://docs.min.io/docs/python-client-quickstart-guide
May 20 21:27:10 localhost minio: JavaScript: https://docs.min.io/docs/javascript-client-quickstart-guide
May 20 21:27:10 localhost minio: .NET: https://docs.min.io/docs/dotnet-client-quickstart-guide
May 20 21:27:10 localhost minio: Detected default credentials 'minioadmin:minioadmin', please change the credentials immediately using 'MINIO_ACCESS_KEY' and 'MINIO_SECRET_KEY'
8、客戶端的安裝
cd /data/minio
wget https://dl.min.io/client/mc/release/linux-amd64/mc
chmod +x mc