MongoDB & Linux
1. environment set path = D:\opt\MongoDB\Server\3.4\bin D:\opt\MongoDB\Server\3.4\bin; http://mongodb.github.io/mongo-csharp-driver/2.8/getting_started/quick_tour/ http://mongodb.github.io/mongo-csharp-driver/2.8/getting_started/installation/ http://mongodb.github.io/mongo-csharp-driver/2.8/getting_started/quick_tour/ https://github.com/mongodb/mongo-csharp-driver 2. start up mongo service mongod --dbpath D:\data\db ./bin/mongod --dbpath=/home/m20 --logpath=/home/mlog/m20.log --fork --configsvr --port 27020 ./bin/mongos --logpath=/home/m30.log --configdb=192.168.1.202:27020 --fork mongod --port 27017 --dbpath D:\MongoDB\data\db Add the following lines in "mongo.config" file port=27017 dbpath=C:\mongodb\data\db\ logpath=C:\mongodb\log\mongo.log Start server : mongod.exe --config="C:\mongodb\mongo.config" Connect to remote MongoDB server via command line with authentication. mongo --username abcd --password abc123 --host server_ip_or_dns --port 27...