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
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4b7c549a058f8b6b | |
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list | |
sudo apt update | |
sudo apt -y install mongodb-org |
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
{ | |
"set" : "configReplSet", | |
"date" : ISODate("2022-01-22T23:19:01.283Z"), | |
"myState" : 1, | |
"term" : NumberLong(1), | |
"syncSourceHost" : "", | |
"syncSourceId" : -1, | |
"configsvr" : true, | |
"heartbeatIntervalMillis" : NumberLong(2000), | |
"majorityVoteCount" : 2, |