MongoDB steps:
1. Google search MongoDB find the official website to download: http://www.mongodb.org/
2. Decompression: Tar zvxf mongodb-linux-i686-2.4.3.tgz generate a mongodb-linux-i686-2.4.3 folder
3. Enter the Mongodb-linux-i686-2.4.3/bin folder, which binaries can be executed. Eg:#./mongod This is to open the MongoDB database service.
4. Error:dbpath (/data/db/) does not exist is generally present. This error. How to do it. Suggest a/data/db/folder on the line Ah ...
5. Open #./mongodb Database service in privileged mode
6. Open Client: >./mongo
Installation of Mongo-c-driver:
1. Enter GitHub website Download: Https://github.com/mongodb/mongo-c-driver Choose Zip, not easy to see, but to find Oh ~
2. Decompression (zip file How to unpack their own look, or: The right key-extract to the current folder) after the Mongo-c-driver-master folder appears.
3. Enter the Mongo-c-driver-master folder,> make and then sudo make install
4. Installation complete, enter the verification stage: remove mongo-c-driver-master/docs/examples/example.c
GCC--std=c99-o example.out example.c-i/usr/local/include/-l/usr/local/lib/-LMONGOC
5. Run down and see if you can pass. (# 0.7 2012-11-19 can pass, but # # 0.7.1 2013-1-7 can not pass. I don't know why, the higher the version the worse. )