当前位置:网站首页>Mongodb image configuration method

Mongodb image configuration method

2022-06-26 05:12:00 Meng Chu

Image download 、 Domain name resolution 、 Time synchronization please click Alibaba open source mirror site

MongoDB Is a database based on distributed file storage . from C++ Language writing . For the purpose of WEB Applications provide scalable, high-performance data storage solutions .

Configuration method

install ( Use yum Source installation ) stay /etc/yum.repos.d Create a mongodb-org.repo Source file

vi /etc/yum.repos.d/mongodb-org.repo

file

Add the following :( Configure even version , Odd edition is not suitable for production )

[mongodb-org] name = MongoDB Repositorybaseurl = https://mirrors.aliyun.com/mongodb/yum/redhat/$releasever/mongodb-org/3.6/x86_64/gpgcheck = 1 enabled = 1 gpgkey = https:// www.mongodb.org/static/pgp/server-3.6.asc

file

Execute the following command

cat /etc/yum.repos.d/mongodb-org.repo

file

( View version information command hostnamectl)

file

Finally, execute the command to install MongoDB

 yum install mongodb-org

file

Link to the original text :https://blog.csdn.net/Aug_Spark/article/details/122130573

原网站

版权声明
本文为[Meng Chu]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202180507138851.html