I am using CentOS 6.8 x64 and vesta CP. Now I need to update my OS to Cent OS 7.6 x64 as I need to update my PHP version.
Now, Is there any way to upgrade **CentOS 6.8 x64 to Cent OS 7.6 x64 ** without losing any files or settings? Or I have to do it manually? Please be noted that I have around 5+ sites hosted in my Current system.
Please suggest to me a possible solution so that I can upgrade CentOS 6.8 x64 to Cent OS 7.6 x64
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there @shariar4you,
There is no official upgrade procedure for CentOS 6 to CentOS 7.
What you would need to do is set up a new CentOS 7 server, then configure it so that it matches your current server setup, and finally migrate your websites from the old CentOS 6 server to the new CentOS 7 server.
Once all of the sites have been migrated and tested on the new server, you can shut down the old one and then delete it once you are sure that it is no longer needed.
Regards, Bobby
Hello, @shariar4you
There is no officially supported upgrade from CentOS 6 to 7 at all.
For a brief period around 7.0 time there was a vaguely working utility but it never worked very well and was prone to errors. Once 7.1 came along even that stopped working and has never worked since and never will.
You will need to spin up a new droplet and then migrate your data from the old server over to the new CentOS 7 droplet.
If you run any websites you can migrate them to the new server and test them using hosts file before switching the DNS over in order to make sure that everything is working as expected.
Hope that this helps! Regards, Alex