Learn about Centmin Mod LEMP Stack today
Become a Member

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

    35,618
    7,844
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,092
    Local Time:
    11:59 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    many commits made to Centmin Mod .08 beta 03 today so doing a fresh install test on very fast theskyspace.com VPS :)

    Code:
    Total YUM Time: 277.112986075 seconds
    Total Source Download Time: 295.450558479 seconds
    Total Nginx First Time Install Time: 193.909816788 seconds
    Total PHP First Time Install Time: 140.479802360 seconds
    Total Centmin Mod Install Time: 832.975804765 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.1
    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_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=../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 14 2015 11:59:02)
    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-client-10.0.19-1.el6.x86_64
    MariaDB-server-10.0.19-1.el6.x86_64
    MariaDB-devel-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
    
    --------------------------------------------------------
    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: mirror.pac-12.org
    * epel: mirror.sfo12.us.leaseweb.net
    * extras: repos.lax.quadranet.com
    * rpmforge: mirror.hmc.edu
    * updates: mirrors.easynews.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                                       914+285
    vz-base         vz-base                                                        3
    vz-updates      vz-updates                                                   2+6
    repolist: 17,905
    

     
    • Like Like x 1
  2. Steve Tozer

    Steve Tozer Member

    70
    42
    18
    Jul 28, 2014
    South Wales, UK
    Ratings:
    +49
    Local Time:
    2:59 AM
    1.91
    10.0.19
    Ohhhhh lots of commits looking at Git hub :pompous::jimlad:
     
  3. pamamolf

    pamamolf Well-Known Member

    3,112
    295
    83
    May 31, 2014
    Ratings:
    +530
    Local Time:
    4:59 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    How we can check the stats for ccache 3.2.2 ?
    Is there any settings for it for example if it uses 1mb to give it 2mb or anything related?
     
  4. eva2000

    eva2000 Administrator Staff Member

    35,618
    7,844
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,092
    Local Time:
    11:59 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yup - update your servers :)
    ccache only has global stats and default is a 2.2GB on disk cache
    Code:
    ccache -s
    
    cache directory                     /home/.ccache
    primary config                      /home/.ccache/ccache.conf
    secondary config      (readonly)    /usr/local/etc/ccache.conf
    cache hit (direct)                 10059
    cache hit (preprocessed)            1730
    cache miss                          7176
    called for link                      679
    called for preprocessing            1642
    compile failed                       335
    preprocessor error                   336
    bad compiler arguments               305
    unsupported source language          209
    autoconf compile/link               4045
    no input file                        691
    files in cache                     16079
    cache size                         607.9 MB
    max cache size                       2.2 GB
     
  5. eva2000

    eva2000 Administrator Staff Member

    35,618
    7,844
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,092
    Local Time:
    11:59 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  6. eva2000

    eva2000 Administrator Staff Member

    35,618
    7,844
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,092
    Local Time:
    11:59 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Like Like x 1
  7. eva2000

    eva2000 Administrator Staff Member

    35,618
    7,844
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,092
    Local Time:
    11:59 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    slightly faster yum times due to reorganising how yum packages installed in this commit speed up yum install routine by grouping devel packages for .08 beta03 · centminmod/[email protected] · GitHub

    Code:
    Total YUM Time: 258.241292480 seconds
    Total Source Download Time: 276.782386144 seconds
    Total Nginx First Time Install Time: 164.940035231 seconds
    Total PHP First Time Install Time: 141.977084124 seconds
    Total Centmin Mod Install Time: 792.974669612 seconds
    also fyi, source download time includes yum time in it's total due to how i have it setup - so real source download time = source time minus yum time = 276-258 = 18 seconds which is more like it heh - committed change to the label to Total YUM + Source Download Time update centmin.sh note that source download times include yum times · centminmod/[email protected] · GitHub

    i.e.
    Code:
    Total YUM Time: 279.493284646 seconds
    Total YUM + Source Download Time: 294.795849054 seconds
    Total Nginx First Time Install Time: 168.834214714 seconds
    Total PHP First Time Install Time: 142.129317397 seconds
    Total Centmin Mod Install Time: 810.825739050 seconds
    also merged nginx rtmp module branch into .08 beta03 Nginx - Nginx for Stream Videos Server | Centmin Mod Community

    commit Merge branch '123.08beta03-rtmp' into 123.08beta03 · centminmod/[email protected] · GitHub
     
    Last edited: Jun 15, 2015
  8. eva2000

    eva2000 Administrator Staff Member

    35,618
    7,844
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,092
    Local Time:
    11:59 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    With as many changes to .08 beta03 these next few weeks (plan for .08 stable by end of June ~15 days from now), some folks might want to use cronjob to auto update their Centmin Mod .08 beta03 code. You can do this if you run centmin.sh menu option 23, submenu option 1 to setup git environment first.

    setup git environment via centmin.sh option 23, submenu 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, 10.1 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    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 ] 1
    --------------------------------------------------------
    
    Code:
    setup Centmin Mod git sourced install...
    
    download github.com centmin mod 123.08beta03 branch repo
    Initialized empty Git repository in /usr/local/src/centminmod-123.08beta03/.git/
    Switched to a new branch '123.08beta03'
    Branch 123.08beta03 set up to track remote branch 123.08beta03 from origin.
    
    list all available local branches
            git branch -a
    * 123.08beta03
      master
      remotes/origin/123.06stable
      remotes/origin/123.07stable
      remotes/origin/123.08beta03
      remotes/origin/123.08beta03-libresslclang
      remotes/origin/123.08beta03-rtmp
      remotes/origin/123.08beta03clang
      remotes/origin/123.08beta03libressl
      remotes/origin/123.08centos7beta01
      remotes/origin/123.08centos7beta02
      remotes/origin/123.08zerodown
      remotes/origin/HEAD -> origin/master
      remotes/origin/master
    
    list git log last commit
            git log -a
    commit 29a67676c548e82b13079af0c10eebb220509b7c
    Author: George Liu <MAIL>
    Date:   Mon Jun 15 17:53:46 2015 +1000
    
        fix inc/openssl_install.inc for .08 beta 03 for LibreSSL make
    
    to update centmin mod 123.08beta03 branch repo via git
            cd /usr/local/src/centminmod-123.08beta03
            git stash
            git pull
            chmod +x centmin.sh
    now that you have git environment setup you can setup a cronjob every 6hrs to update your code

    create updatecm.sh i.e. at /root/tools/updatecm.sh (i usually place all my custom scripts in a directory i create at /root/tools)
    Code:
    #!/bin/bash
    branchname=123.08beta03
    cd /usr/local/src/centminmod-${branchname}
    git stash
    git pull
    git log -1
    chmod +x the /root/tools/updatecm.sh file
    Code:
    chmod +x /root/tools/updatecm.sh
    then setup cronjob every 6hrs using cronjob -e command
    Code:
    * */6 * * * /root/tools/updatecm.sh 2>/dev/null
    or
    setup cronjob every 2hrs using cronjob -e command
    Code:
    * */2 * * * /root/tools/updatecm.sh 2>/dev/null
    manually run script will also update the code and list the last commit made
    Code:
    /root/tools/updatecm.sh
    
    No local changes to save
    Already up-to-date.
    commit 29a67676c548e82b13079af0c10eebb220509b7c
    Author: George Liu <MAIL>
    Date:   Mon Jun 15 17:53:46 2015 +1000
    
        fix inc/openssl_install.inc for .08 beta 03 for LibreSSL make
    You can see the commits for .08 beta03 at Commits · centminmod/centminmod · GitHub
     
    • Like Like x 2
  9. eva2000

    eva2000 Administrator Staff Member

    35,618
    7,844
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,092
    Local Time:
    11:59 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Like Like x 1
  10. rdan

    rdan Premium Member Premium Member

    4,244
    1,033
    113
    May 25, 2014
    Ratings:
    +1,481
    Local Time:
    9:59 AM
    Mainline
    10.2
    Fresh install:
    Code:
    service nginx start
    Starting nginx: nginx: [emerg] unknown directive "vhost_traffic_status_zone" in /usr/local/nginx/conf/vts_http.conf:1
                                                               [FAILED]
    
    Still vhost traffic is disable on centmin before initial install.
     
    • Like Like x 1
  11. rdan

    rdan Premium Member Premium Member

    4,244
    1,033
    113
    May 25, 2014
    Ratings:
    +1,481
    Local Time:
    9:59 AM
    Mainline
    10.2
    Same as adding a new domain.
    Code:
    service nginx reload
    nginx: [emerg] unknown directive "vhost_traffic_status" in /usr/local/nginx/conf/vts_server.conf:1
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
    
     
    • Like Like x 1
  12. eva2000

    eva2000 Administrator Staff Member

    35,618
    7,844
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,092
    Local Time:
    11:59 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    fixed nginx vhost traffic stats proper disabling with NGINX_VHOSTSTATS=n · centminmod/[email protected] · GitHub :)
     
    • Like Like x 1
  13. Mask

    Mask Active Member

    104
    29
    28
    Nov 10, 2014
    Ratings:
    +35
    Local Time:
    6:59 AM
    Nginx 1.9.1
    MariaDB 10.0.19
    • Like Like x 1
  14. pamamolf

    pamamolf Well-Known Member

    3,112
    295
    83
    May 31, 2014
    Ratings:
    +530
    Local Time:
    4:59 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    [[email protected] ~]# ccache -s
    cache directory /home/.ccache
    cache hit (direct) 2788
    cache hit (preprocessed) 2973
    cache miss 19825
    called for link 1459
    called for preprocessing 891
    compile failed 307
    preprocessor error 202
    bad compiler arguments 190
    unsupported source language 342
    autoconf compile/link 3001
    unsupported compiler option 42
    no input file 546
    files in cache 39905
    cache size 1.4 Gbytes
    max cache size 2.0 Gbytes

    How can i increase the ccache in the future if needed?
     
  15. Mask

    Mask Active Member

    104
    29
    28
    Nov 10, 2014
    Ratings:
    +35
    Local Time:
    6:59 AM
    Nginx 1.9.1
    MariaDB 10.0.19
    What will be the point of it? Isn't it only used during install / CMM upgrade process? I think it already has enough space for such operations.
     
  16. pamamolf

    pamamolf Well-Known Member

    3,112
    295
    83
    May 31, 2014
    Ratings:
    +530
    Local Time:
    4:59 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    I thought that it was used for other operations also :)

    So all ok just ignore my question :)
     
  17. rdan

    rdan Premium Member Premium Member

    4,244
    1,033
    113
    May 25, 2014
    Ratings:
    +1,481
    Local Time:
    9:59 AM
    Mainline
    10.2
    Even if I have:
    on custom_config.inc

    Still nginx re-install has:
    Or this two:
    is the one default of Nginx? and can't be disable?
    I want to minimize the modules I have, mostly the one's I don't need.
     
  18. rdan

    rdan Premium Member Premium Member

    4,244
    1,033
    113
    May 25, 2014
    Ratings:
    +1,481
    Local Time:
    9:59 AM
    Mainline
    10.2
    I even directly modified centmin.sh, but still pagespeed is getting compiled.
     
  19. eva2000

    eva2000 Administrator Staff Member

    35,618
    7,844
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,092
    Local Time:
    11:59 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    thanks for the feedback :)

    check ccache help command
    Code:
    ccache -h
    Usage:
        ccache [options]
        ccache compiler [compiler options]
        compiler [compiler options]          (via symbolic link)
    
    Options:
        -c, --cleanup         delete old files and recalculate size counters
                              (normally not needed as this is done automatically)
        -C, --clear           clear the cache completely (except configuration)
        -F, --max-files=N     set maximum number of files in cache to N (use 0 for
                              no limit)
        -M, --max-size=SIZE   set maximum size of cache to SIZE (use 0 for no
                              limit); available suffixes: k, M, G, T (decimal) and
                              Ki, Mi, Gi, Ti (binary); default suffix: G
        -o, --set-config=K=V  set configuration key K to value V
        -p, --print-config    print current configuration options
        -s, --show-stats      show statistics summary
        -z, --zero-stats      zero statistics counters
    
        -h, --help            print this help text
        -V, --version         print version and copyright information
    to set to 3GB on disk space (it will take up 3GB of your disk space)
    Code:
    ccache -M 3G
    yeah only used for install or upgrade or recompile for source installed software, after a while you would have all of such software cached, you can also clear cache (see help info for ccache).

    strange
    ngx_pagespeed should disable, however stream modules are enabled by default if nginx 1.9+ is detected, will add an option to disable it
     
    • Like Like x 1
  20. eva2000

    eva2000 Administrator Staff Member

    35,618
    7,844
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,092
    Local Time:
    11:59 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
..