1. Hướng dẫn cài đặt MongoDB 3.4 trên CentOS 7
2. How To Install MongoDB on CentOS 7
3. How to Stop and Disable Firewalld on CentOS 7
4. (MongoDB) WARNING: Access control is not enabled for the database
5. Install MongoDB on CentOS 7
6. How to Install MongoDB on CentOS 7
7. How to Install and Configure MongoDB on CentOS 7
8. Install MongoDB Community Edition on Red Hat or CentOS
2. How To Install MongoDB on CentOS 7
3. How to Stop and Disable Firewalld on CentOS 7
5. Install MongoDB on CentOS 7
6. How to Install MongoDB on CentOS 7
7. How to Install and Configure MongoDB on CentOS 7
8. Install MongoDB Community Edition on Red Hat or CentOS
MongoDB has released a new stable version 4.2 with lots of major enhancements. This tutorial latest tested on CentOS 7 and help you to install MongoDB 4.2 on CentOS 8/7/6 and RHEL 8/7/6 systems.
Step 1 – Add MongoDB Yum Repository
Add the following content in yum repository configuration file mongodb.repo as per your required MongoDB version and system architecture. For this article, we are using MongoDB 4.0 repository.
CentOS and RedHat systems Only
Step 2 – Install MongoDB Server
Let’s use the yum package manager to install mongodb-org package, it will automatically install all its dependencies. To install any specific revision of MongoDB specify package name with version like mongodb-org-4.0.0. The following command will install the latest stable version available.
Step 3 – Start MongoDB Service
Package mongodb-org-server provided MongoDB init script, Use that script to start service.
Configure MongoDB to autostart on system boot.
Step 4 – Check MongoDB Version
Use the following command to check installed MongoDB version
Connect MongoDB using the command line and execute some test commands for checking proper working.
Nguồn bài đăng: tecadmin.net
Không có nhận xét nào:
Đăng nhận xét