MongoDB is one incarnation of the NoSQL type database management systems. It is a document type DBMS. Document in casu means JSON document. MongoDB is not standardly installed on many machines, and it is not part of any of the packages we have already installed. The installation and setup is described here for Mac OSX, and for MS Windows
brew update
brew tap mongodb/brew
brew install mongodb-community
sudo mkdir -p /Users/yourownuserid/data/db
sudo chmod 777 /Users/yourownuserid/data/db
nohup mongod --dbpath=/Users/yourownuserid/data/db &
Replace yourownuserid
with your own userid :)
After each time you computer has been switched off
you must repeat
nohup mongod --dbpath=/Users/yourownuserid/data/db &
Look up https://www.wdb24.com/how-to-install-mongodb-windows-10/ and follow the procedure. Takes precision. Follow the steps carefully.
mongod
. Preferably
as a service, so that you don't have to think about
activating it.