当前位置:网站首页>Tencent ECS installs the Minio object storage tool
Tencent ECS installs the Minio object storage tool
2022-06-24 04:04:00 【Xuxunlonely】
minio The management port of is 9000
Tencent cloud server security group policy has been released 9000 port , If it is still inaccessible , You need to use ssh open nfw A firewall (ubuntu firewall) Set up , command :ufw allow 9000
The following command enables traffic to all incoming ports , Range from 9000 To 9010.
ufw allow 9000:9010/tcp
1, Bare metal direct deployment minio
wget http://dl.minio.org.cn/server/minio/release/linux-amd64/minio( Choose the right one according to your host minio edition )
chmod +x minio( change minio Executive authority )
./minio server /data( function minio, In this step, you can specify the running port as required , Add... At the end of the order :--console-address": The port number you specified ")
2,docker Deploy minio
(1) Use daocloud Script installation docker:
curl -sSL https://get.daocloud.io/docker | sh
(2) Check the installation status
sudo service docker status
perhaps docker -v
(3) install minio
docker pull minio/minio
(4) function mino Containers
docker run -p 9000:9000 --name minio1 -v /mnt/data:/data -v /mnt/config:/root/.minio minio/minio server /data --console-address ":3XXX5"
After installation, the local access address will be returned :
API: http://10.206.0.13:9000 http://172.17.0.1:9000 http://127.0.0.1:9000
RootUser: minioadmin
RootPass: minioadmin
Console: http://10.206.0.13:43969 http://172.17.0.1:43969 http://127.0.0.1:43969
RootUser: minioadmin
RootPass: minioadmin
After opening the corresponding port, it will http://127.0.0.1:9000 Medium 172.17.0.1 Replace with the server address for remote access console port ( It will jump automatically )
picture
*Centos How to open the specified port of firewall
For enabled firewall-cmd (CentOS) The host , You can use firewall-cmd Command to allow traffic on a specific port . Use the following command to allow access to the port 9000
firewall-cmd --get-active-zones
This command gets the active area . Now? , Apply the port rule to the relevant area returned above . for example , If the area is public, Please use
firewall-cmd --zone=public --add-port=9000/tcp --permanent
Please note that ,“permanent” Make sure that the rules start at the firewall 、 Is persistent on restart or reload . Finally, reload the firewall for the changes to take effect .
firewall-cmd --reload
iptables
For enabled iptables The host (RHEL、CentOS etc. ), You can use iptables Enable all traffic to enter a specific port . Use the following command to allow visit 9000 port
iptables -A INPUT -p tcp --dport 9000 -j ACCEPT
service iptables restart
The following command enables traffic to all incoming ports , Range from 9000 To 9010.
iptables -A INPUT -p tcp --dport 9000:9010 -j ACCEPT
service iptables restart
边栏推荐
- 给你讲懂 MVCC
- Black hat SEO practice: General 301 weight PR hijacking
- How to select a high-performance amd virtual machine? AWS, Google cloud, ucloud, Tencent cloud test big PK
- ClickHouse(02)ClickHouse架构设计介绍概述与ClickHouse数据分片设计
- MySQL cases SQL causes 100% CPU utilization
- How to remote server is the price of the server expensive
- RPM 包的构建 - SPEC 基础知识
- TCP three handshakes and four waves
- 开源一款监控数据采集器,啥都能监控
- API real-time signature scheme based on Yapi
猜你喜欢

老弹出explorer.exe遇到问题已停止工作,怎么办?

Brief ideas and simple cases of JVM tuning - how to tune

祝贺钟君成为 CHAOSS Metric Model 工作组的 Maintainer

halcon知识:区域(Region)上的轮廓算子(2)

On game safety (I)

Common content of pine script script

Black hat actual combat SEO: never be found hijacking

openEuler社区理事长江大勇:共推欧拉开源新模式 共建开源新体系
![[code Capriccio - dynamic planning] t392 Judgement subsequence](/img/59/9da6d70195ce64b70ada8687a07488.png)
[code Capriccio - dynamic planning] t392 Judgement subsequence

Idea 1 of SQL injection bypassing the security dog
随机推荐
What is FTP? What is the FTP address of the ECS?
Hprof information in koom shark with memory leak
Prometheus pushgateway
Rasa 3. X learning series -rasa 3.2.0 new release
SQL注入绕过安全狗思路一
Easyplayer consumes traffic but does not play video and reports an error libdecoder Wasm404 troubleshooting
LeetCode 1281. Difference of sum of bit product of integer
On game safety (I)
高斯光束及其MATLAB仿真
Several good books for learning data
How to identify information more quickly and accurately through real-time streaming media video monitoring?
hprofStringCache
你了解TLS协议吗?
Psexec right raising
Common content of pine script script
内存泄漏之KOOM
Dialogue with Google technical experts: soundstream is expected to be used for general audio coding in the future
Notice on stopping maintenance of this column
黑帽实战SEO之永不被发现的劫持
golang clean a slice