Welcome to Centmin Mod Community
Become a Member

Install How to find Centminmod version?

Discussion in 'Centmin Mod Insights' started by SneakyDave, Dec 26, 2017.

  1. SneakyDave

    SneakyDave Member

    Jul 24, 2014
    Local Time:
    2:44 AM
    I noticed that logging into my servers that it does a check to see if they're running the latest version of Centminmod, but what's the best way to find out what version that is?

  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    5:44 PM
    Nginx 1.25.x
    MariaDB 10.x
    There are several ways to find out which version of centmin mod you're using. Some of the latter methods are unique to Centmin Mod 123.09beta01 only.

    1. /etc/centminmod-release file uses the old format of versions 1.2.3-eva2000.09 = 123.09beta01
    Code (Text):
    cat /etc/centminmod-release

    edit: just updated 123.09beta01 with updated format
    Code (Text):
    cat /etc/centminmod-release 
    123.09beta01 (build 010)

    2. running centmin.sh menu itself Centmin Mod Menu - CentminMod.com LEMP Nginx web stack for CentOS
    Code (Text):
         Centmin Mod Menu 123.09beta01 centminmod.com    
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB MySQL Upgrade & Management
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    Enter option [ 1 - 24 ] 

    3. For 123.09beta01, the centmin mod code directory at /usr/local/src/centminmod is where centmin.sh menu resides and is by default installed as a local git backed repo. So git branch command works too
    Code (Text):
    cd /usr/local/src/centminmod
    git branch

    Code (Text):
    git branch
    * 123.09beta01