Editing /etc/mongodb.conf

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 +
<pre>
 +
# mongodb.conf
 +
 +
# Where to store the data.
 +
dbpath=/var/lib/mongodb
 +
 +
#where to log
 +
logpath=/var/log/mongodb/mongodb.log
 +
 +
logappend=true
  
# mongodb.conf
+
bind_ip = 127.0.0.1
+
#port = 27017
# Where to store the data.
 
dbpath=/var/lib/mongodb
 
 
#where to log
 
logpath=/var/log/mongodb/mongodb.log
 
 
logappend=true
 
 
bind_ip = 127.0.0.1
 
#port = [[27017]]
 
  
# Enable journaling, http://www.mongodb.org/display/DOCS/Journaling
+
# Enable journaling, http://www.mongodb.org/display/DOCS/Journaling
journal=true
+
journal=true
+
 
# Enables periodic logging of CPU utilization and I/O wait
+
# Enables periodic logging of CPU utilization and I/O wait
#cpu = true
+
#cpu = true
+
 
# Turn on/off security.  Off is currently the default
+
# Turn on/off security.  Off is currently the default
#noauth = true
+
#noauth = true
#auth = true
+
#auth = true
+
 
# Verbose logging output.
+
# Verbose logging output.
#verbose = true
+
#verbose = true
+
 
# Inspect all client data for validity on receipt (useful for
+
# Inspect all client data for validity on receipt (useful for
# developing drivers)
+
# developing drivers)
#objcheck = true
+
#objcheck = true
+
 
# Enable db quota management
+
# Enable db quota management
#quota = true
+
#quota = true
+
 
# Set diagnostic logging level where n is
+
# Set diagnostic logging level where n is
#  0=off (default)
+
#  0=off (default)
#  1=W
+
#  1=W
#  2=R
+
#  2=R
#  3=both
+
#  3=both
#  7=W+some reads
+
#  7=W+some reads
#diaglog = 0
+
#diaglog = 0
  
<pre>
 
 
# Diagnostic/debugging option
 
# Diagnostic/debugging option
 
#nocursors = true
 
#nocursors = true

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Template used on this page:

Advertising: