Skip to main content

Can I upgrade CentOS 6 to 7?

Comments

21 comments

  • andrew.n
    Since you are on OpenVZ (Virtuozzo) platform which uses shared kernel, it is not possible to upgrade from CentOS 6 to 7 unfortunately. cPanel tier upgrade from edge to stable etc.. should be working as expected.
    0
  • harishz3
    Ok, I can at least upgrade cPanel. Thank you.
    0
  • cPRex Jurassic Moderator
    I would also add that you should seriously consider migrating to a newer machine, as CentOS 6 has long been end-of-life. Moving to AlmaLinux 8 would provide you with a much more modern hosting solution that would be more secure than your current environment.
    0
  • harishz3
    Thank you for your input. Yes, I'm considering migrating to a new server, just trying to know if I could update the CentOS 6, So that I can have a smooth migration of data from the old to a new server. I will install AlmaLinux 8 on the new server if the hosting providers make it available. Any suggestions on migration/restoration from the old server with CentOS 6 to a new server with AlmaLinux, please do let me know. Thank you.
    0
  • cPRex Jurassic Moderator
    Setting up the new server should be as simple as installing cPanel, and then running the
    0
  • harishz3
    Thank you for the quick reply. I will try and do that and share my experience here. Thank you.
    0
  • harishz3
    Hi there, one more thing! Recently the Old server (centOS) is giving very slow download speeds(around only 700 Kbps) for data transfers over Filezilla/Putty etc. Tried rebooting the server but no change in the download speeds. I expect a minimum of 15 to 20 Mbps speed on my internet connection. If you can suggest something regarding this, please let me know.
    0
  • cPRex Jurassic Moderator
    There isn't anything inside cPanel that would control the speed, so you'd want to reach out to your hosting provider or datacenter about that if that isn't performing how you expect.
    0
  • harishz3
    Ok, thank you. I just now tried to build the server with AlmaLinux and it has given an error " an unexpected error has occurred" I just rebuild the server?
    0
  • ffeingol
    With no context about when that happened, what you were doing, I doubt anyone will be able to help much.
    0
  • andrew.n
    You need to ask your hosting provider about this. They might not support the newest Almalinux on their platform yet. If you tried Alma 9 then maybe Alma 8 works.
    0
  • harishz3
    Well, it was constructing the cpanel and after that, it gave the error message. I just opened the hosting providers page on a different browser and I can see the new server with AlmaLinux 8 and WHM. So, as the server build ended with an error message as mentioned above, shall I rebuild this server? that is my question.
    0
  • cPRex Jurassic Moderator
    It's hard to say - we'd need more context for what caused it.
    0
  • harishz3
    Hi there, All good, I contacted the hosting providers, and they asked me to try and rebuild it in Incognito mode, it worked this time. Thank you all.
    0
  • andrew.n
    Good job!
    0
  • harishz3
    Yes, thank you.
    0
  • harishz3
    Hi there, The new server was set up successfully. The only issue I'm facing now is the remote server has MySQL version 5.7 and the New server has MySQL 8. The Transfer Tool is requesting to upgrade MSQL 5.7 to 8. On the Remote server, the upgrade option (in WHM) I get for MySQL 5.7 is MariaDB 10.2 & 10.3. The new server (AlmaLinux 8) Not showing MariaDB 10.2 or 10.3 for an upgrade, only shows MySQL, How to add MariaDB to WHM? Any advice, on how I should move forward on this? Please let me know.
    0
  • cPRex Jurassic Moderator
    What version of cPanel is the Source server? It may be too old to receive the MySQL 8 update. You can always try and proceed with how things are, but it's possible some things may not be compatible or there would be database errors in the transfer. My recommendation? Try transferring one account, even if you don't want it to be live yet, and see if there are MySQL errors. You could then point your local browser to the new system and see if all the database content loads properly.
    0
  • harishz3
    Hi, The source server is on outdated CENTOS 6.10, cPanel: v86.0.40. Yes, it is too old for MySQL 8, but it gives an option to upgrade to MariaDB 10.2 & 10.3. That's the reason I'm trying to install MariaDB on the New server so that it is a smooth transfer without Database errors. I will try what you have suggested.
    0
  • cPRex Jurassic Moderator
    You could always create a new Destination server with MariaDB using the details here:
    0
  • andrew.n
    or you can do MySQL 5.7 as well which is the closest to 5.6 and still supported :)
    0

Please sign in to leave a comment.