mongod
The MongoDB database server. More information: <https://docs.mongodb.com/manual/reference/program/mongod>.
Install
- All systems
-
curl cmd.cat/mongod.sh
- Debian
-
apt-get install mongodb-server
- Ubuntu
-
apt-get install mongodb-server
- Kali Linux
-
apt-get install mongodb-server
- Fedora
-
dnf install mongodb-server
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install mongodb-server
- Raspbian
-
apt-get install mongodb-server
- Dockerfile
- dockerfile.run/mongod
The MongoDB database server. More information: <https://docs.mongodb.com/manual/reference/program/mongod>.
-
Specify a config file:
mongod --config filename
-
Specify the port to listen on:
mongod --port port
-
Specify database profiling level. 0 is off, 1 is only slow operations, 2 is all:
mongod --profile 0|1|2
© tl;dr; authors and contributors