1- Import the MongoDB public GPG Key:
2- Create the /etc/apt/sources.list.d/mongodb-org-4.2.list file for Ubuntu 18.04 (Bionic):
3- Reload the local package database:
4- Install MongoDB:
5- Start MongoDB service:
6- Start a Mongo shell:
8- Create users database:
9- Create an adminstrator user:
10- Exit the Mongo shell:
11- Open the MongoDB configuration file sudo vim /etc/mongod.conf and edit the following parameters:
12- Restart MongoDB process:
No comments:
Post a Comment