Welcome to Centmin Mod Community
Register Now

Featured CentOS 7.x How to help test .08 CentOS 7 Betas with Github code ?

Discussion in 'Beta release code' started by eva2000, Jul 11, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    5:28 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    I just added ngx_http_auth_request_module to Nginx for .08 beta 03 as it only required adding --with-http_auth_request_module to configure options. You can see the changes I did here add ngx_http_auth_request_module support · centminmod/centminmod@ec079c5 · GitHub.

    It's disabled by default in centmin.sh NGINX_AUTHREQ=n


    when enabled

     
    Last edited: Jul 22, 2015
  2. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    5:28 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    can't help myself - testing this before merging into 123.08beta03 branch - sneaking in 2x Nginx redis modules - OpenResty Redis2 Module and Nginx http-redis module in 123.08beta03redis experimental branch :)

     
  3. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    5:28 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    during testing found an interesting bug that has crept in, somewhere in the install process the cronie/cronjob and sysstat yum packages are getting removed as part of dependencies for removed packages

    Code:
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 16:57:37 Installed: MariaDB-compat-10.0.20-1.el6.x86_64
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 16:57:37 Installed: MariaDB-common-10.0.20-1.el6.x86_64
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 16:57:38 Installed: MariaDB-client-10.0.20-1.el6.x86_64
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 16:57:53 Installed: MariaDB-server-10.0.20-1.el6.x86_64
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 16:57:53 Installed: MariaDB-shared-10.0.20-1.el6.x86_64
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 16:57:54 Installed: MariaDB-devel-10.0.20-1.el6.x86_64
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log:Jul 25 16:57:54 Erased: mysql-libs
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 16:58:22 Installed: libicu-4.2.1-9.1.el6_2.x86_64
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 16:58:22 Installed: libicu-devel-4.2.1-9.1.el6_2.x86_64
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 17:01:31 Erased: sysstat
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 17:01:31 Erased: cronie-anacron
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 17:01:31 Erased: crontabs
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 17:01:31 Erased: cronie
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 17:01:31 Erased: sendmail
    centminmod_1.2.3-eva2000.08_250715-125239_yum-log.log-Jul 25 17:01:57 Installed: mailx-12.4-8.el6_6.x86_64
    seems to be specific to some OpenVZ CentOS 6/7 templates which install mysql default server and/or sendmail by default I think . As Centmin Mod removes mysql default server in favour for MariaDB and/or sendmail and that initiates erasure for sysstat and cronie/cronie-anacron/crontabs.

    so only time you would run into this problem is if your VPS OS template that the web host builds has either oracle mysql default or sendmail installed by default prior to initial Centmin Mod install

    added a post-install check for this and re-install cronie and sysstat packages if missing ensure cronie and sysstat are installed · centminmod/centminmod@4636869 · GitHub + update inc/cpcheck.inc · centminmod/centminmod@0c2e073 · GitHub
     
    Last edited: Jul 26, 2015
  4. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    5:28 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    prep testing for 123.08stable branch via centmin.sh menu option 23 submenu option 3 to update to 123.08stable branch

    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
    --------------------------------------------------------
    
    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 ] 3
    --------------------------------------------------------
    
    Update Centmin Mod to newer branch via git
    You need to input the name of the branch
    List of current remote branches by descending date order
    
    2015-07-27 00:04:59 +1000 12 minutes ago        123.08stable
    2015-07-26 22:47:23 +1000 89 minutes ago        123.08beta03
    2015-07-26 04:13:30 +1000 20 hours ago  master
    2015-07-26 04:13:30 +1000 20 hours ago  master
    2015-07-26 02:36:30 +1000 22 hours ago  123.08beta03redis
    2015-07-16 07:46:33 +1000 11 days ago   123.08beta03-el7ffmpeg-fix
    2015-07-10 19:59:08 +1000 2 weeks ago   123.07stable
    2015-06-29 13:57:14 +1000 4 weeks ago   123.08beta03curl743
    2015-06-14 13:15:27 +1000 6 weeks ago   123.08beta03-rtmp
    2015-06-10 00:47:37 +1000 7 weeks ago   123.08beta03-libresslclang
    2015-06-09 21:28:18 +1000 7 weeks ago   123.08beta03clang
    2015-06-03 21:13:57 +1000 8 weeks ago   123.08beta03libressl
    2015-05-27 15:54:13 +1000 9 weeks ago   123.08centos7beta02
    2015-03-25 03:45:39 +1000 4 months ago  123.08zerodown
    2015-03-10 16:52:37 +1000 5 months ago  123.08centos7beta01
    2014-06-23 17:08:44 +1000 1 year, 1 month ago   123.06stable
            ->
    
    Code:
    Enter the branch name you want to switch to i.e. 123.08beta03 : 123.08stable
    
    download github.com centmin mod 123.08stable branch repo
    Initialized empty Git repository in /usr/local/src/centminmod-123.08stable/.git/
    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/HEAD -> origin/master
      remotes/origin/master
    
    list git log last commit
            git log -a
    commit b746199d23637740076d5bda2324804ea281348c
    Author: George Liu <MAIL>
    Date:   Mon Jul 27 00:04:59 2015 +1000
    
        update README
    
    to update centmin mod 123.08stable branch repo via git
            cd /usr/local/src/centminmod-123.08stable
            git stash
            git pull
            chmod +x centmin.sh
    As .08 stable changes default install directory from this point forward to /usr/local/src/centminmod, you need to do one more manual change and rename the directory from /usr/local/src/centminmod-123.08stable to /usr/local/src/centminmod and then change to the new directory and run centmin.sh once.

    before rename

    Code:
     ls -lah /usr/local/src
    total 39M
    drwxr-xr-x  3 root root 4.0K Jul 26 14:16 .
    drwxr-xr-x 17 root root 4.0K Jul 25 18:04 ..
    -rw-r--r--  1 root root  39M Jul 25 17:54 123.08beta03.zip
    drwxr-xr-x 14 root root 4.0K Jul 26 14:16 centminmod-123.08stable
    Code:
    cd /usr/local/src
    mv centminmod-123.08stable/ centminmod
    cd /usr/local/src/centminmod
    ./centmin.sh
    after rename

    Code:
    ls -lah /usr/local/src            
    total 39M
    drwxr-xr-x  3 root root 4.0K Jul 26 14:22 .
    drwxr-xr-x 17 root root 4.0K Jul 25 18:04 ..
    -rw-r--r--  1 root root  39M Jul 25 17:54 123.08beta03.zip
    drwxr-xr-x 14 root root 4.0K Jul 26 14:16 centminmod
    .08 stable test install
    Code:
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 134.0720 seconds
    Total YUM Time: 74.204683549 seconds
    Total YUM + Source Download Time: 103.3036
    Total Nginx First Time Install Time: 140.3735
    Total PHP First Time Install Time: 135.4904
    Download Zip From Github Time: 3.1952
    Total Time Other eg. source compiles: 263.1876
    Total Centmin Mod Install Time: 642.3551
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 779.6223 seconds
    ---------------------------------------------------------------------------
    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    Warning: RPMDB altered outside of yum.
    --------------------------------------------------------
    Ensure crond & sysstat service are running
    --------------------------------------------------------
    Starting crond: [  OK  ]
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.2.2
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2015 Joel Rosdahl
    
    This program is free software; you can redistribute it and/or modify it under
    the terms of the GNU General Public License as published by the Free Software
    Foundation; either version 3 of the License, or (at your option) any later
    version.
    
    --------------------------------------------------------
    Check Nginx Version:
    --------------------------------------------------------
    nginx version: nginx/1.9.3
    built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
    built with LibreSSL 2.2.1
    TLS SNI support enabled
    configure arguments: --with-ld-opt='-lrt -ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib' --with-cc-opt='-m64 -mtune=native -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -Wno-c++11-extensions -Wno-sometimes-uninitialized -Wno-parentheses-equality -Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-deprecated -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-conversion' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module --with-http_secure_link_module --with-http_realip_module --with-http_geoip_module --with-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.3 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --add-module=../openresty-memc-nginx-module-4f6f78f --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../ngx_devel_kit-0.2.19 --add-module=../set-misc-nginx-module-0.29 --add-module=../echo-nginx-module-0.58 --add-module=../redis2-nginx-module-0.12 --add-module=../ngx_http_redis-0.3.7 --add-module=../lua-nginx-module-0.9.16 --add-module=../lua-upstream-nginx-module-0.03 --add-module=../lua-upstream-cache-nginx-module-0.1.1 --add-module=../nginx_upstream_check_module-0.3.0 --add-module=../nginx-module-vts --add-module=../headers-more-nginx-module-0.261 --with-openssl=../libressl-2.2.1 --with-libatomic --with-threads --with-stream --with-stream_ssl_module --with-pcre=../pcre-8.37 --with-pcre-jit --with-http_spdy_module --add-module=../ngx_pagespeed-release-1.9.32.4-beta
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.4.43 (cli) (built: Jul 26 2015 21:12:07)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
        with Zend OPcache v7.0.5, Copyright (c) 1999-2015, by Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-client-10.0.20-1.el6.x86_64
    MariaDB-common-10.0.20-1.el6.x86_64
    MariaDB-server-10.0.20-1.el6.x86_64
    MariaDB-devel-10.0.20-1.el6.x86_64
    MariaDB-compat-10.0.20-1.el6.x86_64
    MariaDB-shared-10.0.20-1.el6.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.24
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v8.03 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 3.1.0
    
    Copyright (C) 2015 by Jeffrey Fulmer, et al.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    
    --------------------------------------------------------
    Check ngx_pagespeed Control Script:
    http://centminmod.com/nginx_ngx_pagespeed.html
    --------------------------------------------------------
    pscontrol admin
    pscontrol handler
    pscontrol edit
    pscontrol on
    pscontrol off
    pscontrol statson
    pscontrol statsoff
    
    --------------------------------------------------------
    Check mysqlreport version:
    --------------------------------------------------------
    mysqlreport v3.5-maria11 Jul 4 2013
    
    --------------------------------------------------------
    Check NSD Bind Version:
    --------------------------------------------------------
    NSD version 3.2.18
    Written by NLnet Labs.
    
    Copyright (C) 2001-2011 NLnet Labs.  This is free software.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    --------------------------------------------------------
    Check pure-ftpd Version:
    --------------------------------------------------------
    pure-ftpd v1.0.30
    
    --------------------------------------------------------
    Check YUM Repo List
    --------------------------------------------------------
    Loaded plugins: downloadonly, fastestmirror, priorities, security
    Loading mirror speeds from cached hostfile
    * base: centos-mirror.jchost.net
    * epel: linux.mirrors.es.net
    * extras: mirrors.syringanetworks.net
    * rpmforge: mirror.hmc.edu
    * updates: centos.sonn.com
    1606 packages excluded due to repository priority protections
    repo id         repo name                                            status
    base            CentOS-6 - Base                                      4,952+1,566
    epel            Extra Packages for Enterprise Linux 6 - x86_64       8,850+2,903
    extras          CentOS-6 - Extras                                             38
    mariadb         MariaDB                                                     12+5
    rpmforge        RHEL 6 - RPMforge.net - dag                          3,198+1,520
    updates         CentOS-6 - Updates                                     1,024+346
    vz-base         vz-base                                                        3
    vz-updates      vz-updates                                                   2+6
    repolist: 18,079
    
    --------------------------------------------------------
    mytimes check:
    /usr/bin/mytimes
    --------------------------------------------------------
    Sun Jul 26 21:15:23 UTC 2015    [UTC]
    Mon Jul 27 07:15:23 AEST 2015   [Australia/Brisbane]
    Sun Jul 26 14:15:23 PDT 2015    [America/Los_Angeles]
    Sun Jul 26 16:15:23 CDT 2015    [America/Chicago]
    Sun Jul 26 17:15:23 EDT 2015    [America/New_York]
    Sun Jul 26 22:15:23 BST 2015    [Europe/London]
    --------------------------------------------------------
     
    Last edited: Jul 29, 2015
  5. Josephm

    Josephm Active Member

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    2:28 AM
    1.9.5
    10.0.21
    Hi @eva2000, I have just updated your latest script to 123.08stable, now I can't use command "centmin" as usual, I tried to log-out and log-in again but not success. Any helps, please.

    Code:
    [root@zeus ~]# centmin
    /usr/bin/centmin: line 2: pushd: /usr/local/src/centminmod-123.08beta03: No such file or directory
    bash: centmin.sh: No such file or directory
    [root@zeus ~]# cd /usr/local/src/centminmod-123.08stable/
    
    PS: Thanks your your dedicated works;)
     
  6. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    5:28 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    see above post above yours
    Code:
    cd /usr/local/src
    mv centminmod-123.08stable/ centminmod
    cd /usr/local/src/centminmod
    ./centmin.sh
    then log out of SSH and back in
    running centmin.sh fixes the cmd shortcuts
     
  7. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    5:28 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    The current focus is on 123.08stable branch aka .08 stable What's New in Centmin Mod 1.2.3-eva2000.08 ? | Centmin Mod Community However, I have started the 123.09beta01 gitbranch and will be starting a new thread dedicated to .09 beta01 later on in the month.

    For now, .08 stable will be the focus to ensure everything is okay. From rough calculations, ~40 new installations per day of .08 stable are occurring since launch :cool::D To compare .07 stable had 3,000+ downloads per month.
     
  8. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    5:28 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+