Learn about Centmin Mod LEMP Stack today
Become a Member

Install Centmin Mod 1.2.3-eva2000.08 how to install & update

Discussion in 'Install & Upgrades or Pre-Install Questions' started by eva2000, Aug 7, 2015.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    5:29 PM
    Nginx 1.13.x
    MariaDB 5.5

    Memcached Server 1.4.33 Security Fix Release



    Updated both Centmin Mod 123.08stable and 123.09beta01 builds to default to Memcached server 1.4.33 security fix release. Once you update your local server Centmin Mod branch code via centmin.sh menu option 23 outlined below. You will need to exit centmin.sh and re-run centmin.sh again and run centmin.sh menu option 10 to update Memcached server to 1.4.33.

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
    ReleaseNotes1433 · memcached/memcached Wiki · GitHub

    centmin.sh menu option 10 after 123.09beta01 or 123.08stable update via centmin.sh menu option 23 submenu option 2.

    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 5.2/5.5 & 10.x Upgrade Sub-Menu
    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 ] 10
    --------------------------------------------------------

    check Memcached server version installed
    Code (Text):
    memcached -V
    memcached 1.4.33
    
     
    Last edited: Nov 3, 2016
  2. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    5:29 PM
    Nginx 1.13.x
    MariaDB 5.5
  3. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    5:29 PM
    Nginx 1.13.x
    MariaDB 5.5

    PHP 7.1.0 GA Support Update



    Updated both Centmin Mod 123.08stable and 123.09beta01 builds for PHP 7.1.0 General Release support. You'll need to update Centmin Mod via centmin.sh menu option 23 submenu option 2 outlined below and exit centmin.sh and re-run centmin.sh menu option 5 to update to PHP 7.1.0.

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
    example centmin.sh menu option 5 PHP 7.1.0 update

    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 5.2/5.5 & 10.x Upgrade Sub-Menu
    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 ] 5
    --------------------------------------------------------
    

    Code (Text):
    Do you want to run YUM install checks ?  [y/n]
    
    This will increase your upgrade duration time wise.
    Check the change log centminmod.com/changelog.html
    to see if any Nginx or PHP related new additions
    which require checking YUM prequisites are met.
    If no new additions made, you can skip the
    YUM install check to speed up upgrade time.
    
     [y/n]: n
         ____   _   _  ____       _   _                                _     
        |  _ \ | | | ||  _ \  _  | | | | _ __    __ _  _ __  __ _   __| |  ___
        | |_) || |_| || |_) |(_) | | | || '_ \  / _` || '__|/ _` | / _` | / _ \
        |  __/ |  _  ||  __/  _  | |_| || |_) || (_| || |  | (_| || (_| ||  __/
        |_|    |_| |_||_|    (_)  \___/ | .__/  \__, ||_|   \__,_| \__,_| \___|
                                        |_|     |___/                       
    
    PHP Upgrade - Would you like to continue? [y/n] y
    
    ----------------------------------------------------------------
    Install which version of PHP? (version i.e. 5.6.28, 7.0.10, NGDEBUG)
    PHP 7.0.10 is GA Stable but still may have broken PHP extensions.
    NGDEBUG is PHP 7.1.0 minus incompatible PHP extensions
    ----------------------------------------------------------------
    Enter PHP Version number you want to upgrade/downgrade to: 7.1.0
    ----------------------------------------------------------------
    existing php.ini will be backed up at /usr/local/lib/php.ini-oldversion_021216-081759
    Want to update to latest php-fpm.conf ? (overwrites will auto backup existing php-fpm.conf)
    existing php-fpm.conf will be backed up at /usr/local/etc/php-fpm.conf-oldversion_021216-081759
    ----------------------------------------------------------------
    Update & overwrite your existing php-fpm.conf [y/n]: n
    ----------------------------------------------------------------
    

    Code (Text):
    -----------------------------------------------------------------------------------------
    Detected PHP 7.1 branch.
    You can compile Zend OPcache (Zend Optimizer Plus+) support
    as an alternative to using APC Cache or Xcache cache.
    But Zend OPcache only provides PHP opcode cache and
    DOESN'T do data caching, so if you web apps such as Wordpress,
    Drupal or vBulletin require data caching to APC or Xcache,
    it won't work with Zend OPcache.
    
    -----------------------------------------------------------------------------------------
    Do you want to use Zend OPcache [y/n] ? y

    end result
    Code (Text):
    php -v     
    PHP 7.1.0 (cli) (built: Dec  2 2016 08:21:30) ( NTS )
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies
        with Zend OPcache v7.1.0, Copyright (c) 1999-2016, by Zend Technologies

    php extensions
    Code (Text):
    php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    ldap
    libxml
    mailparse
    mbstring
    mcrypt
    memcache
    memcached
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    redis
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
     
  4. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    5:29 PM
    Nginx 1.13.x
    MariaDB 5.5
  5. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    5:29 PM
    Nginx 1.13.x
    MariaDB 5.5
  6. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    5:29 PM
    Nginx 1.13.x
    MariaDB 5.5

    CentOS 7 EPEL Fixes



    Updated both Centmin Mod 123.08stable and 123.09beta01 builds. Issue applies to CentOS 7 servers only. A recent EPEL libc-client & uw-imap-devel package bugged YUM updates may have broken both PHP updates and ability to properly do yum updates. It's important to update your Centmin Mod 123.08stable or 123.09beta01 local code on your server to fix this via centmin.sh menu option 23 submenu option 2 update + a re-run of centmin.sh after update to apply fix automatically. Without updating, you will not be able to properly do PHP upgrades or run YUM updates.

    For details for bug and fix outlined at Beta Branch - CentOS 7 workaround fix for EPEL uw-imap-devel & libc-client issues

    Fixed CentOS 7 systems should have version locked 2007f-16 based libc-client and uw-imap-devel EPEL yum packages listed from command
    Code (Text):
    yum versionlock list
    

    Code (Text):
    yum versionlock list
    Loaded plugins: fastestmirror, priorities, versionlock
    0:libc-client-2007f-16.el7.*
    0:uw-imap-devel-2007f-16.el7.*
    versionlock list done
    

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
     
    Last edited: Aug 3, 2017
  7. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    5:29 PM
    Nginx 1.13.x
    MariaDB 5.5
    Updated both Centmin Mod 123.08stable and 123.09beta01 builds to update Varnish Cache 4.1 yum repo hosting/url changes outlined at https://community.centminmod.com/threads/update-varnish-cache-4-1-yum-repo-setup-routine.12770/

    To update your Centmin Mod builds, use centmin.sh menu option 23 submenu option 2 and follow instructions at centminmod.com/upgrade.html and respective version threads below:
     
    • Like Like x 1
  8. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    5:29 PM
    Nginx 1.13.x
    MariaDB 5.5

    MariaDB CentOS 7.4 Workaround Fix



    Updated both Centmin Mod 123.08stable and 123.09beta01 builds with permanent workaround fix for MariaDB MySQL server not restarting after CentOS 7.4 updates. The issue is CentOS 7.4 only issue and MariaDB 10.1 I believe as systemd protections didn't get added until MariaDB 10.1. So CentOS 6 and MariaDB 10.0.x users (123.08stable) would probably not experience the issue. Details here MariaDB MySQL Not Restarting After CentOS 7.4 Update Fix

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
    After updating Centmin Mod, run centmin.sh one more time for fix to auto populate to /etc/systemd/system/mariadb.service.d/protecthome.conf which should now contain
    Code (Text):
    [Service]
    ProtectSystem=false
    ProtectHome=false
    

    When you re-run centmin.sh on updated code, you will get a one time message like below:
    Code (Text):
    ./centmin.sh 
    
    Update MariaDB 10 setting for ProtectSystem=false addition
    
     
    Last edited: Sep 14, 2017
    • Like Like x 1
Thread Status:
Not open for further replies.