Upgrade to centos 7 without reinstall

Alexander1974

Verified User
Joined
Mar 28, 2017
Messages
22
Location
Rotterdam
Hello dear people,

I have a server running on centos 6 with directadmin and all my websites and it is time to update to centos 7.
Is there a way to do this without reinstall everything?

Just update the centos version?

Kind regards
Alex
 
Hello,

I am thinking about migrate to CentOS 7 and I don't know if I reinstall it, when I migrate users I will have any problem or I will loose the users. I will contract a new VPS and install CentOS 7 and migrate it. If all is ok I will halt old server and if I have problems I will be using the old server ;)
 
I recommend to you reinstall CentOS because many years ago I did an upgrade on fly and the result not was succesuful. (CentOS 5 to 6)
 
Upgrading is not advisable, but you're talking about migrating.
So doing a new Centos 7 installation an a new VPS and when finished, installing Directadmin on there and migrate your users. This can be done via admin backup/transfer.

You want to know if you will have any problem or loose users.
You won't loose users normally when transferring them all to the new VPS. As said, admin backup/transfer is normally a preferred way to do this.

However, things can change. To prevent certain issues occuring, it's best you match versions of what you're using on the old and new vps from Mysql/MariaDB and PHP.
You can install a newer version of php, but older scripts of customers could loose their functionality then, so check this before.

It's also possible to migrate the users from the old server Mysql to new vps with Mariadb, but you have to check versions!!! For example, if the old VPS is running mysql 5.7, it's wise to have MariaDB 10.2 running on the new server.

Most safe way of migrating is to have MySQL and PHP versions the same on the old an new VPS and if needed convert or upgrade them afterwards.
 
No he ment if you would change OS (for example on a new server) you should not go to Centos 7 anymore but use Centos 8,.
Yes why move to 7 when it's old to already.. if you have to build a new server move to the latest.
 
Back
Top