-
Install MongoDB Enterprise Advanced 4.0 using the following commands:
Purpose Command Add MongoDB Public Key wget -qO - https://www.mongodb.org/static/pgp/server-4.0.asc | sudo apt-key add -
Add MongoDB EA Repo echo "deb [ arch=amd64 ] http://repo.mongodb.com/apt/ubuntu bionic/mongodb-enterprise/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
Update Apt Package Cache sudo apt-get update
Install MongoDB EA 4.0.15 sudo apt-get install -y mongodb-enterprise=4.0.15 mongodb-enterprise-server=4.0.15 mongodb-enterprise-shell=4.0.15 mongodb-enterprise-mongos=4.0.15 mongodb-enterprise-tools=4.0.15
-
Edit the MongoDB Enterprise config file by running
sudo vi /etc/mongod.etc
update the binding, add it to a replica set, and enable username and password auth as shown below or in the sample config.
-
Install MongoDB Enterprise Advanced 4.0 using the following commands:
Purpose Command Add MongoDB Public Key wget -qO - https://www.mongodb.org/static/pgp/server-4.0.asc | sudo apt-key add -
Add MongoDB EA Repo echo "deb [ arch=amd64 ] http://repo.mongodb.com/apt/ubuntu bionic/mongodb-enterprise/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
Update Apt Package Cache sudo apt-get update
Install MongoDB EA 4.0.15 sudo apt-get install -y mongodb-enterprise=4.0.15 mongodb-enterprise-server=4.0.15 mongodb-enterprise-shell=4.0.15 mongodb-enterprise-mongos=4.0.15 mongodb-enterprise-tools=4.0.15
-
Edit the MongoDB Enterprise config file by running
sudo vi /etc/mongod.etc
update the binding, add it to a replica set, and enable username and password auth as shown below or in the sample config.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am graboskyc on github. | |
* I am graboskyc (https://keybase.io/graboskyc) on keybase. | |
* I have a public key ASArgt4YqTwNsd5oKnoWm80Ycxk3o50ygzC0Phh6i20nzQo | |
To claim this, I am signing this object: |