Vi/data/mongodb27018/mongodb.conf
# mongo.conf #where to log Logpath=/data/mongodb27018/mongod.log Logappend=true # fork and run in background Fork = True Port = 27018 Dbpath=/data/mongodb27018/data # Location of Pidfile Pidfilepath =/data/mongodb27018/mongod.pid # Disables Write-ahead journaling # nojournal = True # Enables periodic logging of CPU utilization and I/O wait #cpu = True # Turn On/off Security. Off is currently the default #noauth = True #auth = True # Verbose logging output. #verbose = True # Inspect all client data for validity on receipt (useful for # Developing drivers) #objcheck = True # Enable DB Quota Management #quota = True # Set oplogging level where n is # 0=off (default) # 1=w # 2=r # 3=both # 7=w+some Reads #diaglog = 0 # Ignore Query Hints #nohints = True # Disable The HTTP interface (Defaults to localhost:27018). #nohttpinterface = True # Turns off server-side scripting. This'll result in greatly limited # functionality #noscripting = True # Turns off table scans. Any query so would do a table scan fails. #notablescan = True # Disable data File preallocation. #noprealloc = True # specify. ns file size for new databases. # nssize = <size> # Accout token for Mongo monitoring server. #mms-token = <token> # server name for Mongo monitoring server. #mms-name = <server-name> # Ping interval for Mongo monitoring server. #mms-interval = <seconds> # Replication Options # in replicated MONGO databases, specify here whether this is a slave or master #slave = True #source = master.example.com # Slave only:specify A single database to replicate #only = master.example.com # or #master = True #source = Www.111cn.net |