Table of Contents

Сервис MinIO

Сервер

# 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

Клиент

Браузер

mcli

# 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

# service minio restart
Administrator
  Identity
    OpenID
      Create Configuration
        Name: corpX