-
Notifications
You must be signed in to change notification settings - Fork 1
MongoDB
GradedJestRisk edited this page Oct 20, 2024
·
1 revision
Overview:
- install
- make service star on startup:
sudo systemctl enable mongod - start:
sudo service mongod start, on default port 27017 - status:
sudo service mongod status - connect:
mongo - enable monitoring:
db.enableFreeMonitoring() - stop:
sudo service mongod stop
- conf:
/etc/mongod.conf, options here - data:
/var/lib/mongodb - logs:
/var/log/mongodb