Last active
August 29, 2015 14:19
-
-
Save lovio/b0cf1fa4743e4ca430ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 要创建文件夹/data/mongodb | |
# 同时要把权限交给mongodb:mongodb: chown -R mongodb:mongodb /data/mongodb | |
# 更多配置可以Mongodb参照文档 | |
logpath=/data/mongodb/mongod.log | |
logappend=true | |
# 设置成 | |
#bind_ip=192.168.100.101,127.0.0.1 | |
# 在/etc/hosts中添加对应的hostname和LAN IP | |
storageEngine=wiredTiger | |
dbpath=/data/mongodb | |
replSet=rs-dudumeijia |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment