Best way to upgrade from Ubuntu 10.04 to 14.04
Create a new Linode with the standard 14.04LTS stack. Install all my files, setup MySQL, test everything on the new server, then when I am happy it all seems to work, simply swap the IP from my old Linode to the new One. I would block any remote/database updates before the move and do a full MySQL dump and restore it on the new Linode before switching the IP.
1, Is this a good approach?
2, How long does an IP Swap take?
Thanks for any feedback.
3 Replies
@markunit:
1, Is this a good approach?
Yes. I've done exactly the same procedure twice with no issues.
> 2, How long does an IP Swap take?
It's near-instantaneous, though when I last did it (more than a year ago) it was necessary to shutdown both Linodes before swapping IPs. Don't know if that has changed….
ifdown -a && ifup -a
If you're running Apache, don't forget that the virtual hosts etc syntax in version 2.4 (shipped with 14.04) has changed: