Advertisement
Guest User

Mongo

a guest
Oct 17th, 2014
702
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. # mongodb.conf
  2.  
  3. # Where to store the data.
  4.  
  5. # Note: if you run mongodb as a non-root user (recommended) you may
  6. # need to create and set permissions for this directory manually,
  7. # e.g., if the parent directory isn't mutable by the mongodb user.
  8. dbpath=/var/lib/mongodb
  9.  
  10. #where to log
  11. logpath=/var/log/mongodb/mongodb.log
  12.  
  13. logappend=true
  14.  
  15. bind_ip = 127.0.0.1
  16. port = 27017
  17.  
  18. # Disables write-ahead journaling
  19. # nojournal = true
  20.  
  21. # Enables periodic logging of CPU utilization and I/O wait
  22. #cpu = true
  23.  
  24. # Turn on/off security. Off is currently the default
  25. #noauth = true
  26. #auth = true
  27.  
  28. # Verbose logging output.
  29. #verbose = true
  30.  
  31. # Inspect all client data for validity on receipt (useful for
  32. # developing drivers)
  33. #objcheck = true
  34.  
  35. # Enable db quota management
  36. #quota = true
  37.  
  38. # Set oplogging level where n is
  39. # 0=off (default)
  40. # 1=W
  41. # 2=R
  42. # 3=both
  43. # 7=W+some reads
  44. #diaglog = 0
  45.  
  46. # Ignore query hints
  47. #nohints = true
  48.  
  49. # Disable the HTTP interface (Defaults to localhost:28017).
  50. #nohttpinterface = true
  51.  
  52. # Turns off server-side scripting. This will result in greatly limited
  53. # functionality
  54. #noscripting = true
  55.  
  56. # Turns off table scans. Any query that would do a table scan fails.
  57. #notablescan = true
  58.  
  59. # Disable data file preallocation.
  60. #noprealloc = true
  61.  
  62. # Specify .ns file size for new databases.
  63. # nssize = <size>
  64.  
  65. # Accout token for Mongo monitoring server.
  66. #mms-token = <token>
  67.  
  68. # Server name for Mongo monitoring server.
  69. #mms-name = <server-name>
  70.  
  71. # Ping interval for Mongo monitoring server.
  72. #mms-interval = <seconds>
  73.  
  74. # Replication Options
  75.  
  76. # in master/slave replicated mongo databases, specify here whether
  77. # this is a slave or master
  78. #slave = true
  79. #source = master.example.com
  80. # Slave only: specify a single database to replicate
  81. #only = master.example.com
  82. # or
  83. #master = true
  84. #source = slave.example.com
  85.  
  86. # in replica set configuration, specify the name of the replica set
  87. # replSet = setname
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement