Features of MongoDB:
- Collection oriented storage – easy storage of object-style data
- Full index support, including on inner objects
- Query profiling
- Replication and fail-over support
- Efficient storage of binary data including large
- objects (e.g. videos)
- Auto-sharding for cloud-level scalability (Q209)
- High performance, scalability, and reasonable depth of functionality are the goals for the project.
Here is the turorial about install latest MongoDB ( As of now MongoDB 2.0.3 ) on openSUSE 12.1
Open Terminal and switch to root user.
raj@geeksite:~ $ su
Installing MangoDB:
We need to add repository in our system, so add the following file under the /etc/yum.repos.d directory.
root@geeksite:~ # zypper ar http://download.opensuse.org/repositories/devel:/languages:/go/openSUSE_12.1/ mongodb
Refresh the system repository, you might require to accept the gpg key for caching the mongodb repo.
root@geeksite:~ # zypper ref
Install MongoDB.
root@geeksite:~ # zypper in mongodb
Controling MongoDB:
MongoDB can be start / stop by easy known commands.
Using normal init scripts.
root@geeksite:~ # /etc/init.d/mongodb start
root@geeksite:~ # /etc/init.d/mongodb stop
or using systemctl command.
root@geeksite:~ # systemctl start mongodb.service
root@geeksite:~ # systemctl stop mongodb.service
To enable auto start of service while booting, issue the following command.
root@geeksite:~ # systemctl enable mongodb.service
Confirm the version of MongoDB.
raj@geeksite~/$ mongod --version
db version v2.0.3, pdfile version 4.5
Mon Mar 12 06:08:34 git version: 05bb8aa793660af8fce7e36b510ad48c27439697
That’s all. Now you have latest version of MongoDB installed on your machine.