We can view all the parameter descriptions of Mongod through Mongod--help, and the following is the Chinese explanation of each parameter.
–quiet
# quiet Output
–port Arg
# Specify the service port number, default port 27017
–BIND_IP Arg
# Binding Service IP, if bound 127.0.0.1, only native access, do not specify default local all IP
–logpath Arg
# Specify MongoDB log file, note that the specified file is not a directory
–logappend
# Write logs with an Append method
–pidfilepath Arg
# The full path of PID file, if not set, then no PID files
–keyfile Arg
# The full path of the private key of the cluster, valid only for the replica Set schema
–unixsocketprefix Arg
# UNIX domain Socket substitution directory, (default/TMP)
–fork
# run MongoDB as a daemon, creating a server process
–auth
# Enable authentication
–cpu
# Show CPU utilization and iowait on a regular basis
–dbpath Arg
# Specify Database path
–diaglog Arg
# diaglog option 0=off 1=w 2=r 3=both 7=w+some
–directoryperdb
# Set each database will be saved in a separate directory
–journal
# Enable logging option, MONGODB data operations will be written to the file in the Journal folder
–journaloptions Arg
# Enable Logging diagnostics option
–ipv6
# Enable IPV6 option
–jsonp
# Allow JSONP to be accessed via HTTP (with security implications)
–maxconns Arg
# Maximum simultaneous connection number default 2000
–noauth
# Do not enable validation
–nohttpinterface
# Close HTTP interface, turn off 27018 port access by default
–noprealloc
# Disable data file pre-allocation (often impacting performance)
–noscripting
# Disable script engine
–notablescan
# Do not allow table scans
–nounixsocket
# Disable UNIX socket sniffing
–nssize Arg (=16)
# Set letter database. ns file Size (MB)
–objcheck
# in receipt of customer data, check the validity,
–profile Arg
# file Parameters 0=off 1=slow, 2=all
–quota
# limit the number of files per database, set defaults to 8
–quotafiles Arg
# Number of files Allower per db, Requires–quota
–rest
# Open a simple rest API
–repair
# Repair all database run repair on all DBS
–repairpath Arg
# The directory of the files generated by the repair library, which defaults to the directory name DBPath
–slowms Arg (=100)
# Value of slow for profile and console log
–smallfiles
# Use a smaller default file
–syncdelay Arg (=60)
# Number of seconds to write data to disk (0=never, not recommended)
–sysinfo
# Print some diagnostic system Information
–upgrade
# If you need to upgrade your database
The above parameters can be written to the mongod.conf configuration document for example: