IntroductionMinio is an object storage service based on the Apache License v2.0 open source protocol. It is very suitable for storing large-capacity unstructured data, such as pictures, videos, log files, backup data, and container/virtual machine images. An object file can be of any size, ranging from a few KB to a maximum of 5T. Minio is a very lightweight service that can be easily integrated with other applications. Official website: MinIO | High Performance, Kubernetes Native Object Storage Chinese website: MinIO | High-performance, Kubernetes-friendly object storage InstallThis time we use docker for installation (operating system: centos7) Using a container to start up requires a persistent volume to store configuration and application data, otherwise the stored data will be lost when the container exits. 1. Create the folder to be mountedmkdir /mydata/minio/data mkdir /mydata/minio/config 2. Pull the imagedocker pull minio/minio 3. Create a containerdocker run \ -p 9000:9000 \ -p 9001:9001 \ --name minio \ -v /mydata/minio/data:/data \ -v /mydata/minio/config:/root/.minio \ -e "MINIO_ROOT_USER=admin" \ -e "MINIO_ROOT_PASSWORD=123456Ab" \ minio/minio server /data --console-address ":9001" Set API port 9000, web console port 9001, username: admin, password: 123456Ab. The above information indicates that the startup is successful. You can add the -d parameter to start it in the background. 4. Open portsfirewall-cmd --zone=public --add-port=9001/tcp --permanent firewall-cmd --reload use1. Browser accessEnter http://ip:9001 in the browser Enter the username and password set when starting the container and enter the homepage: 2. Add a new bucketBuckets -> Create Bucket+ 3. Set up bucketClick Manage->Access Rules->Add Access Rules Prefix: * Access: readwrite 4. Upload and browse picturesEnter test-bucket and click upload logo.png Next, you can access the uploaded image through http://ip:9000/test-bucket/logo.png. This article only introduces the installation of minio and its simple use in the browser. The next article will introduce how to use the Java client to operate minio. You may also be interested in:
|
<<: Analysis of MySQL example DTID master-slave principle
>>: CSS code abbreviation div+css layout code abbreviation specification
Table of contents 1. Commonly used string functio...
Prerequisite: nginx needs to have the ngx_http_li...
Table of contents 1. Baidu Encyclopedia 1. MySQL ...
Table of contents posgresql backup/restore mysql ...
There are also two servers: Preparation: Set the ...
Table of contents Why understand the life cycle W...
Tomcat defines multiple ClassLoaders internally s...
1. Current date select DATE_SUB(curdate(),INTERVA...
A new window opens. Advantages: When the user cli...
When searching online for methods to install MySQ...
Table of contents Overview What is Big O notation...
Preface Normally, if we want to delete certain li...
Table of contents How to display SQL log? ? Descr...
Preface Docker can configure environment variable...
Table of contents DML statements 1. Insert record...