当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
898. subarray bitwise OR operation
279. perfect square
Akamai-1.75版本-_abck参数生成-js逆向分析
MySQL(四) — MySQL存储引擎
闫氏DP分析法
Arthas-thread命令定位线程死锁
用户态和内核态
在线文本过滤小于指定长度工具
Database principle experiment test questions, about book classification table
TensorFlow中的数据类型
[2022 graduation season] from graduation to transition to the workplace
Simpledateformat thread safety issues
Spock constraint - call frequency / target / method parameters
Download the OSS file and modify the file name
UNET code implementation
leetcode210. Schedule II 207 Curriculum topology sorting DFS BFS
G++ compilation command use
Mysql数据库的几个特点
[AI practice] xgb Xgbregression multioutputregressor parameter 2 (GPU training model)
How to quickly and gracefully download large files from Google cloud disk (II)








