Install Minio
To deploy minio Minio on Linux, you need to have some knowledge and skills of the Linux operating system, and here are some Linux infrastructures and popular Linux distributions that will be used.
...
This document assumes that the Linux OS is already deployed and administrators of minio Minio have been granted root permission to Linux.
Create a
...
Minio file storage path
|
Create
...
Minio certificate key file path
Code Block |
---|
mkdir /opt/mino/certs -p |
Create a / opt/minio/docker-compose.yml file and save the following to the file
Code Block |
---|
version: "3.9" services: minio: image: minio/minio:latest command: server /data --address ":8892" --console-address ":8890" --certs-dir "/tmp/certs" container_name: minio ports: - "8892:8892" - "8890:8890" environment: - MINIO_ROOT_USER= [Initial administrator account] - MINIO_ROOT_PASSWORD= [Initial administrator password] volumes: - /opt/minio/data:/data - /opt/minio/certs:/tmp/certs healthcheck: test: ["CMD", "curl", "-f", "https://127.0.0.1:8890/minio/health/live"] interval: 30s timeout: 20s retries: 3 restart: always |
...
Note:
8890 is the login port of the management background. The specific access address is https://webdomain:8890.
8892 is the file access port, and the specific access address is https://webdomain:8892/bucket/file
MINIO_ROOT_USER and MINIO_ROOT_PASSWORD are the initial administrator account / password. Use this account to log in to the minio management backend after successful installation.
Store the server certificate file under the / opt/minio/certs path
Please take the steps listed below.
Purchase a Domain (for example, cloudfon.net) from the domain provider (for example, GoDaddy.) for your CX.
Add an A record in the Domain DNS zone, and resolve the Domain to your CX IP, for example: point the cx.cloudfon.net to CX server IP.
Purchase a certificate from the trust certificate provider for your domain, for example, Digicert, Thawte, GeoTrust; If you want to make it easier to manage multi-tenants, you'd better apply for a wildcard certificate.
Generate the CSR file and private key file according to the certificate provider’s guide, and keep the files. usuallyUsually, you will have two files: the certificate and the private key. Note, please choose the certificates for Nginx.
Rename the private key file as private.key.
Rename the public crt file as public.crt.
Code Block |
---|
cd /opt/minio/certs # Rename certifiate file to private.key mv cert_key.pem private.key # Rename certifiate file to yourname_cx.pem mv cert.pem public.crt |
Execute the docker installation
...
Minio instruction
Code Block |
---|
docker compose -f docker-compose.yml up -d |
Configure
...
Minio
(1) Login to the minio Minio server via https://webdomain:8890
...
(4) Set access permission to Public
...
Configure
...
Minio integration
Log in to the system administrator portal, click "Advance"-> "“Connector Hub Setting"-> "File Server" and then slect select the type with "“Minio" ” to enter the Minio settings page.
Enter the previously created bucket, Access Key, Secret Key, and external access address in the corresponding configuration:
...
Note:
The bucket is configured as the bucket name created in minioMinio
The endpoint is configured as a minio Minio file access address, https://webdomain:8892
Access Key and Secret Key are the keys created in the minio Minio management background