当前位置:网站首页>Minio single node deployment Minio distributed deployment fool deployment process (I)
Minio single node deployment Minio distributed deployment fool deployment process (I)
2022-06-23 07:32:00 【Stoblie】
An existing requirement requires access to the storage system , After preliminary investigation , Decide to choose minio, Here is minio Simple deployment process for , No problem with the test .
One 、 preparation : install docker, Study docker Related knowledge , Learning disk mount
S1: Install the dependency Kit
yum install -y yum-utils S2: Set up a remote warehouse
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repoS3: install docker
yum install docker-ce -yS4: start-up docker And adding auto start
service docker start # start-up docker
chkconfig docker on # chkconfig mysqld on S5: see docker edition
docker versionThe following provides lazy man installation , Direct execution sh File can :
# install_docker.sh
yum install -y yum-utils
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum install docker-ce -y
service docker start
chkconfig docker on
docker versionTwo 、 Single node deployment minio
2.1 Single node single disk deployment
Single node deployment is divided into single disk deployment 、 Multi disk deployment , Single disk is not recommended here , because minio The erasure code algorithm of requires at least 4 Block disk , Otherwise, the erasure code cannot be applied , Data security and high availability cannot be guaranteed .
| MINIO_ACCESS_KEY | Login account |
| MINIO_SECRET_KE | The login password |
Single disk deployment command :
docker run -it -d -p 9000:9000 --name minio1 \
-e "MINIO_ACCESS_KEY=minio" \
-e "MINIO_SECRET_KEY=minio123" \
-v /opt/data1:/data1 \
-v /opt/config:/root/.minio
minio/minio server /data1
Use it directly : The host machine ip:9000 Can access
Note the attached directory ( When the disk makes ) Must be empty .
2.2 Single node multi disk deployment
In the case of multiple disks in a single node , Half of the disk damage can still be read losslessly , But you can't upload , At least half +1 The disk can only be uploaded when it is normal .
Multi disk deployment command :
docker run -it -d -p 9000:9000 --name minio1 \
-e "MINIO_ACCESS_KEY=minio" \
-e "MINIO_SECRET_KEY=minio123" \
-v /opt/data1:/data1 \
-v /opt/data2:/data2 \
-v /opt/data3:/data3 \
-v /opt/data4:/data4 \
-v /opt/config:/root/.minio
minio/minio server /data1 /data2 /data3 /data4Multi node deployment is published on minio Single node deployment minio Distributed deployment Foolproof deployment process ( Two ) in
边栏推荐
猜你喜欢

【PyQt5系列】修改计数器实现控制

MySQL (VIII) - explain

Deeplab V3 code structure diagram

TensorFlow中的数据类型

链游飞船开发 农民世界链游开发 土地链游开发

Live broadcast review | how can the container transformation of traditional applications be fast and stable?

Wechat multiplayer chat and Roulette Games (websocket Implementation)

Product axure9 (English version), prototype design background dynamic secondary menu display content

MySQL(四) — MySQL存储引擎

How to quickly and gracefully download large files from Google cloud disk (II)
随机推荐
Wechat multiplayer chat and Roulette Games (websocket Implementation)
MySQL Niuke brush questions
Flannel 工作原理
OSI分层模型对工作的具体帮助
SimpleDateFormat 线程安全问题
Akamai-1.75 version-_ Abck parameter generation JS reverse analysis
. H5 file forgets the database name and uses h5py to print
Focusing on the industry, enabling customers | release of solutions for the five industries of the cloud container cloud product family
Nacos adapts Oracle11g create table DDL statement
Nacos adapts to oracle11g- modify the source code of Nacos
leetcode210. Schedule II 207 Curriculum topology sorting DFS BFS
NTU-RGBD数据集下载及数据格式解析
Specific help of OSI layered model to work
Akamai-1.75版本-_abck参数生成-js逆向分析
[game theory] basic knowledge
MySQL(八) — 执行计划(Explain)详解
csrf攻击在laravel中如何解决
897. incremental sequential search tree
RFID data security experiment: C # visual realization of parity check, CRC redundancy check and Hamming code check
Spock constraint - call frequency / target / method parameters