CentOS YUM Update/Install Issues

If you are using a new CentOS VPS and receiving errors when you try to use yum, please run the following over SSH to force your system to work:

sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1

yum update -y

sysctl -w net.ipv6.conf.all.disable_ipv6=0
sysctl -w net.ipv6.conf.default.disable_ipv6=0

reboot
  • 60 Users Found This Useful
Was this answer helpful?

Related Articles

How do I set reverse DNS (RDNS/PTR)?

Clients can set reverse DNS (RDNS/PTR) in the Control PanelClick the Network tab and...

Where can I find good Linux Tutorials?

Check out the following site: http://www.howtoforge.com/  

Protecting SSH with Fail2Ban

About fail2ban If a server is exposed to the Internet, attackers will scan that server for as...

rsyslog CPU Usage

rsyslogd has a tendency to use 100%+ CPU on OpenVZ. Please run the following commands with SSH to...

Ubuntu Setting Locale Failed

If you are having trouble setting the locale in Ubuntu 12, please see this thread:...