Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

Command line updating Centos 6.1 to 7

Comments

6 comments

  • Alfaman
    Another question, would I better to upgrade to Cloudlinux 6, I'm assuming once the updates are installed WHM will upgrade to latest? Theres an option in WHM to pay Monthly for Cloudlinux 6. Then I'm thinking once WHM is updated to latest take a complete WHM backup > Re-install server, server host currently has Centos 7 & Cpanel auto install > Restore backup.
    0
  • cPRex Jurassic Moderator
    Hey there! There is no command line option to update from that operating system. You would need to create a new AlmaLinux 8 machine and perform a migration with the Transfer Tool in order to get that system up to date.
    0
  • Alfaman
    Hey there! There is no command line option to update from that operating system. You would need to create a new AlmaLinux 8 machine and perform a migration with the Transfer Tool in order to get that system up to date.

    Setting up a new server isn't really an option at the moment. Only option our server hosts are offering for installation is Centos 7 and Cpanel-100. Could we backup via WHM, transfer the backup to another server. Re-install this server and restore the backup? Would a backup from 86.0.40 easily restore to the latest WHM/Cpanel? Is there a backup now option anywhere in WHM? I can only see the scheduled stuff.
    0
  • cPRex Jurassic Moderator
    While that technically is an option, it's the worst option possible. CentOS 7 is already end of life, so moving to that operating system is just a waste of time as you'll be in the exact same position. The best option to avoid doing the work multiple times would be to create that new AlmaLinux machine, possibly at a different host, and migrating the data.
    0
  • Alfaman
    While that technically is an option, it's the worst option possible. CentOS 7 is already end of life, so moving to that operating system is just a waste of time as you'll be in the exact same position. The best option to avoid doing the work multiple times would be to create that new AlmaLinux machine, possibly at a different host, and migrating the data.

    We have considered this option, but we wanted to try and keep our current IP for certain reasons. I've checked again and our current server host does have the option to install Almalinux 8 + WHM / Cpanel, but we're stuck on the best option to backup and restore our data. We're currently running a Vbulletin Forum that will also be upgraded once on the new installation. Anyone know anybody who can do this on a paid service for us?
    0
  • cPRex Jurassic Moderator
    The easiest option in your case, assuming your sites and code will work with newer versions of PHP and MySQL: -create a backup of all accounts to a remote server. You can do this with the WHM >> Backup Configuration tool, or you can manually use the "pkgacct" tool to create the backup, and then move it to an off-server location -destroy the current server -rebuild the server with AlmaLinux 8 -restore the accounts This process will obviously result in downtime as the server won't exist for a while, but it would let you keep the same IP address.
    0

Please sign in to leave a comment.