Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
MongoDB
(view source)
Revision as of 15:09, 27 October 2021
672 bytes added
,
15:09, 27 October 2021
→Install
Line 98:
Line 98:
systemctl {start|stop|restart} mongodb
systemctl {start|stop|restart} mongodb
+
+
+
=== USing keys===
+
+
config setprop mongod service status enabled
+
+
Minimal config I use for Rocket.Chat
+
+
grep '^[[:blank:]]*[^[:blank:]#;]' /etc/mongod.conf
+
+
systemLog:
+
verbosity: 0
+
destination: file
+
logAppend: true
+
path: /var/log/mongodb/mongod.log
+
storage:
+
dbPath: /var/lib/mongo
+
journal:
+
enabled: true
+
processManagement:
+
fork: true # fork and run in background
+
pidFilePath: /var/run/mongodb/mongod.pid # location of pidfile
+
timeZoneInfo: /usr/share/zoneinfo
+
net:
+
port: 27017
+
bindIp: 127.0.0.1 # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6 addresses or, alternatively, use the net.bindIpAll setting.
+
replication:
+
replSetName: rs0
===Vaporise or reinitialise the database===
===Vaporise or reinitialise the database===
ReetP
Bureaucrats
,
Administrators (Semantic MediaWiki)
,
Curators (Semantic MediaWiki)
,
Administrators
877
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search