minio official website: https://www.minio.org.cn/
Deployment documentation: https://www.minio.org.cn/docs/minio/container/operations/install-deploy-manage/deploy-minio-single-node-single-drive.html#
Choose your own deployment environment:
The docker I use:
docker pull quay.io/minio/minio
Create a new /etc/default/minio file
cd /etc/default
touch minio
vim minio
Paste this into the minio file
# MINIO_ROOT_USER and MINIO_ROOT_PASSWORD sets the root account for the MinIO server.
# This user has unrestricted permissions to perform S3 and administrative API operations on any resource in the deployment.
# Omit to use the default values 'minioadmin:minioadmin'.
# MinIO recommends setting non-default values as a best practice, regardless of environment
MINIO_ROOT_USER=myminioadmin
MINIO_ROOT_PASSWORD=minio-secret-key-change-me
# MINIO_VOLUMES sets the storage volume or path to use for the MinIO server.
MINIO_VOLUMES="/mnt/data"
# MINIO_SERVER_URL sets the hostname of the local machine for use with the MinIO Server
# MinIO assumes your network control plane can correctly resolve this hostname to the local machine
docker run:
replace 978c88f16d2e with your own
docker run -dt \
-p 9000:9000 -p 9090:9090 \
-v PATH:/mnt/data \
-v /etc/default/minio:/etc/config.env \
-e "MINIO_CONFIG_ENV_FILE=/etc/config.env" \
--name "minio_local" \
978c88f16d2e server --console-address ":9090"
Then access 127.0.0.1:9090. Generally, you need to go to the security group on the cloud to open the port, so that the external ip can be accessed.