MongoDB startup commands
1. ./mongod -port 27017 --dbpath ~/mongoDB/data/ --logpath ~/mongoDB/log/mongodb.log
you'd better start it up in back-end with nohup
nohup ./mongod -port 27017 --dbpath ~/mongoDB/data/ --logpath ~/mongoDB/log/mongodb.log &
2. if you use mongoDB in talend or somewhere, be sure to use hostnane instead of IP address.
1. ./mongod -port 27017 --dbpath ~/mongoDB/data/ --logpath ~/mongoDB/log/mongodb.log
you'd better start it up in back-end with nohup
nohup ./mongod -port 27017 --dbpath ~/mongoDB/data/ --logpath ~/mongoDB/log/mongodb.log &
2. if you use mongoDB in talend or somewhere, be sure to use hostnane instead of IP address.