$ sudo -i passwd
$ su -
Login as root to install minio server. For any form of confusions go through the references.
brew install minio/stable/minio
minio server home/shared
or
brew install minio/stable/mc
chmod +x minio
./minio servre /mnt/minio or /home/shared
export MINIO_ACCESS_KEY=minio
export MINIO_SECRET_KEY=minio13
minio server home/shared
HINT: Access key length should be at least 3, and secret key length at least 8 characters