Hi Mahesh,
Could you post the content of the repo file:
/etc/yum.repos.d/mongodb-org-3.2.repo
I noticed that you have referred to MongoDB v2.4 manual as well. As you are trying to install v3.2, please see the manual for MongoDB v3.2: Configure the package management system (yum)
Also please confirm that you have an internet connection from your VMware CentOS machine. For example:
ping -t 10 mirrorlist.centos.org
Regards,
Ankur
[mongodb-org-3.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/ gpgcheck=0 enabled=1
Hi Mahesh,
Your VMware CentOS machine is unable to access internet, you might need to configure your network connection on VMware settings. As this issue is not really related to MongoDB itself, you may get a faster response and wider audience by posting on ServerFault, SuperUser or VMWare community forum
You may find below link useful to resolve your internet connectivity issue:
Troubleshooting networking and internet connection issues in VMware Fusion (1016466)
Regards
Ankur