Welcome to Centmin Mod Community
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

    29
    2
    3
    May 27, 2014
    Ratings:
    +2
    Local Time:
    9:34 PM
    • 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

    431
    117
    43
    Oct 6, 2015
    England
    Ratings:
    +217
    Local Time:
    5:34 AM
    1.25.3
    10.6.x
  3. josh

    josh Premium Member Premium Member

    29
    2
    3
    May 27, 2014
    Ratings:
    +2
    Local Time:
    9:34 PM
    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,990
    518
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,647
    Local Time:
    6:34 AM
    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,990
    518
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,647
    Local Time:
    6:34 AM
    @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

    53,211
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    2:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @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.