The Yellowdog Updater, Modified (YUM) is an open-source command-line package-management utility for RPM-compatible Linux operating systems. Though yum has a command-line interface, several other tools provide graphical user interfaces to yum functionality.
When trying to install any package using yum, you might receive an error as below.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os error was
[Errno 4] IOError:
Error: Cannot find a valid baseurl for repo: base
This means that your resolvers are not configured properly OR they are not responding. Resolvers are nothing but the servers which provide access to Internet Domain Name System.
Open the file /etc/resolv.conf & correct the resolvers. If the default ones are not working, update them to google resolvers. They are as below
nameserver 8.8.8.8
nameserver 4.4.4.4
Try installing the packages using yum now. If you face any issues, feel free to contact our support team.