Yum update error on centos
Server version is Centos 5.5
[root@linode ~]# yum update
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http ~~or file.
Eg. /
removing mirrorlist with no valid mirrors: /var/cache/yum/addons/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: addons
Can you please guide me?~~
5 Replies
You should move to CentOS 7 as soon as possible.
without yum working, how can we upgrade the OS?
The simple method, is to:
create a new linode server (same spec if you like)
setup CentOS 7
migrate your data between the two servers
redirect traffic to new server and power down old server
keep a backup of your old server before deleting the server on linode
You can do a "test run" by using a virtual copy of the server with virtualbox.
There are tons of dependencies about what kind of software you run on the server, you need to make sure everything will work correctly under CentOS 7 before you migrate.
Can I keep the IP same?
@richardvc:
i think thats the only option I have …
Can I keep the IP same?
You can swap IPs between linodes in the same datacenter. So, you can set the new server up with a new (temporary) IP. When you're ready to cutover, you swap the production IP (IIRC, requires a reboot) to the new server, temp IP to the old server.