Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

http://www.if-not-true-then-false.com/2010/install-mongodb-on-fedora-centos-red-hat-rhel/

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

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Open shell:

type in

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

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

[10gen]
name=10gen Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/i686
gpgcheck=0

then save and you are done.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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