Learn about Centmin Mod LEMP Stack today
Register Now

Discuss Centmin Mod 1.2.3-eva2000.08 Stable Release

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

  1. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Dedicated thread for folks to discuss Centmin Mod 1.2.3-eva2000.08 stable release and official .08 stable install and update thread.
    • Official release date for Centmin Mod 1.2.3-eva2000.08 stable is July 31, 2015 at which time this thread will be opened :)
    • For existing .08 beta users, you have an different upgrade step to do (one time only) just for the change to new install path at /usr/local/src/centminmod. You can read instructions here.
    To highlight some of the newer official site pages or updated site pages you might be interested.


     
    Last edited: Aug 9, 2015
  2. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Made a few last minute commit changes in 123.08stable branch for minor fixes.

    You can easily update your 123.08stable install to this latest code by following the centmin.sh menu option 23 submenu option 1 to setup git environment and then centmin.sh menu option 23 submenu option 2 to update your code as outlined at centminmod.com/upgrade.html or here.

    Example below

    centmin.sh menu option 23 submenu option 1
    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.08 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu                 
    --------------------------------------------------------
    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 ioping.sh vbtechsupport.com/1239/
    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 Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + WP Super Cache
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 23
    --------------------------------------------------------
    
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu            
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 1
    Code:
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu            
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 1
    --------------------------------------------------------
    
    setup Centmin Mod git sourced install...
    
    download github.com centmin mod 123.08stable branch repo
    Cloning into 'centminmod'...
    Switched to a new branch '123.08stable'
    Branch 123.08stable set up to track remote branch 123.08stable from origin.
    
    list all available local branches
            git branch -a
    * 123.08stable
      master
      remotes/origin/123.06stable
      remotes/origin/123.07stable
      remotes/origin/123.08beta03
      remotes/origin/123.08beta03-el7ffmpeg-fix
      remotes/origin/123.08beta03-libresslclang
      remotes/origin/123.08beta03-rtmp
      remotes/origin/123.08beta03clang
      remotes/origin/123.08beta03curl743
      remotes/origin/123.08beta03libressl
      remotes/origin/123.08beta03redis
      remotes/origin/123.08centos7beta01
      remotes/origin/123.08centos7beta02
      remotes/origin/123.08stable
      remotes/origin/123.08zerodown
      remotes/origin/123.09beta01
      remotes/origin/HEAD -> origin/master
      remotes/origin/master
    
    list git log last commit
            git log -a
    commit 7b776c0519775882f13b33af6ecb4799f3496ec1
    Author: George Liu <MAIL>
    Date:   Wed Jul 29 08:36:15 2015 +1000
    
        update inc/mariadb_submenu.inc
      
        set ENABLE_MARIADBTENUPGRADE='y' in file for 5.5 to 10.0 upgrade submenu option 3
    
    to update centmin mod 123.08stable branch repo via git
            cd /usr/local/src/centminmod
            git stash
            git pull
            chmod +x centmin.sh
    
    Then hit submenu option 4 to go back to main menu, then hit menu option 24 to exit centmin.sh
    Code:
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu            
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 4
    --------------------------------------------------------
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.08 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu                 
    --------------------------------------------------------
    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 ioping.sh vbtechsupport.com/1239/
    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 Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + WP Super Cache
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 24
    --------------------------------------------------------
    Then log out of SSH session and log back in.

    If you try to use centmin shortcut cmdir to change to centmin mod install directory and get this below error, it's because you need to manually change install directory now at /usr/local/src/centminmod and run centmin.sh which corrects the shortcut path (one time only change).

    Code:
    cmdir
    -bash: pushd: /usr/local/src/centminmod-123.08stable: No such file or directory
    manual one time only change if you get above error

    Code:
    cd /usr/local/src/centminmod
    ./centmin.sh
    then run menu option 24 to exit and then log out of SSH session and log back in.

    Now cmdir command shortcut should work.

    Code:
    cmdir
    /usr/local/src/centminmod ~
    
    pwd
    /usr/local/src/centminmod
    
    ls -lah /usr/local/src/centminmod/
    total 288K
    drwxr-xr-x 14 root root 4.0K Jul 28 22:48 .
    drwxr-xr-x  3 root root 4.0K Jul 28 22:48 ..
    drwxr-xr-x  8 root root 4.0K Jul 28 22:48 .git
    -rw-r--r--  1 root root  224 Jul 28 22:48 .gitignore
    drwxr-xr-x  2 root root 4.0K Jul 28 22:48 Extras
    -rw-r--r--  1 root root 2.5K Jul 28 22:48 README.md
    drwxr-xr-x  2 root root 4.0K Jul 28 22:48 addons
    -rw-r--r--  1 root root 8.8K Jul 28 22:48 centmin-mod-logo.png
    -rwxr-xr-x  1 root root  77K Jul 28 22:48 centmin.sh
    -rw-r--r--  1 root root  66K Jul 28 22:48 changes.html
    -rw-r--r--  1 root root  753 Jul 28 22:48 command_shortcuts.txt
    drwxr-xr-x 16 root root 4.0K Jul 28 22:48 config
    drwxr-xr-x  2 root root 4.0K Jul 28 22:48 cron
    drwxr-xr-x  2 root root 4.0K Jul 28 22:48 downloads
    drwxr-xr-x  5 root root 4.0K Jul 28 22:48 htdocs
    drwxr-xr-x  2 root root 4.0K Jul 28 22:48 inc
    drwxr-xr-x  2 root root 4.0K Jul 28 22:48 init
    -rwxr-xr-x  1 root root 9.1K Jul 28 22:48 installer.sh
    -rw-r--r--  1 root root  35K Jul 28 22:48 license.txt
    drwxr-xr-x  2 root root 4.0K Jul 28 22:48 logrotate
    -rw-r--r--  1 root root 4.4K Jul 28 22:48 readme.txt
    drwxr-xr-x  2 root root 4.0K Jul 28 22:48 sysconfig
    drwxr-xr-x  2 root root 4.0K Jul 28 22:48 tools
    -rw-r--r--  1 root root 1.5K Jul 28 22:48 versions.txt
    To confirm the last 3 commit updates to 123.08stable branch type
    Code:
    cd /usr/local/src/centminmod/
    git log -3
    These should match with last 3 commits on 123.08stable commit page at Commits · centminmod/centminmod · GitHub

    Code:
    git log -3
    commit 7b776c0519775882f13b33af6ecb4799f3496ec1
    Author: George Liu <MAIL>
    Date:   Wed Jul 29 08:36:15 2015 +1000
    
        update inc/mariadb_submenu.inc
      
        set ENABLE_MARIADBTENUPGRADE='y' in file for 5.5 to 10.0 upgrade submenu option 3
    
    commit 870345961832ff5c42409c2170cca17b5d74f050
    Author: George Liu <MAIL>
    Date:   Tue Jul 28 21:30:27 2015 +1000
    
        fix installer.sh
    
    commit c751bd0b8f9558cb702d1abcab761205a4dd9cf5
    Author: George Liu <MAIL>
    Date:   Tue Jul 28 20:59:40 2015 +1000
    
        update addons/maldet.sh
      
        fix missing /var/run/clamav on some systems
     
    Last edited: Jul 29, 2015
  3. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Now with Git environment setup in post 2 above, you can run centmin.sh menu option 23 submenu option 2 whenever you want to update your Centmin Mod code as outlined at centminmod.com/upgrade.html or here

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.08 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu                  
    --------------------------------------------------------
    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 ioping.sh vbtechsupport.com/1239/
    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 Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + WP Super Cache
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 23
    --------------------------------------------------------
    
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu             
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 2
    example run of submenu option 2, no updates available as I already on latest Centmin Mod 123.08stable code
    Code:
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu             
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 2
    --------------------------------------------------------
    
    Updating Current Centmin Mod code branch via git
            cd /usr/local/src/centminmod
            git stash
            git pull
            chmod +x centmin.sh
    No local changes to save
    Already up-to-date.
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Some Centmin Mod Youtube Videos on Youtube Channel and also on forum's Youtube Resource category.

    Finding and using centmin.sh after initial install is probably most important. Below video was made with .08 beta so install path differs as .08 stable install path is at /usr/local/src/centminmod/

     
  5. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  6. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Thread officially open for comments, feedback, suggestions and bug reports for Centmin Mod 1.2.3-eva2000.08 stable release (Github branch = 123.08stable).
     
  7. CarlosMST

    CarlosMST Member

    43
    0
    6
    Aug 9, 2014
    Ratings:
    +0
    Local Time:
    11:34 PM
    Great job @eva2000
    Is it possible to update without problems from 07 stable?
    What about created vhosts without an ftp user created before 08 update. How to update that?
    If I will decide to sell hosting for a single domain in my centminmod server is it secure? Obviously first I need to create a mariadb user and grant full permissions for only a single database.

    Thanks.
     
    Last edited: Aug 4, 2015
  8. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    depends on how you have stuff and web apps configured or altered in your .07 stable.
    still 1st post at Centmin Mod .08 beta + pure-ftpd virtual FTP user support Existing Centmin Mod Nginx Vhosts heading.
    Centmin Mod is not for shared hosting see FAQ item 2 still applies.