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

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    @RoldanLT another fix for disable Nginx Vhost Traffic stats module another fix for disabling Nginx Vhost Traffic Statistics module · centminmod/[email protected] · GitHub

    also tested NGINX_PAGESPEED=n and it works fine for me

    Code:
    for m in $(nginx -V 2>&1 | grep configure); do echo $m; done
    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_flv_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-1518da4
    --add-module=../openresty-srcache-nginx-module-ffa9ab7
    --add-module=../ngx_devel_kit-0.2.19
    --add-module=../set-misc-nginx-module-0.28
    --add-module=../echo-nginx-module-0.57
    --add-module=../lua-nginx-module-0.9.16rc1
    --add-module=../lua-upstream-nginx-module-0.02
    --add-module=../lua-upstream-cache-nginx-module-0.1.1
    --add-module=../nginx_upstream_check_module-0.3.0
    --add-module=../headers-more-nginx-module-0.25
    --with-openssl=../portable-2.2.0
    --with-libatomic
    --with-threads
    --with-pcre=../pcre-8.37
    --with-pcre-jit
    --with-http_spdy_module
     
  2. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    @RoldanLT finer grain control over other Nginx modules in centmin.sh with new variables add NGINX_FLV, NGINX_SECURELINK and NGINX_FANCYINDEX variables to cen… · centminmod/[email protected] · GitHub

    example with

    Code:
    NGINX_STREAM=n               # http://nginx.org/en/docs/stream/ngx_stream_core_module.html
    NGINX_RTMP=n                 # Nginx RTMP Module support https://github.com/arut/nginx-rtmp-module
    NGINX_FLV=n                  # http://nginx.org/en/docs/http/ngx_http_flv_module.html
    NGINX_MP4=n                  # Nginx MP4 Module http://nginx.org/en/docs/http/ngx_http_mp4_module.html
    NGINX_SECURELINK=n           # http://nginx.org/en/docs/http/ngx_http_secure_link_module.html
    NGINX_FANCYINDEX=n           # http://wiki.nginx.org/NgxFancyIndex
    NGINX_VHOSTSTATS=n           # https://github.com/vozlt/nginx-module-vts
    NGINX_PAGESPEED=n            # Install ngx_pagespeed
    NGINX_PASSENGER='n'          # Install Phusion Passenger requires installing addons/passenger.sh before hand
    NGINX_WEBDAV=n               # Nginx WebDAV and nginx-dav-ext-module
    NGINX_UPSTREAMCHECK='n'      # nginx upstream check https://github.com/yaoweibin/nginx_upstream_check_module
    NGINX_OPENRESTY='n'            # Agentzh's openresty Nginx modules
    LUAJIT_GITINSTALL='n'        # opt to install luajit 2.1 from dev branch http://repo.or.cz/w/luajit-2.0.git/shortlog/refs/heads/v2.1
    ORESTY_LUANGINX='n'             # enable or disable or ORESTY_LUA* nginx modules below
    
    Code:
    for m in $(nginx -V 2>&1 | grep configure); do echo $m; done
    configure
    arguments:
    --with-ld-opt='-lrt
    -ljemalloc
    -Wl,-z,relro'
    --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_realip_module
    --with-http_geoip_module
    --with-openssl-opt=enable-tlsext
    --add-module=../ngx_cache_purge-2.3
    --add-module=../nginx-accesskey-2.0.3
    --add-module=../nginx-http-concat-master
    --add-module=../headers-more-nginx-module-0.25
    --with-openssl=../portable-2.2.0
    --with-libatomic
    --with-threads
    --with-pcre=../pcre-8.37
    --with-pcre-jit
    --with-http_spdy_module
     
    Last edited: Jun 16, 2015
    • Like Like x 1
  3. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    interesting first time coming across this error when there's problem with centos yum mirrors
    Code:
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
    12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock: (28, 'connect() timed out!')
    Code:
    Processing package: clang
    ----------------------------------------------------------------------------------
    Installing clang
    ----------------------------------------------------------------------------------
    Error: Cannot find a valid baseurl for repo: base
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
    12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock: (28, 'connect() timed out!')
    ----------------------------------------------------------------------------------
    Processing package: clang-devel
    ----------------------------------------------------------------------------------
    Installing clang-devel
    ----------------------------------------------------------------------------------
    Error: Cannot find a valid baseurl for repo: base
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
    12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock: (28, 'connect() timed out!')
    ----------------------------------------------------------------------------------
    Processing package: jemalloc
    ----------------------------------------------------------------------------------
    Installing jemalloc
    ----------------------------------------------------------------------------------
    Error: Cannot find a valid baseurl for repo: base
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
    12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock: (28, 'connect() timed out!')
    ----------------------------------------------------------------------------------
    Processing package: jemalloc-devel
    ----------------------------------------------------------------------------------
    Installing jemalloc-devel
    ----------------------------------------------------------------------------------
    Error: Cannot find a valid baseurl for repo: base
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
    12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock: (28, 'connect() timed out!')
    ----------------------------------------------------------------------------------
    Code:
    ----------------------------------------------------------------------------------
    Processing package: jpegoptim
    ----------------------------------------------------------------------------------
    Installing jpegoptim
    ----------------------------------------------------------------------------------
    Error: Cannot find a valid baseurl for repo: base
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
    14: PYCURL ERROR 56 - "Failure when receiving data from the peer"
    ----------------------------------------------------------------------------------
    Code:
    cat /etc/yum.repos.d/CentOS-Base.repo
    # CentOS-Base.repo
    #
    # The mirror system uses the connecting IP address of the client and the
    # update status of each mirror to pick mirrors that are updated to and
    # geographically close to the client.  You should use this for CentOS updates
    # unless you are manually picking other mirrors.
    #
    # If the mirrorlist= does not work for you, as a fall back you can try the
    # remarked out baseurl= line instead.
    #
    #
    
    [base]
    name=CentOS-$releasever - Base
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
    #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
    priority=1
    
    #released updates
    [updates]
    name=CentOS-$releasever - Updates
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
    #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
    priority=1
    priority=1
    
    #additional packages that may be useful
    [extras]
    name=CentOS-$releasever - Extras
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
    #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
    priority=1
    
    #additional packages that extend functionality of existing packages
    [centosplus]
    name=CentOS-$releasever - Plus
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
    #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
    priority=2
    
    #contrib - packages by Centos Users
    [contrib]
    name=CentOS-$releasever - Contrib
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra
    #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
    priority=2
     
    Last edited: Jun 16, 2015
  4. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    k was a temp glitch on centos mirros works now
    Code:
    Total YUM Time: 285.121961579 seconds
    Total YUM + Source Download Time: 301.644216196 seconds
    Total Nginx First Time Install Time: 168.666228632 seconds
    Total PHP First Time Install Time: 143.392048001 seconds
    Total Centmin Mod Install Time: 823.070639354 seconds
    
     
    • Like Like x 1
  5. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  6. rdan

    rdan Well-Known Member

    4,671
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    5:47 AM
    Mainline
    10.2
    Still has problem Eva, new install:
    vhost_traffic conf still un-commented on demodomain, virtual and nginx conf.
     
  7. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    can you post the contents of those 3 .conf via gist ? the disabling code relys on placement and certain files existing in vhosts. If you have removed them or moved them around it could be the problem

    but commit at another fix for disabling Nginx Vhost Traffic Statistics module · centminmod/[email protected] · GitHub and nginx vhost traffic stats proper disabling with NGINX_VHOSTSTATS=n · centminmod/[email protected] · GitHub should of fixed it as I work on the include files contents and not the include itself

    make sure you have updated your copy centmin.sh menu option 23, submenu option 2 ;)
     
  8. rdan

    rdan Well-Known Member

    4,671
    1,121
    113
    May 25, 2014
    Ratings:
    +1,663
    Local Time:
    5:47 AM
    Mainline
    10.2
    Opz, I already delete demodomain conf and remove vhost traffic conf include on virtual.conf and commented out on nginx.conf.
    conf file is still included and un commented causing the nginx restart error.
     
  9. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    oh well, try on a test server hehe

    A small addition i will add soon - as I have many VPS and servers from different time zones and Centmin Mod defaults to UTC time display. So thought I'd add a quick alias command, mytimes which when run will spit out times in various timezones :)

    Code:
    alias mytimes='echo -e "$(TZ='UTC' date)\t[UTC]"; echo -e "$(TZ='Australia/Brisbane' date)\t[Brisbane, Australia]"; echo -e "$(TZ='America/Los_Angeles' date)\t[Los Angeles, USA]"; echo -e "$(TZ='America/Chicago' date)\t[Chicago, USA]"; echo -e "$(TZ='America/New_York' date)\t[New York, USA]"; echo -e "$(TZ='Europe/London' date)\t[London, UK]"'
    Code:
    mytimes
    Tue Jun 16 14:14:42 UTC 2015    [UTC]
    Wed Jun 17 00:14:42 AEST 2015   [Brisbane, Australia]
    Tue Jun 16 07:14:42 PDT 2015    [Los Angeles, USA]
    Tue Jun 16 09:14:42 CDT 2015    [Chicago, USA]
    Tue Jun 16 10:14:42 EDT 2015    [New York, USA]
    Tue Jun 16 15:14:42 BST 2015    [London, UK]
    
    even easier via script at /usr/bin/mytimes

    Code:
    /usr/bin/mytimes
    Code:
    #!/bin/bash
    TIMEZONES='UTC Australia/Brisbane America/Los_Angeles America/Chicago America/New_York Europe/London'
    
    for t in $TIMEZONES; do
        echo -e "$(TZ=$t date)\t[$t]";
    done
    If folks want to add mytimes to existing server, here's quick one liner to install it

    Code:
    rm -rf /usr/bin/mytimes; wget -cq -O /usr/bin/mytimes https://raw.githubusercontent.com/centminmod/centminmod/123.08beta03/tools/mytimes.sh; chmod +x /usr/bin/mytimes; /usr/bin/mytimes
     
    Last edited: Jun 17, 2015
  10. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    latest .08 beta03 fresh install run

    Code:
    Total YUM Time: 257.979016492 seconds
    Total YUM + Source Download Time: 273.651931160 seconds
    Total Nginx First Time Install Time: 164.081675863 seconds
    Total PHP First Time Install Time: 141.097232696 seconds
    Total Centmin Mod Install Time: 786.699625308 seconds
    
    hmm didn't get the mytimes setup quite correct :eek:
    Code:
    --------------------------------------------------------
    mytimes check:
    /usr/bin/mytimes
    --------------------------------------------------------
    inc/centminfinish.inc: line 184: /usr/bin/mytimes: No such file or directory
    cp: cannot stat `/usr/local/src/centminmod-123.08beta03/tools/mytimes': No such file or directory
    chmod: cannot access `/usr/bin/mytimes': No such file or directory
    inc/centminfinish.inc: line 188: /usr/bin/mytimes: No such file or directory
    --------------------------------------------------------
    doh mytimes.sh is what it's looking for
    Code:
    ls -lah /usr/local/src/centminmod-123.08beta03/tools/     
    total 36K
    drwxr-xr-x  2 root root 4.0K Jun 17 03:13 .
    drwxr-xr-x 13 root root 4.0K Jun 17 04:30 ..
    -rwxr-xr-x  1 root root 1.1K Jun 17 03:13 centminmod_packager.sh
    -rwxr-xr-x  1 root root  10K Jun 17 03:13 cminfo.sh
    -rwxr-xr-x  1 root root 2.4K Jun 17 03:13 cmupdate.sh
    -rwxr-xr-x  1 root root 2.0K Jun 17 03:13 gitsetup.sh
    -rw-r--r--  1 root root  178 Jun 17 03:13 mytimes.sh
    committed fix fix mytimes setup · centminmod/[email protected] · GitHub
     
    • Like Like x 1
  11. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    FYI, for method 2 or 3 install methods, I moved majority of yum package installs into the installer.sh/ betainstaller.sh itself so times reported for yum in actual centmin.sh install will be lower. Method 1 of course will have yum packages installed by centmin.sh menu option 1 run. Basically, method 2 and 3 overall will be faster for installs.

    fresh install with alternated curl installers
    Code:
    Total YUM Time: 146.235814137 seconds
    Total YUM + Source Download Time: 165.432014721 seconds
    Total Nginx First Time Install Time: 168.025846709 seconds
    Total PHP First Time Install Time: 143.897714342 seconds
    Total Centmin Mod Install Time: 680.560464620 seconds
    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    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.2
    built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
    built with LibreSSL 2.2.0
    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-1518da4 --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../ngx_devel_kit-0.2.19 --add-module=../set-misc-nginx-module-0.28 --add-module=../echo-nginx-module-0.57 --add-module=../lua-nginx-module-0.9.16rc1 --add-module=../lua-upstream-nginx-module-0.02 --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.25 --with-openssl=../portable-2.2.0 --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.3-beta
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.4.42 (cli) (built: Jun 17 2015 05:26:43)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-common-10.0.19-1.el6.x86_64
    MariaDB-server-10.0.19-1.el6.x86_64
    MariaDB-compat-10.0.19-1.el6.x86_64
    MariaDB-shared-10.0.19-1.el6.x86_64
    MariaDB-client-10.0.19-1.el6.x86_64
    MariaDB-devel-10.0.19-1.el6.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.24
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v7.69 (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.mirrors.hoobly.com
    * epel: mirror.hmc.edu
    * extras: mirrors.psychz.net
    * rpmforge: mirror.webnx.com
    * updates: mirror.supremebytes.com
    1605 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,785+2,850
    extras          CentOS-6 - Extras                                             38
    mariadb         MariaDB                                                     12+5
    rpmforge        RHEL 6 - RPMforge.net - dag                          3,199+1,519
    updates         CentOS-6 - Updates                                       920+287
    vz-base         vz-base                                                        3
    vz-updates      vz-updates                                                   2+6
    repolist: 17,911
    
    
    --------------------------------------------------------
    mytimes check:
    /usr/bin/mytimes
    --------------------------------------------------------
    inc/centminfinish.inc: line 184: /usr/bin/mytimes: No such file or directory
    Wed Jun 17 05:29:45 UTC 2015    [UTC]
    Wed Jun 17 15:29:45 AEST 2015   [Australia/Brisbane]
    Tue Jun 16 22:29:45 PDT 2015    [America/Los_Angeles]
    Wed Jun 17 00:29:45 CDT 2015    [America/Chicago]
    Wed Jun 17 01:29:45 EDT 2015    [America/New_York]
    Wed Jun 17 06:29:45 BST 2015    [Europe/London]
    --------------------------------------------------------
     
    Last edited: Jun 17, 2015
  12. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    updated the betainstaller.sh and installer.sh to measure the curl yum install times too so curl yum times + yum install times = the old yum install time metric.

    Code:
    curl -sL http://centminmod.com/betainstaller.sh | bash
    had to move times display to end of routine to properly get the curl yum install times included :)

    Code:
    Total Curl Installer YUM Time: 70.580179532 seconds
    Total YUM Time: 138.516358108 seconds
    Total YUM + Source Download Time: 154.709682259 seconds
    Total Nginx First Time Install Time: 165.181034640 seconds
    Total PHP First Time Install Time: 141.318505987 seconds
    Total Centmin Mod Install Time: 661.514266067 seconds
    
    so old yum time is curl installer yum + yum time = 70.58 + 138.5 = 209 seconds which is a good 50-80 seconds faster than before and total time = centmin mod install time + curl installer yum time = 70 + 661 = 732 seconds

    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    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.2
    built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
    built with LibreSSL 2.2.0
    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-1518da4 --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../ngx_devel_kit-0.2.19 --add-module=../set-misc-nginx-module-0.28 --add-module=../echo-nginx-module-0.57 --add-module=../lua-nginx-module-0.9.16rc1 --add-module=../lua-upstream-nginx-module-0.02 --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.25 --with-openssl=../portable-2.2.0 --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.3-beta
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.4.42 (cli) (built: Jun 17 2015 06:47:13)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-common-10.0.19-1.el6.x86_64
    MariaDB-server-10.0.19-1.el6.x86_64
    MariaDB-compat-10.0.19-1.el6.x86_64
    MariaDB-shared-10.0.19-1.el6.x86_64
    MariaDB-client-10.0.19-1.el6.x86_64
    MariaDB-devel-10.0.19-1.el6.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.24
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v7.69 (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: mirrors.easynews.com
    * epel: mirror.hmc.edu
    * extras: mirror.lax.hugeserver.com
    * rpmforge: mirror.hmc.edu
    * updates: repos.lax.quadranet.com
    1605 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,785+2,850
    extras          CentOS-6 - Extras                                             38
    mariadb         MariaDB                                                     12+5
    rpmforge        RHEL 6 - RPMforge.net - dag                          3,199+1,519
    updates         CentOS-6 - Updates                                       920+287
    vz-base         vz-base                                                        3
    vz-updates      vz-updates                                                   2+6
    repolist: 17,911
    
    
    --------------------------------------------------------
    mytimes check:
    /usr/bin/mytimes
    --------------------------------------------------------
    Wed Jun 17 06:50:10 UTC 2015    [UTC]
    Wed Jun 17 16:50:10 AEST 2015   [Australia/Brisbane]
    Tue Jun 16 23:50:10 PDT 2015    [America/Los_Angeles]
    Wed Jun 17 01:50:10 CDT 2015    [America/Chicago]
    Wed Jun 17 02:50:10 EDT 2015    [America/New_York]
    Wed Jun 17 07:50:10 BST 2015    [Europe/London]
    --------------------------------------------------------
     
    Last edited: Jun 17, 2015
  13. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    added total time measure = curl yum + cm install times

    Code:
    Total Curl Installer YUM Time: 66.447080513 seconds
    Total YUM Time: 145.798311262 seconds
    Total YUM + Source Download Time: 291.018504076 seconds
    Total Nginx First Time Install Time: 164.114882130 seconds
    Total PHP First Time Install Time: 143.705942086 seconds
    Total Centmin Mod Install Time: 812.134095010 seconds
    Total Install Time (curl yum + cm install times): 812.134095010 seconds
    hmm didn't calculate right
     
  14. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    also updated centmin mod .08 beta 03 with support for yum epel-release install method so i can move epel repo yum packages also into the curl installer.sh/betainstaller.sh stage to further speed up curl one liner installs :)

    end result

    Code:
    Total Curl Installer YUM Time: 99.970888827 seconds
    Total YUM Time: 106.209193702 seconds
    Total YUM + Source Download Time: 162.812995662 seconds
    Total Nginx First Time Install Time: 169.213247355 seconds
    Total PHP First Time Install Time: 143.084048059 seconds
    Total Centmin Mod Install Time: 679.386987144 seconds
    Total Install Time (curl yum + cm install times): 679.386987144 seconds
    not sure what's going on with Total Install Time calculation, manually run it is correct
    Code:
    Total Install Time (curl yum + cm install times): 779.357875971 seconds
    yay fixed :D

    CentOS 6.6 64bit minimal OS on OpenVZ VPS from theskyspace.com
    Code:
    Total Curl Installer YUM Time: 102.130757920 seconds
    Total YUM Time: 108.375529920 seconds
    Total YUM + Source Download Time: 125.328829367 seconds
    Total Nginx First Time Install Time: 165.745744833 seconds
    Total PHP First Time Install Time: 141.236397669 seconds
    Total Centmin Mod Install Time: 636.017448769 seconds
    Total Install Time (curl yum + cm install times): 738.148206689 seconds
    CentOS 7.1 64bit minimal OS on OpenVZ VPS from theskyspace.com
    Code:
    Total Curl Installer YUM Time: 94.723368927 seconds
    Total YUM Time: 150.027575750 seconds
    Total YUM + Source Download Time: 171.065588453 seconds
    Total Nginx First Time Install Time: 159.053067941 seconds
    Total PHP First Time Install Time: 166.094710035 seconds
    Total Centmin Mod Install Time: 730.574030424 seconds
    Total Install Time (curl yum + cm install times): 825.297399351 seconds
    don't forget you can setup a cronjob to auto update your .08 beta03 install code Beta Branch - Cronjob Auto Updating Centmin Mod .08 beta03 How To Guide | Centmin Mod Community :)
     
    Last edited: Jun 17, 2015
  15. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Like Like x 1
  16. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  17. Mask

    Mask Active Member

    107
    31
    28
    Nov 10, 2014
    Ratings:
    +37
    Local Time:
    2:47 AM
    Nginx 1.9.1
    MariaDB 10.0.19
    So the version from pecl.php.net is better compare to the ones inbuilt with php 5.5.??
     
  18. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    no no.. if same version should be the same. It's just there was a point the pecl version was higher than what php 5.6 had. i.e. pecl had 7.0.5 months ago but php 5.6.9 and below had 7.04-dev. Now php 5.6.10 has 7.06-dev. So this change is for instances where pecl has a version that is newer than the inbuilt with php 5.5/5.6/7.0. i.e. if pecl released 7.07 but php 5.6.x still stuck on 7.06-dev
     
    • Informative Informative x 1
  19. eva2000

    eva2000 Administrator Staff Member

    41,731
    9,397
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,434
    Local Time:
    7:47 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    More updates today Commits · centminmod/centminmod · GitHub FYI approximately 11 days till end of month so folks step up your testing and bug report/feedback. Once .08 beta 03 goes stable, my hours for working on updates or bug fixes will reduce back to the usual 1-2hrs one day per week for a stable release. So if you want it fixed quickly, test now ;)
     
  20. pamamolf

    pamamolf Premium Member Premium Member

    3,477
    335
    83
    May 31, 2014
    Ratings:
    +642
    Local Time:
    12:47 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    I just try to update nginx to latest version and i got those errors :)

    Some of them may need just to hide them and some a workaround?

    I was disable pagespeed before upgrade:
    Code:
    chmod: cannot access `/var/ngx_pagespeed_cache/http,3A': No such file or directory
    Code:
    mv: cannot move `nginx-goodies-nginx-sticky-module-ng-bd312d586752' to `nginx-sticky-module-1.2.5/nginx-goodies-nginx-sticky-module-ng-bd312d586752': Directory not empty
    Code:
    nginx: [emerg] unknown directive "vhost_traffic_status_zone" in /usr/local/nginx/conf/vts_http.conf:1