Virtual Server from SoftLayer – Missing Configurations

Share

I ordered two servers from SoftLayer to host some wordpress sites.

I tried to update the server using yum update but i got the error bellow

Loading mirror speeds from cached hostfile
http://mirrors.service.networklayer.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirrors.service.networklayer.com/centos/7/os/x86_64/repodata/repomd.xml: (28, ‘Connection timed out after 30001 milliseconds’)
Trying other mirror.
http://mirrors.service.networklayer.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#56 – “Callback aborted”
Trying other mirror.
http://mirrors.service.networklayer.com/centos/7/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#56 – “Callback aborted”
Trying other mirror.
http://mirrors.service.networklayer.com/centos/7/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#56 – “Callback aborted”

The first problem: DNS server is not correct on resolv.conf

The second problem: The repos for yum was changed by softlayer and you need to revert the file CentOS-Base.repo to the original file.