====== Сервис MinIO ======
* [[https://www.digitalocean.com/community/tutorials/how-to-set-up-minio-object-storage-server-in-standalone-mode-on-ubuntu-20-04|How To Set Up MinIO Object Storage Server in Standalone Mode on Ubuntu 20.04]]
===== Сервер =====
* [[https://min.io/docs/minio/linux/operations/install-deploy-manage/deploy-minio-single-node-single-drive.html|Deploy MinIO: Single-Node Single-Drive]]
* [[https://dl.min.io/server/minio/release/linux-amd64/]]
# wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio_20240214213602.0.0_amd64.deb -O minio.deb
# dpkg -i minio.deb
groupadd -r minio-user
useradd -M -r -g minio-user minio-user
mkdir -p /disk2/minio-data/
chown -R minio-user:minio-user /disk2/minio-data/
# cat /etc/default/minio
MINIO_VOLUMES="/disk2/minio-data/"
MINIO_ROOT_USER=root
MINIO_ROOT_PASSWORD=strongpassword
# systemctl start minio
===== Клиент =====
==== Браузер ====
* [[http://minio.corpX.un:9000]]
==== mcli ====
* [[https://dl.min.io/client/mc/release/linux-amd64/]]
# wget https://dl.min.io/client/mc/release/linux-amd64/mcli_20231024214222.0.0_amd64.deb
# dpkg -i mcli_*_amd64.deb
$ mcli alias set myminio http://minio.corp16.un:9000 root 'strongpassword'
или
$ mcli alias set myminio http://minio.corp16.un:9000 ACCESS_KEY SECRET_KEY
$ mcli admin info myminio
$ mcli ls --recursive --versions myminio
===== Интеграция с Keycloak =====
* [[https://min.io/docs/minio/macos/operations/external-iam/configure-keycloak-identity-management.html|Configure MinIO for Authentication using Keycloak]]
* Сервис Keycloak [[Сервис Keycloak#Добавление атрибутов]]
* [[Пакет OpenSSL#Импорт сертификата центра сертификации]]
# service minio restart
Administrator
Identity
OpenID
Create Configuration
Name: corpX
* Остальные параметры как здесь: [[Сервис HTTP#Управление доступом к HTTP серверу с использованием OpenID аутентификации]]