Advertisement
Guest User

/etc/mongod.conf

a guest
Feb 24th, 2023
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. [aqxea@graylog etc]$ cat /etc/mongod.conf
  2. # mongod.conf
  3.  
  4. # for documentation of all options, see:
  5. # http://docs.mongodb.org/manual/reference/configuration-options/
  6.  
  7. # where to write logging data.
  8. systemLog:
  9. destination: file
  10. logAppend: true
  11. path: /var/log/mongodb/mongod.log
  12.  
  13. # Where and how to store data.
  14. storage:
  15. dbPath: /var/lib/mongo
  16. journal:
  17. enabled: true
  18. # engine:
  19. # wiredTiger:
  20.  
  21. # how the process runs
  22. processManagement:
  23. fork: true # fork and run in background
  24. pidFilePath: /var/run/mongodb/mongod.pid # location of pidfile
  25. timeZoneInfo: /usr/share/zoneinfo
  26.  
  27. # network interfaces
  28. net:
  29. port: 27017
  30. 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.
  31.  
  32.  
  33. #security:
  34.  
  35. #operationProfiling:
  36.  
  37. #replication:
  38.  
  39. #sharding:
  40.  
  41. ## Enterprise-Only Options
  42.  
  43. #auditLog:
  44.  
  45. #snmp:
  46. [aqxea@graylog etc]$
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement