Sunday 17 June 2018

linux - adding repo to yum


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



Answer



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.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...