Learn about Centmin Mod LEMP Stack today
Register Now

Install Centmin Mod .07 beta 21 to stable status

Discussion in 'Beta release code' started by eva2000, May 30, 2014.

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

    eva2000 Administrator Staff Member

    53,529
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    7:38 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Centmin Mod .07 beta 21 to stable status. Due to major changes to ngx_pagespeed 1.8.31.2 beta which may break .06 stable build, it maybe time to make .07 beta an official public release. So will need folks to do final beta tests for .07 beta 21 release.

    .07 beta 21's latest commits are for fixing problems with the disapearance of the CentALT YUM repository https://github.com/centminmod/centminmod/commits/123.07beta21

    For beta testing you will need a spare VPS or locate test CentOS 6.x server and willing to test the next .07 Beta release ? You will need to be willing to reload your operating a system to do several tests etc.


    Tests include

    1. Fresh .07 install
    2. Fresh .07 install followed by installing addons/passenger.sh, addons/python27_install.sh, addons/geoip.sh. If you frequently use nginx passenger, python 2.6 and 2.7, ruby or node.js based apps, here's a chance to test and make sure Centmin Mod optional addons install everything you need to make use of them
    3. Fresh .07 install + PHP upgrade menu option #5 which now should auto detect previously installed PHP extensions like APC + igbinary, memcache/memcached, ImagemagicK and auto reinstall them during option #5 PHP recompile/upgrades. No longer will you need to run separate menu options #7,[HASHTAG]#10[/HASHTAG] and [HASHTAG]#15[/HASHTAG] after PHP recompile :)
    4. Fresh .06 previous install + Upgrade to .07 beta release and then followed by installing addons/passenger.sh, addons/python27_install.sh, addons/geoip.sh + PHP upgrade menu option #5
    5. Fresh .07 install but prior to running centmin.sh, edit and set these 4 options PHP_DISABLED=y, MYSQLSERVICE_DISABLED=y, NSD_DISABLED=y and MEMCACHED_DISABLED=y which will install the respective software, but at end of Centmin Mod install will disable the services, so php-fpm, memcached server, nsd service and mysql service will all be disabled and not running. This is for folks who do not need a particular service and as a compromise I have made available option to disable them but still install them, so if they ever need re-enabling they can be.
    6. Running menu options [HASHTAG]#11[/HASHTAG] and [HASHTAG]#12[/HASHTAG] and testing out sub-menu options.
    7. Test PHP_VERSION=5.5.13 and ZOCACHEDFT='y' edit in centmin.sh prior to initial centmin.sh install
    8. Test new menu option [HASHTAG]#21[/HASHTAG] for upgrading Nginx, PHP-FPM and Siege all at the same time. Useful for Centmin Mod release upgrades such as .06 to .07
    9. Test the optional cli command line install method as well for folks wanting quick unattended deployments. So if you run
    Code:
    ./centmin.sh
    
    will give you the usual menu options

    if you run
    Code:
    ./centmin.sh install
    
    will bypass menu install method for CLI command line install which can be unattended

    Download .07 beta 21

    You can find the 21st .07 beta with timestamped naming at http://centminmod.com/centminmod_beta/centmin-v1.2.3-eva2000.07_submenu_290514.zip or you can use the Github installer.sh as well at http://community.centminmod.com/threads/centmin-mod-07-beta-github-installer-sh.80/

    Feedback for beta testing is very much appreciated and helps as once .07 becomes stable release, I will be going back to the usual few hours 1 day per week routine for working on Centmin Mod. Only during the beta testing work am I spending a bit more time to fix whatever needs fixing as soon as it happens.

    Basically, bugs found during beta testing will be fixed quicker than they would once .07 is publicly released as stable ;)
     
    Last edited: Jun 15, 2014
  2. eva2000

    eva2000 Administrator Staff Member

    53,529
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    7:38 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    If folks could post a reply here if they tested the initial install with success as well as any of the outlined tests above, that would be great.

    I want to push up the time table for .07 stable release due to the CentALT repo bug etc.

    Thanks :)

    George
     
  3. Matt

    Matt Well-Known Member

    926
    414
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +669
    Local Time:
    10:38 PM
    1.5.15
    MariaDB 10.2
    I've tested clean install with success. have done option 21, and a 2 mariaDB10 upgrades. Doing another full install on a Linode 2GB now
     
  4. Matt

    Matt Well-Known Member

    926
    414
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +669
    Local Time:
    10:38 PM
    1.5.15
    MariaDB 10.2
    Another one done
    Code:
    Total Centmin Mod Install Time: 1419.639782449 seconds
     
  5. eva2000

    eva2000 Administrator Staff Member

    53,529
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    7:38 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Thanks.. does like like 2GB Linode is slower than >4GB Linode plans for Centmin Mod install time, as my 2GB Linode VPS install for this forum was around the time you posted too.
     
  6. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    5:38 AM
    Mainline
    10.2
    Question here, If I already upgraded MariabDB from 5.5.37 to 10.0.11 via menu (the one I have error's here).
    Can I repeat the same process without breaking anything on my database/server?
    I might missed some steps doing it manually, So re-running the upgrade menu might install all dependencies, remove any old rpm, clean up other un-neccesarry files.

    I'm sorry for being noob. :(
     
  7. eva2000

    eva2000 Administrator Staff Member

    53,529
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    7:38 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    No need, all the steps I outlined in your thread are the same steps the auto upgrade MariaDB 10 menu basically do :D
     
  8. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    5:38 AM
    Mainline
    10.2
    Running again the menu is not recommended? Might break some things?
    I'm panic that time when I run all the commands you suggested, I might missed some of your steps :(
     
  9. Matt

    Matt Well-Known Member

    926
    414
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +669
    Local Time:
    10:38 PM
    1.5.15
    MariaDB 10.2
    Look over your bash history, and double check all the commands were run?
     
  10. eva2000

    eva2000 Administrator Staff Member

    53,529
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    7:38 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  11. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    5:38 AM
    Mainline
    10.2
    Hm, but I already reboot the server after it's fixed.
     
  12. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    5:38 AM
    Mainline
    10.2
    Using this on my OVH server, after I installed Minimal CentOS.
    Everything works! (y)(y)(y)
     
  13. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    5:38 AM
    Mainline
    10.2
  14. eva2000

    eva2000 Administrator Staff Member

    53,529
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    7:38 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  15. eva2000

    eva2000 Administrator Staff Member

    53,529
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    7:38 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Got a bit tired of manually finding the new pagespeedadmin.conf location so added it to the pscontrol file as an option

    Code:
    pscontrol
    
    pscontrol admin
    pscontrol handler
    pscontrol edit
    pscontrol on
    pscontrol off
    pscontrol statson
    pscontrol statsoff
    Running

    Code:
    pscontrol admin
    will use nano text editor to open /usr/local/nginx/conf/pagespeedadmin.conf

    .07 beta 21 commit code for the changes in full https://github.com/centminmod/centminmod/commit/e10beddc22ebfcce9f177615b45acd2ab0e11cca (fixed typo https://github.com/centminmod/centminmod/commit/e86bc53bf00d1e5b31927082ecb02c57b01e9472) which are to the pagespeeduptask function lines 379 to 393 in nginx_pagespeed.inc https://github.com/centminmod/centm...b45acd2ab0e11cca/inc/nginx_pagespeed.inc#L379

    If you don't want to reinstall and just change the /usr/bin/pscontrol file, replace it's contents with the following

    Code:
    #/bin/bash
    # turn ngx_pagespeed on or off switch
    
    psadmin() {
    nano -w /usr/local/nginx/conf/pagespeedadmin.conf
    }
    
    pshandler() {
    nano -w /usr/local/nginx/conf/pagespeedhandler.conf
    }
    
    psconf() {
    nano -w /usr/local/nginx/conf/pagespeed.conf
    }
    
    psoff() {
    sed -i 's/pagespeed on;/pagespeed off;/g' /usr/local/nginx/conf/pagespeed.conf
    /etc/init.d/nginx restart
    }
    
    pson() {
    sed -i 's/pagespeed off;/pagespeed on;/g' /usr/local/nginx/conf/pagespeed.conf
    /etc/init.d/nginx restart
    }
    
    psstatslogoff() {
    sed -i 's/ModPagespeedStatistics on;/ModPagespeedStatistics off;/g' /usr/local/nginx/conf/pagespeedstatslog.conf
    sed -i 's/ModPagespeedStatisticsLogging on;/ModPagespeedStatisticsLogging off;/g' /usr/local/nginx/conf/pagespeedstatslog.conf
    /etc/init.d/nginx restart
    }
    
    psstatslogon() {
    sed -i 's/ModPagespeedStatistics off;/ModPagespeedStatistics on;/g' /usr/local/nginx/conf/pagespeedstatslog.conf
    sed -i 's/ModPagespeedStatisticsLogging off;/ModPagespeedStatisticsLogging on;/g' /usr/local/nginx/conf/pagespeedstatslog.conf
    /etc/init.d/nginx restart
    }
    
    case "$1" in
    admin)
    psadmin
    ;;
    handler)
    pshandler
    ;;
    edit)
    psconf
    ;;
    on)
    pson
    ;;
    off)
    psoff
    ;;
    statson)
    psstatslogon
    ;;
    statsoff)
    psstatslogoff
    ;;
    *)
    echo "pscontrol admin"
    echo "pscontrol handler"
    echo "pscontrol edit"
    echo "pscontrol on"
    echo "pscontrol off"
    echo "pscontrol statson"
    echo "pscontrol statsoff"
    ;;
    esac
    exit
     
    Last edited: May 31, 2014
  16. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    5:38 AM
    Mainline
    10.2
    Newly installed CentminMod Server :)
    Only change from default install is:
    • Using Php 5.5.13 and ZepdOpCache enabled
    • Upgraded MariaDB to 10.0.11
    upload_2014-5-31_23-42-31.png
     
  17. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    5:38 AM
    Mainline
    10.2
    New server :)
     
  18. Guneyd

    Guneyd New Member

    11
    2
    3
    Jun 1, 2014
    Ratings:
    +2
    Local Time:
    11:38 PM
    I've just installed the beta, but I'm unable to install [HASHTAG]#19[/HASHTAG] FFMPEG:
    Code:
    5.4 not compatible with FFMPEG-PHP
    install aborted
    
     
  19. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    5:38 AM
    Mainline
    10.2
    I don't have any experience about that addon/menu.
    Maybe @Matt or @eva2000 can help you.

    Looks like only compatible with Php 5.3.
     
  20. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    5:38 AM
    Mainline
    10.2
    Right now is my Forums Peak Time.
    upload_2014-6-1_22-18-51.png

    18 hours since the server was Built from scratch :)
    upload_2014-6-1_22-17-50.png
     
Thread Status:
Not open for further replies.