Healthcheck used MongoDB, need to install, temporarily extract the reference method on the network as follows http://www.linuxidc.com/Linux/2010-08/28068.htm
MongoDB is a scalable and high-performance next-generation database. Data in MongoDB is stored as documents, so that complex relationships can be expressed in a single data object. A document may consist of the following parts: an independent basic type attribute, an embedded document, or an array of documents.
This flexibility allows developers to model a large number of problems in an easy-to-manage and flexible manner, without the need to scatter data into different data tables. When data cannot be constructed into a separate document, MongoDB has the concept of "dbref", which is a pointer from one document attribute to another.
It is flexible to retrieve and query data from MongoDB databases-you can dynamically query documents based on any attributes in the main document, document, any embedded document, or any document in the array. You can use the dot symbol to access embedded documents.
Because ubuntu 10.04 already has the MongoDB 1.2.2 source, you can directly use apt-get to install it:
Sudo apt-Get install MongoDB
When installing MongoDB, the system will install many MongoDB dependent packages. After the installation is complete, run MongoDB and a prompt will be displayed:
Mongod: Error while loading shared libraries: libjavasjs. So: cannot open shared object file: no such file or directory
Solution:
Sudo apt-Get install xulrunner-Dev
Find the libjavasjs. So file:
Find/usr/lib | grep lib1_js
You can see:
/Usr/lib/xulrunner-devel-1.9.2.8/SDK/lib/lib1_js. So
/Usr/lib/xulrunner-1.9.2.8/libw.js. So
/Usr/lib/firefox-3.6.8/libw.js. So
Link the Library:
Sudo ln-S/usr/lib/xulrunner-1.9.2.8/lib1_js. So/usr/lib
Restart the MongoDB service:
Sudo service MongoDB start
Check whether the service is started:
PS aux | grep rjd
PS :.....