Oneself in a CentOS6.6 system in accordance with the official website instructions, go through the installation process, record.
See a MONGO video, the installation described above is installed with the source code, and the official network said the need to gcc4.8.3 version, there are scons compiling tools, these environments set a good estimate of the past half a day. So let's install it through the Yum method.
The installation steps are as follows:
1. In the/etc/yum.repos.d/directory, add a Mongodb-org-3.0.repo file with the following contents:
[Mongodb-org-3.0]name=mongodb repositorybaseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.0 /x86_64/gpgcheck=0enabled=1
2. Implementation
Yum Install-y mongodb-org
command, will install Server,shell,tools etc 4 Packs
3. Disable SELinux
It's easy to start the MONGO service with service Mongod start.
Installing MongoDB in CentOS