I'm trying to install mongodb for my centos 5.1 server via yum. I followed the instructions of creating a .repo file in the yum folder, but it still doesnt work. here's the screenshot of the issue:
---- http://prntscr.com/41b22y
I typed yum install mongodb-org but im getting a "nothing to do" error. I'm not sure what i did wrong. I even did yum makecache and still didnt work.
#### cat mongodb.repo
[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
gpgcheck=0
enabled=1
[/etc/yum.repos.d] # yum install mongodb-org
Loaded plugins: fastestmirror, priorities
Determining fastest mirrors
addons | 1.9 kB 00:00
base | 1.1 kB 00:00
extras | 2.1 kB 00:00
mongodb | 951 B 00:00
updates | 1.9 kB 00:00
wiredtree | 951 B 00:00
Excluding Packages in global exclude list
Finished
Excluding Packages from CentOS-5 - Base
Finished
7 packages excluded due to repository priority protections
Setting up Install Process
No package mongodb-org available.
Nothing to do
[/etc/yum.repos.d] #