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
  • 0 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Related Articles

How do I order more IPs?

To order extra IP addresses, log into the Client Area. Go to Services > View Available Addons....

cPanel Disk Quotas (OpenVZ)

In order to use disk quotas for cPanel on OpenVZ, you need to have second level quotas enabled...

How do I connect to my VPS via (SSH)

We recommend the program PuTTY or Kitty for SSH. You can download PuTTY...

How do I upgrade or downgrade my service?

If you would like to upgrade or downgrade your service, we have a convenient process to do just...

OpenVPN MASQUERADE Workaround

The MASQUERADE module is not supported by OpenVZ. Instead, please use SNAT.

Powered by WHMCompleteSolution