I need to install mongodb server on my linux. To install via yum command I need to add it to my repo. Can someone guide me how to add something in my repo?


see section 1.2 on above tutorial. Also how to find my system is 32bit or 64bit and what repo to add.

Here is my uname -a Linux vps.server.com 2.6.32 #1 SMP Thu Sep 22 13:24:07 MSD 2011 i686 i686 i386 GNU/Linux


Open shell:

type in

sudo gedit /etc/yum.repos.d/10gen-mongodb.repo

An empty gedit window will open, there you have to paste

name=10gen Repository

then save and you are done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.