Skip to main content

MinIO

Set-up

Careful

The set-up is only necessary once. If there is a running minio server on your machine you shouldn't create a new one, except for specific reasons. When in doubt double-check with your team mates.

To set up the minio bucket follow the steps describes here:

1. Install the minio server:

wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio_20240310025348.0.0_amd64.deb -O minio.deb

sudo dpkg -i minio.deb

2. Launch the minio server:

Choose the port you would like to use and the location of the minio bucket.

minio server --address=:{port} {/location/of/bucket/}

E.g.

minio server --address=:10000 /mnt/data3/minio

3. Check connection:

Go to your browser and check the local port. For the viopsy-pc it would be something like: http://viopsy-pc:10000

Enter the standard username: minioadmin and password: minioadmin

Stop Service

1. Install the mc tool
2. Create an alias

mc alias set 'myminio' 'http://{address}' '{username}' '{password}'

3. Test the connection

mc admin info myminio

4. Stop the service

mc admin service stop myminio