Learn about Centmin Mod LEMP Stack today
Register Now

CentOS 7.x 1.2.3-eva2000.08 beta install attempts work log

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

  1. eva2000

    eva2000 Administrator Staff Member

    44,412
    10,141
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,689
    Local Time:
    2:30 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    FYI nginx and php-fpm for Centmin Mod still use init.d so service nginx restart/status etc work :)
     
  2. eva2000

    eva2000 Administrator Staff Member

    44,412
    10,141
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,689
    Local Time:
    2:30 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    @Josephm curious what is your RamNode /tmp size ?

    Code:
    df -h
     
  3. Josephm

    Josephm Active Member

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    11:30 PM
    1.9.5
    10.0.21
    here is df -h
    Code:
    Filesystem  Size  Used Avail Use% Mounted on
    /dev/vda1  20G  4.0G  15G  22% /
    devtmpfs  492M  0  492M  0% /dev
    tmpfs  498M  0  498M  0% /dev/shm
    tmpfs  498M  13M  485M  3% /run
    tmpfs  498M  0  498M  0% /sys/fs/cgroup
    tmpfs  498M  13M  485M  3% /etc/machine-id
    tmpfs  498M  0  498M  0% /tmp
    
    
     
  4. eva2000

    eva2000 Administrator Staff Member

    44,412
    10,141
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,689
    Local Time:
    2:30 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    For RamNode CentOS 7.0 default minimal template looks like problem was my end as Centmin Mod script mounts /tmp on tmpfs while default CentOS 7 minimal template doesn't mount /tmp on tmpfs. So with 512MB CKVM VPS with only 512MB memory default tmpfs space is limited.

    Code:
    df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/vda1 49G 961M 46G 3% /
    devtmpfs 240M 0 240M 0% /dev
    tmpfs 246M 0 246M 0% /dev/shm
    tmpfs 246M 8.3M 237M 4% /run
    tmpfs 246M 0 246M 0% /sys/fs/cgroup
    tmpfs 246M 8.3M 237M 4% /etc/machine-id
    
    Code:
     ls -lah /tmp
    total 36K
    drwxrwxrwt.  8 root root 4.0K Sep  9 08:02 .
    drwxr-xr-x. 18 root root 4.0K Sep  9 07:55 ..
    drwxrwxrwt.  2 root root 4.0K Jul 14 14:59 .font-unix
    drwxrwxrwt.  2 root root 4.0K Jul 14 14:59 .ICE-unix
    -rwx------.  1 root root  663 Jul 14 15:04 ks-script-2sigZT
    drwx------.  2 root root 4.0K Sep  9 08:02 ssh-TGfHDHIAad
    drwxrwxrwt.  2 root root 4.0K Jul 14 14:59 .Test-unix
    drwxrwxrwt.  2 root root 4.0K Jul 14 14:59 .X11-unix
    drwxrwxrwt.  2 root root 4.0K Jul 14 14:59 .XIM-unix
    -rw-------.  1 root root    0 Jul 14 14:58 yum.log
    Code:
    df -h /tmp
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/vda1        49G  961M   46G   3% /
    For CentOS 7 i should skip trying to make /tmp on tmpfs for low memory systems :)
     
  5. Josephm

    Josephm Active Member

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    11:30 PM
    1.9.5
    10.0.21
    Another issue is that both cmdir and centmin shortcut command do not work.
     
  6. eva2000

    eva2000 Administrator Staff Member

    44,412
    10,141
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,689
    Local Time:
    2:30 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    you need to log out of initial SSH session after initial install and log back in for them to work
     
  7. Josephm

    Josephm Active Member

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    11:30 PM
    1.9.5
    10.0.21
    I've made 3 tests on local VMware machine, Digital Ocean, and Ramnode, three now are able to run well with phpmyadmin. Thank you very much ;)
    Just done the short benchmark, Ramnode is so good for me compare with DigitalOcean, both cost $10/month with pure SSD:
    Ramnode: wget freevps.us/downloads/bench.sh -O - -o /dev/null|bash
    Code:
    CPU model :  QEMU Virtual CPU version (cpu64-rhel6)
    Number of cores : 2
    CPU frequency :  2600.000 MHz
    Total amount of ram : 994 MB
    Total amount of swap : 0 MB
    System uptime :  46 min,
    Download speed from CacheFly: 74.2MB/s
    Download speed from Coloat, Atlanta GA: 39.5MB/s
    Download speed from Softlayer, Dallas, TX: 36.4MB/s
    Download speed from Linode, Tokyo, JP: 7.69MB/s
    Download speed from i3d.net, Rotterdam, NL: 4.62MB/s
    Download speed from Leaseweb, Haarlem, NL: 60.7MB/s
    Download speed from Softlayer, Singapore: 3.49MB/s
    Download speed from Softlayer, Seattle, WA: 26.0MB/s
    Download speed from Softlayer, San Jose, CA: 23.4MB/s
    Download speed from Softlayer, Washington, DC: 91.1MB/s
    I/O speed :  1.1 GB/s
    
    
    DigitalOcean: wget freevps.us/downloads/bench.sh -O - -o /dev/null|bash
    Code:
    CPU model :  Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz
    Number of cores : 1
    CPU frequency :  2399.998 MHz
    Total amount of ram : 994 MB
    Total amount of swap : 0 MB
    System uptime :  46 min,
    Download speed from CacheFly: 101MB/s
    Download speed from Coloat, Atlanta GA: 56.3MB/s
    Download speed from Softlayer, Dallas, TX: 41.8MB/s
    Download speed from Linode, Tokyo, JP: 2.84MB/s
    Download speed from i3d.net, Rotterdam, NL: 6.67MB/s
    Download speed from Leaseweb, Haarlem, NL: 14.8MB/s
    Download speed from Softlayer, Singapore: 7.49MB/s
    Download speed from Softlayer, Seattle, WA: 30.2MB/s
    Download speed from Softlayer, San Jose, CA: 24.3MB/s
    Download speed from Softlayer, Washington, DC: 92.0MB/s
    I/O speed :  415 MB/s
    
     
  8. eva2000

    eva2000 Administrator Staff Member

    44,412
    10,141
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,689
    Local Time:
    2:30 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  9. eva2000

    eva2000 Administrator Staff Member

    44,412
    10,141
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,689
    Local Time:
    2:30 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Latest .08 beta01 centos7 builde test for CentOS 6.5 OS to make sure it works on CentOS 6.5

    time fast times for local VirtualBOX install on my laptop :)

    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.1.6
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2011 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.7.5
    built by gcc 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
    TLS SNI support enabled
    configure arguments: --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-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.1 --add-module=../headers-more-nginx-module-0.25 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --with-http_dav_module --add-module=../nginx-dav-ext-module-0.0.3 --add-module=../openresty-memc-nginx-module-1518da4 --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../nginx-sticky-module-1.2.5 --add-module=../nginx_upstream_check_module-0.1.9 --with-openssl=../openssl-1.0.1i --with-libatomic --with-pcre=../pcre-8.35 --with-pcre-jit --with-http_spdy_module --add-module=../ngx_pagespeed-release-1.9.32.1-beta
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.4.33 (cli) (built: Sep 20 2014 01:23:20)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-client-10.0.13-1.el6.x86_64
    MariaDB-compat-10.0.13-1.el6.x86_64
    MariaDB-server-10.0.13-1.el6.x86_64
    MariaDB-shared-10.0.13-1.el6.x86_64
    MariaDB-common-10.0.13-1.el6.x86_64
    MariaDB-devel-10.0.13-1.el6.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.20
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v7.15 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 3.0.7
    
    Copyright (C) 2014 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
    --------------------------------------------------------
    Detected 6.5
    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.17
    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 YUM Repo List
    --------------------------------------------------------
    Loaded plugins: downloadonly, fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: mirror.aarnet.edu.au
    * epel: epel.syd.au.glomirror.com.au
    * extras: mirror.aarnet.edu.au
    * rpmforge: mirror.ventraip.net.au
    * updates: mirror.rackcentral.com.au
    1570 packages excluded due to repository priority protections
    repo id        repo name                                             status
    base           CentOS-6 - Base                                       4,859+1,508
    epel           Extra Packages for Enterprise Linux 6 - x86_64        8,484+2,625
    extras         CentOS-6 - Extras                                              15
    mariadb        MariaDB                                                      12+1
    rpmforge       RHEL 6 - RPMforge.net - dag                           3,198+1,520
    updates        CentOS-6 - Updates                                      1,095+412
    repolist: 17,663
    
    Code:
    ccache stats:
    cache directory                     /home/.ccache
    cache hit (direct)                   767
    cache hit (preprocessed)             303
    cache miss                          3436
    called for link                      234
    called for preprocessing             244
    compile failed                        55
    preprocessor error                    62
    bad compiler arguments                54
    unsupported source language           57
    autoconf compile/link                611
    unsupported compiler option           14
    no input file                        129
    files in cache                      7847
    cache size                         211.1 Mbytes
    max cache size                       2.0 Gbytes
    
    Total YUM Time: 157.402766319 seconds
    Total Centmin Mod Install Time: 1167.522586603 seconds
    
    Created command shortcuts:
    * type cmdir to change to Centmin Mod install directory
      at /usr/local/src/centminmod-123.08centos7beta01
    * type centmin call and run centmin.sh
      at /usr/local/src/centminmod-123.08centos7beta01/centmin.sh
     
  10. eva2000

    eva2000 Administrator Staff Member

    44,412
    10,141
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,689
    Local Time:
    2:30 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    New test run with Centmin Mod .08 beta on CentOS 6.5 32 bit with new Remi switched yum package for libmemcahed reducing install times = 674 seconds ! :D

    edit: doh picked up an error memcached php extension wasn't compiled due to percona yum repo error blocking libmemcached install so that's why it was faster ! :oops:

    This test was done on 2GB Vultr Chicago VPS

    Code:
    ccache stats:
    cache directory                     /home/.ccache
    cache hit (direct)                   764
    cache hit (preprocessed)             303
    cache miss                          2615
    called for link                      155
    called for preprocessing             222
    compile failed                        33
    preprocessor error                    27
    bad compiler arguments                45
    unsupported source language           57
    autoconf compile/link                527
    unsupported compiler option           14
    no input file                        113
    files in cache                      5558
    cache size                         125.6 Mbytes
    max cache size                       2.0 Gbytes
    
    Total YUM Time: 145.831765256 seconds
    Total Centmin Mod Install Time: 674.310568806 seconds
    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.1.6
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2011 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.7.5
    built by gcc 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
    TLS SNI support enabled
    configure arguments: --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-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.1 --add-module=../headers-more-nginx-module-0.25 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --with-http_dav_module --add-module=../nginx-dav-ext-module-0.0.3 --add-module=../openresty-memc-nginx-module-1518da4 --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../nginx-sticky-module-1.2.5 --add-module=../nginx_upstream_check_module-0.1.9 --with-openssl=../openssl-1.0.1i --with-libatomic --with-pcre=../pcre-8.35 --with-pcre-jit --with-http_spdy_module --add-module=../ngx_pagespeed-release-1.9.32.1-beta
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/memcached.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP 5.4.33 (cli) (built: Sep 23 2014 07:26:31)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-compat-10.0.13-1.el6.x86_64
    MariaDB-devel-10.0.13-1.el6.x86_64
    MariaDB-common-10.0.13-1.el6.x86_64
    MariaDB-server-10.0.13-1.el6.x86_64
    MariaDB-client-10.0.13-1.el6.x86_64
    MariaDB-shared-10.0.13-1.el6.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.20
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v7.15 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 3.0.8
    
    Copyright (C) 2014 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
    --------------------------------------------------------
    Detected 6.5
    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.17
    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 YUM Repo List
    --------------------------------------------------------
    Loaded plugins: downloadonly, fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: mirrors.usinternet.com
    * epel: mirror.steadfast.net
    * extras: lug.mtu.edu
    * rpmforge: mirror.team-cymru.org
    * updates: holmes.umflint.edu
    1570 packages excluded due to repository priority protections
    repo id        repo name                                             status
    base           CentOS-6 - Base                                       4,859+1,508
    epel           Extra Packages for Enterprise Linux 6 - x86_64        8,484+2,625
    extras         CentOS-6 - Extras                                              15
    mariadb        MariaDB                                                      12+1
    rpmforge       RHEL 6 - RPMforge.net - dag                           3,198+1,520
    updates        CentOS-6 - Updates                                      1,100+415
    repolist: 17,668
     
    Last edited: Sep 23, 2014
  11. GhoHan

    GhoHan Member

    33
    14
    8
    Jun 1, 2014
    Ratings:
    +14
    Local Time:
    11:30 PM
    Nginx 1.13.X
    MariaDB 10.1.X
    Nice info (y)
     
  12. eva2000

    eva2000 Administrator Staff Member

    44,412
    10,141
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,689
    Local Time:
    2:30 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    thanks

    Another run .08 beta01 with CentOS 7.0 and newly added official MariaDB 10.x YUM repo for CentOS 7 + newly added yum update for initial installs. Does add ~200 seconds to total YUM install times but you get latest system packages as well in light of the bash vulnerability.

    Code:
    ccache stats:
    cache directory                     /home/.ccache
    cache hit (direct)                   765
    cache hit (preprocessed)             316
    cache miss                          2693
    called for link                      155
    called for preprocessing             226
    compile failed                        32
    preprocessor error                    27
    bad compiler arguments                49
    unsupported source language           64
    autoconf compile/link                541
    unsupported compiler option           14
    no input file                        122
    files in cache                      5655
    cache size                         141.3 Mbytes
    max cache size                       2.0 Gbytes
    
    Total YUM Time: 400.435788581 seconds
    Total Centmin Mod Install Time: 1261.060328182 seconds
    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.1.9
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2011 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.7.5
    built by gcc 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC)
    TLS SNI support enabled
    configure arguments: --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-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.1 --add-module=../headers-more-nginx-module-0.25 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --with-http_dav_module --add-module=../nginx-dav-ext-module-0.0.3 --add-module=../openresty-memc-nginx-module-1518da4 --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../nginx-sticky-module-1.2.5 --add-module=../nginx_upstream_check_module-0.1.9 --with-openssl=../openssl-1.0.1i --with-libatomic --with-pcre=../pcre-8.35 --with-pcre-jit --with-http_spdy_module --add-module=../ngx_pagespeed-release-1.9.32.1-beta
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.4.33 (cli) (built: Sep 26 2014 17:58:21)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-client-10.0.14-1.el7.centos.x86_64
    MariaDB-shared-10.0.14-1.el7.centos.x86_64
    MariaDB-common-10.0.14-1.el7.centos.x86_64
    MariaDB-server-10.0.14-1.el7.centos.x86_64
    MariaDB-compat-10.0.14-1.el7.centos.x86_64
    MariaDB-devel-10.0.14-1.el7.centos.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.20
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v7.15 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 3.0.8
    
    Copyright (C) 2014 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
    --------------------------------------------------------
    Detected 7.0
    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.17
    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 YUM Repo List
    --------------------------------------------------------
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: mirror.aarnet.edu.au
    * epel: fedora.mirror.serversaustralia.com.au
    * extras: mirror.aarnet.edu.au
    * rpmforge: mirror.ventraip.net.au
    * updates: mirror.aarnet.edu.au
    111 packages excluded due to repository priority protections
    repo id            repo name                                         status
    base/7/x86_64      CentOS-7 - Base                                   6,551+1,914
    epel/x86_64        Extra Packages for Enterprise Linux 7 - x86_64      5,284+566
    extras/7/x86_64    CentOS-7 - Extras                                          44
    mariadb            MariaDB                                                   9+3
    rpmforge           RHEL 7 - RPMforge.net - dag                            183+62
    updates/7/x86_64   CentOS-7 - Updates                                    675+230
    repolist: 12,746
    
     
  13. eva2000

    eva2000 Administrator Staff Member

    44,412
    10,141
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,689
    Local Time:
    2:30 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    New CentOS 7 + Centmin Mod .08 beta01 install to test out the fixed random number generator

    Code:
    ccache stats:
    cache directory                     /home/.ccache
    cache hit (direct)                   766
    cache hit (preprocessed)             335
    cache miss                          2692
    called for link                      191
    called for preprocessing             226
    compile failed                        32
    preprocessor error                    27
    bad compiler arguments                49
    unsupported source language           62
    autoconf compile/link                541
    unsupported compiler option           14
    no input file                        122
    files in cache                      5725
    cache size                         141.7 Mbytes
    max cache size                       2.0 Gbytes
    
    Total YUM Time: 304.353689889 seconds
    Total Centmin Mod Install Time: 1140.512859200 seconds
    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.1.9
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2011 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.7.6
    built by gcc 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC)
    TLS SNI support enabled
    configure arguments: --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-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.1 --add-module=../headers-more-nginx-module-0.25 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --with-http_dav_module --add-module=../nginx-dav-ext-module-0.0.3 --add-module=../openresty-memc-nginx-module-1518da4 --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../nginx-sticky-module-1.2.5 --add-module=../nginx_upstream_check_module-0.1.9 --with-openssl=../openssl-1.0.1i --with-libatomic --with-pcre=../pcre-8.35 --with-pcre-jit --with-http_spdy_module --add-module=../ngx_pagespeed-release-1.9.32.1-beta
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.4.33 (cli) (built: Oct  1 2014 18:24:11)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-client-10.0.14-1.el7.centos.x86_64
    MariaDB-shared-10.0.14-1.el7.centos.x86_64
    MariaDB-common-10.0.14-1.el7.centos.x86_64
    MariaDB-server-10.0.14-1.el7.centos.x86_64
    MariaDB-compat-10.0.14-1.el7.centos.x86_64
    MariaDB-devel-10.0.14-1.el7.centos.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.20
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v7.53 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 3.0.8
    
    Copyright (C) 2014 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
    --------------------------------------------------------
    Detected 7.0
    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.17
    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 YUM Repo List
    --------------------------------------------------------
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: mirror.aarnet.edu.au
    * epel: mirror.overthewire.com.au
    * extras: mirror.ventraip.net.au
    * rpmforge: mirror.ventraip.net.au
    * updates: mirror.overthewire.com.au
    106 packages excluded due to repository priority protections
    repo id            repo name                                         status
    base/7/x86_64      CentOS-7 - Base                                   6,551+1,914
    epel/x86_64        Extra Packages for Enterprise Linux 7 - x86_64      5,365+556
    extras/7/x86_64    CentOS-7 - Extras                                          44
    mariadb            MariaDB                                                   9+3
    rpmforge           RHEL 7 - RPMforge.net - dag                            181+64
    updates/7/x86_64   CentOS-7 - Updates                                    686+258
    repolist: 12,836
    
    Random number now includes letter(s) too :)
    Code:
    *************************************************
    *  Setup memcached_*.php admin page ...
    *************************************************
    
    Setup Memcached Server Admin Login Details for /usr/local/nginx/html/memcache_c8632265.php
     
  14. eva2000

    eva2000 Administrator Staff Member

    44,412
    10,141
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,689
    Local Time:
    2:30 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Latest .08 beta test install run with latest changes done today committed.

    This was done on DigitalOcean 512MB VPS in San Francisco to check .08 beta on CentOS 6.5 64bit

    confirmed that the ngx_pagespeed 1.9.32.1 beta workaround to disable ngx_pagespeed out of the box is working as pagespeedadmin.conf has the added pagespeed off; variable

    from /usr/local/nginx/conf/pagespeedadmin.conf
    Code:
    #######################################################
    # 1.8.31.2 beta required paths
    # https://developers.google.com/speed/pagespeed/module/admin
    #######################################################
    # 1.9.32.1 beta required change
    # https://community.centminmod.com/threads/how-can-i-disable-it-after-installation.1603/#post-7665
    # add a second pagespeed off; variable
    # loaded in nginx.conf via pagespeedadmin.conf include file
    pagespeed off;
    #######################################################
    pagespeed FileCachePath /var/ngx_pagespeed_cache;
    pagespeed StatisticsPath /ngx_pagespeed_statistics;
    pagespeed GlobalStatisticsPath /ngx_pagespeed_global_statistics;
    pagespeed MessagesPath /ngx_pagespeed_message;
    pagespeed ConsolePath /pagespeed_console;
    pagespeed AdminPath /pagespeed_admin;
    pagespeed GlobalAdminPath /pagespeed_global_admin;
    
    #######################################################
    # Set it to 0 if you want to disable this feature.
    # pagespeed MessageBufferSize 100000;
    
    #######################################################
    # https://developers.google.com/speed/pagespeed/module/system#tune_thread
    # pagespeed NumRewriteThreads 4;
    # pagespeed NumExpensiveRewriteThreads 4;
    
    #######################################################
    # https://developers.google.com/speed/pagespeed/module/system#image_rewrite_max
    # Bound the number of images that can be rewritten at any one time; this
    # avoids overloading the CPU.  Set this to 0 to remove the bound.
    #
    # pagespeed ImageMaxRewritesAtOnce 2;
    
    and curl check of headers confirms there is no pagespeed header passed X-Page-Speed

    Code:
    curl -I localhost
    HTTP/1.1 200 OK
    Server: nginx centminmod
    Date: Sat, 11 Oct 2014 05:39:57 GMT
    Content-Type: text/html; charset=utf-8
    Content-Length: 3801
    Last-Modified: Sat, 11 Oct 2014 05:25:38 GMT
    Connection: keep-alive
    Vary: Accept-Encoding
    ETag: "5438bf52-ed9"
    Expires: Sun, 12 Oct 2014 05:39:57 GMT
    Cache-Control: max-age=86400
    Cache-Control: public, must-revalidate, proxy-revalidate
    Accept-Ranges: bytes
    DigitalOcean slower E5-2630L with lower clock speed means longer source compile times, so total install time was 1335 seconds or 22 1/4 minutes

    Code:
    ccache stats:
    cache directory                     /home/.ccache
    cache hit (direct)                   764
    cache hit (preprocessed)             303
    cache miss                          2641
    called for link                      155
    called for preprocessing             226
    compile failed                        33
    preprocessor error                    27
    bad compiler arguments                49
    unsupported source language           57
    autoconf compile/link                534
    unsupported compiler option           14
    no input file                        116
    files in cache                      5630
    cache size                         126.5 Mbytes
    max cache size                       2.0 Gbytes
    
    Total YUM Time: 297.113577737 seconds
    Total Centmin Mod Install Time: 1335.660290997 seconds
    
    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.1.6
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2011 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.7.6
    built by gcc 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
    TLS SNI support enabled
    configure arguments: --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-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.1 --add-module=../headers-more-nginx-module-0.25 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --with-http_dav_module --add-module=../nginx-dav-ext-module-0.0.3 --add-module=../openresty-memc-nginx-module-1518da4 --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../nginx-sticky-module-1.2.5 --add-module=../nginx_upstream_check_module-0.1.9 --with-openssl=../openssl-1.0.1i --with-libatomic --with-pcre=../pcre-8.35 --with-pcre-jit --with-http_spdy_module --add-module=../ngx_pagespeed-release-1.9.32.1-beta
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.4.33 (cli) (built: Oct 11 2014 05:32:21)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-compat-10.0.14-1.el6.x86_64
    MariaDB-client-10.0.14-1.el6.x86_64
    MariaDB-server-10.0.14-1.el6.x86_64
    MariaDB-shared-10.0.14-1.el6.x86_64
    MariaDB-common-10.0.14-1.el6.x86_64
    MariaDB-devel-10.0.14-1.el6.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.20
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v7.54 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 3.0.8
    
    Copyright (C) 2014 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
    --------------------------------------------------------
    Detected 6.5
    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.17
    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 YUM Repo List
    --------------------------------------------------------
    Loaded plugins: downloadonly, fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: mirror.supremebytes.com
    * epel: mirror.sfo12.us.leaseweb.net
    * extras: centos.mirror.ndchost.com
    * rpmforge: mirror.hmc.edu
    * updates: mirror.keystealth.org
    1585 packages excluded due to repository priority protections
    repo id        repo name                                             status
    base           CentOS-6 - Base                                       4,859+1,508
    epel           Extra Packages for Enterprise Linux 6 - x86_64        8,492+2,624
    extras         CentOS-6 - Extras                                              15
    mariadb        MariaDB                                                      12+5
    rpmforge       RHEL 6 - RPMforge.net - dag                           3,183+1,535
    updates        CentOS-6 - Updates                                      1,141+459
    repolist: 17,702
    edit: doh looks like pscontrol file isn't working it doesn't turn on/off ngx_pagespeed only prints out the command to restart nginx might be to do with cmservice function used for CentOS 7 interferring

    Code:
    pscontrol on      
    Detected 6.5
    service nginx restart
    i had to manually restart nginx instead of pscontrol on command to get ngx_pagespeed enabled

    See now curl command shows the X-Page-Speed header indicating ngx_pagespeed is enabled
    Code:
    ngxrestart
    [1011/054757:INFO:google_message_handler.cc(35)] No threading detected. Own threads: 1 Rewrite, 1 Expensive Rewrite.
    nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
    Stopping nginx:                                            [  OK  ]
    Starting nginx: [1011/054758:INFO:google_message_handler.cc(35)] No threading detected. Own threads: 1 Rewrite, 1 Expensive Rewrite.
                                                               [  OK  ]
    
    curl -I localhost  
    HTTP/1.1 200 OK
    Server: nginx centminmod
    Content-Type: text/html; charset=UTF-8
    Connection: keep-alive
    Vary: Accept-Encoding
    Date: Sat, 11 Oct 2014 05:48:01 GMT
    X-Page-Speed: 1.9.32.1-4238
    Cache-Control: max-age=0, no-cache
    doh my mistake, I had CMSDEBUG=y in /usr/bin/pscontrol and /usr/local/nginx/conf/pscontrol files, if debug mode is enabled, it only prints the nginx restart command not actually execute the command

    Code:
    CMSDEBUG=y
    CENTOSVER=$(cat /etc/redhat-release | awk '{ print $3 }')
    
    if [ "$CENTOSVER" == 'release' ]; then
        CENTOSVER=$(cat /etc/redhat-release | awk '{ print $4 }' | cut -d . -f1,2)
        if [[ "$(cat /etc/redhat-release | awk '{ print $4 }' | cut -d . -f1)" = '7' ]]; then
            CENTOS_SEVEN='7'
        fi
    fi
    
    if [[ "$CMSDEBUG" = [yY] ]]; then
            if [[ "$CENTOS_SEVEN" != '7' ]]; then
                            echo "Detected 6.5"
            else
                            echo "Detected 7.0"
            fi
    fi
    
    cmservice() {
            servicename=$1
            action=$2
            if [[ "$CENTOS_SEVEN" != '7' ]]; then
            echo "service ${servicename} $action"
            if [[ "$CMSDEBUG" = [nN] ]]; then
                    service ${servicename} $action
            fi
            else
            echo "systemctl $action ${servicename}.service"
            if [[ "$CMSDEBUG" = [nN] ]]; then
                    systemctl $action ${servicename}.service
            fi
            fi
    }
    with CMSDEBUG=n set in pscontrol, the pscontrol on/off commands work to turn ngx_pagespeed on or off
    Code:
    [root@ ~]# pscontrol off        
    service nginx restart
    [1011/055136:INFO:google_message_handler.cc(35)] No threading detected. Own threads: 1 Rewrite, 1 Expensive Rewrite.
    nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
    Stopping nginx:                                            [  OK  ]
    Starting nginx: [1011/055136:INFO:google_message_handler.cc(35)] No threading detected. Own threads: 1 Rewrite, 1 Expensive Rewrite.
                                                               [  OK  ]
    [root@ ~]# pscontrol on
    service nginx restart
    [1011/055141:INFO:google_message_handler.cc(35)] No threading detected. Own threads: 1 Rewrite, 1 Expensive Rewrite.
    nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
    Stopping nginx:                                            [  OK  ]
    Starting nginx: [1011/055141:INFO:google_message_handler.cc(35)] No threading detected. Own threads: 1 Rewrite, 1 Expensive Rewrite.
                                                               [  OK  ]
    fix committed to update config/nginx/pscontrol and inc/nginx_pagespeed.inc to disable CMS... · 3ef23c6 · centminmod/centminmod · GitHub

    centminmod_default_indexhtml_00.png
     
    Last edited: Oct 11, 2014