Mirror download, domain analysis, time synchronization, please click Alibaba open source mirror station
MongoDB is a database based on distributed files.Written by C ++ language.A high-performance data storage solution intended to provide an extendable high-performance data storage solution for web applications.
Configuration method
Install (using YUM Source) Create a mongoDB-Org.repo source file in /etc/yum.repos.d
Vi / etc / yum.repos.d / mongodb-org.repo
The added content is as follows: (Configure the even version, the odd version is not suitable for production)
[mongodb-org] name = mongodbrepositorybaseURL = gpgcheck = 1enabled = 1gpgKey = https: //
Perform the following command
CAT / etc / yum.repos.d / mongodb-org.repo
(View version information command hostnamectl)
Final execution command to install MongoDB
YUMINSTALLMONGODB-ORG
Original link: https://blog.csdn.net/aug_spark/Article/details/122130573