Want to subscribe to topics you're interested in?
Become a Member

Upgrade Currently on CentOS 6.10 - what's my best upgrade path?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by josh, Jan 4, 2022.

  1. josh

    josh Premium Member Premium Member

    28
    2
    3
    May 27, 2014
    Ratings:
    +2
    Local Time:
    10:06 AM
    • CentOS Version: CentOS 6.10 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.19.8
    • PHP Version Installed:
    • MariaDB MySQL Version Installed:
    • When was last time updated Centmin Mod code base ? :
    • Persistent Config:
      Code:
      LETSENCRYPT_DETECT='y'
      LETSENCRYPT_DETECT='y'
      LETSENCRYPT_DETECT='y'
      LETSENCRYPT_DETECT='y'
      MARCH_TARGETNATIVE='n'
      LETSENCRYPT_DETECT='y'
      ENABLE_MARIADBTENTWOUPGRADE='y'
      
    What makes the most sense here? Moving to CentOS 7 then to Rocky? Or?

     
  2. cloud9

    cloud9 Premium Member Premium Member

    310
    85
    28
    Oct 6, 2015
    England
    Ratings:
    +146
    Local Time:
    6:06 PM
    1.21.5
    10.3.32
  3. josh

    josh Premium Member Premium Member

    28
    2
    3
    May 27, 2014
    Ratings:
    +2
    Local Time:
    10:06 AM
    Right so I guess my question is: stay put where I'm at in anticipation of CMM support for Rocky or move now to CentOS 7 knowing the Rocky move is imminent.
     
  4. buik

    buik “The best traveler is one without a camera.”

    1,688
    464
    83
    Apr 29, 2016
    Flanders
    Ratings:
    +1,453
    Local Time:
    7:06 PM
    My advice is to upgrade to CentOS 7 as soon as reasonably possible.

    CentOS 6 is End of Life (EOL) for almost 1.5 year now and is not maintained nor supported.
    A current CentOS 6 based server is susceptible to security vulnerabilities (CVE) and other software related issues. Security fixes, bug fixes and feature enhancements are no longer released for CentOS 6, since 2020.
     
    Last edited: Jan 4, 2022
  5. buik

    buik “The best traveler is one without a camera.”

    1,688
    464
    83
    Apr 29, 2016
    Flanders
    Ratings:
    +1,453
    Local Time:
    7:06 PM
    @josh In addition to CentOS 6, your Centminmod installation is vulnerable to.
    Looking at the information you send along, your Nginx 1.19.8 is vulnerable.
    Given that PHP and SQL are most likely from the same era 2019/2020 ish?
    (though no info available), they are probably vulnerable as well.

    The best advice I can give you. Back-up and migrate the installation.
    If possible set up a new server. Then you always have the old one temporarily in reserve.
    In the unlikely event something goes wrong.
     
  6. eva2000

    eva2000 Administrator Staff Member

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    3:06 AM
    Nginx 1.21.x
    MariaDB 10.x
    @josh Yeah best path forward if you are using Centmin Mod, is to migrate servers from CentOS 6.x to CentOS 7.x which is supported until 2024 and wait for my work on CentOS 8/AlmaLinux 8/Rocky Linux 8 support for Centmin Mod https://community.centminmod.com/threads/centmin-mod-centos-8-compatibility-worklog.18372/ :)

    For moving site data there's 2 general guides where the principles & steps of backing up and moving data is the same just slightly different for
    1. Moving Centmin Mod site data to another Centmin Mod server
    2. Moving cPanel/WHM site data to Centmin Mod server
    Those guides move alot more than just the site(s) in question but config files etc. You can use your own best judgement as to the config files and whether you want to move them or just use the fresh server setup Centmin Mod config files as they get auto optimised for the server Centmin Mod initially installed on.

    If your old site isn't centmin mod or cpanel/whm based, then those guides won't be 100% applicable. But the general overview of what needs moving and where everything is structured in Centmin Mod LEMP environment is worth reading up on.

    Also official site configuration files page explains the Centmin Mod structure of where the important files are so you can decide on what to backup.