Join the community today
Register Now

Recompile

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Sunka, Dec 28, 2015.

  1. Sunka

    Sunka Active Member

    917
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +388
    Local Time:
    4:16 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    Many times on this forum it is said do that and that and recompile then.
    Example is recompile php with option 5 in centmin menu, after update some php extension. So, when I choose option 5 (Upgrade/downgrade PHP), what exactly to choose in menu after that if I'm allready on newest version of PHP
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,164
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    12:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    See step 2 of below guide, most of the time to recompile, you just enter the same version number of your existing Nginx or PHP version.

    Upgrading Centmin Mod Code to Latest Version



    Upgrading Centmin Mod involves 2 parts.
    1. Upgrading the actual Centmin Mod code outlined at Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS This is heart of Centmin Mod where the code is the engine that runs centmin.sh shell based menu and all the automation you're accustomed to.
    2. Upgrade software that Centmin Mod installed or manages. For this part following outline at Upgrade - How to upgrade Centmin Mod | Centmin Mod Community
    So essentially, you can upgrade from .07 to .08 in place, but not everything is upgraded as some things like server initial environment setup isn't changed i.e. how swap, tmp setup and allocation are created etc. The main parts from part 2 above are what in place upgrades do i.e. Nginx and PHP-FPM compilation and config/settings parameters and MariaDB version from 5.5 to 10.0.x. If you want the full environment changed including tmp and swap setup to .08's configuration, then you would need a fresh OS install and fresh .08 initial install. You can think of it like upgrading Windows 7 to Windows 8. An in place upgrade will upgrade code but won't change your computer environment from when you installed Windows 7 i.e. disk configuration and partition sizes won't change from when you initially installed Windows 7. Only way to change that would be fresh Windows 8 install.
     
  3. Sunka

    Sunka Active Member

    917
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +388
    Local Time:
    4:16 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    So basically update to same version I have installed?
    So when advice is recompile php/nginx I should choose upgrade php or nginx and set same version when asked me to which version I should to upgrade?
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,164
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    12:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    yup same version entered
     
    • Informative Informative x 1