Discover Centmin Mod today
Register Now

Upgrade PHP-FPM Centmin Mod .09 beta branch Testing

Discussion in 'Beta release code' started by eva2000, Aug 12, 2015.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    42,376
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,746
    Local Time:
    12:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Fixed that line 243 error :)

    Code:
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 118.3386 seconds
    Total YUM Time: 118.816855504 seconds
    Total YUM + Source Download Time: 167.5585
    Total Nginx First Time Install Time: 166.9046
    Total PHP First Time Install Time: 400.1964
    Download Zip From Github Time: 11.7098
    Total Time Other eg. source compiles: 460.8681
    Total Centmin Mod Install Time: 1195.5277
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 1325.5761 seconds
    ---------------------------------------------------------------------------
    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.2.4
    
    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.11
    built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
    built with LibreSSL 2.2.6
    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 -mfpmath=sse -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-sign-compare -Wno-string-plus-int -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 -Wno-c++11-compat-deprecated-writable-strings -Wno-write-strings' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_stub_status_module --with-http_secure_link_module --with-openssl-opt=enable-tlsext --add-module=../nginx-module-vts --with-libatomic --with-threads --with-stream=dynamic --with-stream_ssl_module --with-http_gzip_static_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module=dynamic --with-http_geoip_module=dynamic --with-http_realip_module --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.3 --add-module=../ngx_devel_kit-0.2.19 --add-module=../set-misc-nginx-module-0.29 --add-module=../echo-nginx-module-0.58 --add-module=../redis2-nginx-module-0.12 --add-module=../ngx_http_redis-0.3.7 --add-module=../nginx_upstream_check_module-0.3.0 --add-module=../openresty-memc-nginx-module-4f6f78f --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../headers-more-nginx-module-0.29 --with-pcre=../pcre-8.38 --with-pcre-jit --with-http_ssl_module --with-http_v2_module --with-openssl=../libressl-2.2.6
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.6.18 (cli) (built: Feb 13 2016 06:48:17)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-devel-10.1.11-1.el7.centos.x86_64
    MariaDB-common-10.1.11-1.el7.centos.x86_64
    MariaDB-server-10.1.11-1.el7.centos.x86_64
    MariaDB-compat-10.1.11-1.el7.centos.x86_64
    MariaDB-client-10.1.11-1.el7.centos.x86_64
    MariaDB-shared-10.1.11-1.el7.centos.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.25
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v8.13 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    New configuration template added to /root/.siegerc
    Run siege -C to view the current settings in that file
    SIEGE 3.1.4
    
    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 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.42
    
    --------------------------------------------------------
    Check YUM Repo List
    --------------------------------------------------------
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: mirror.overthewire.com.au
    * epel: mirror.overthewire.com.au
    * extras: mirror.overthewire.com.au
    * rpmforge: mirror.ventraip.net.au
    * updates: centos.mirror.serversaustralia.com.au
    230 packages excluded due to repository priority protections
    repo id            repo name                                         status
    base/7/x86_64      CentOS-7 - Base                                   6,977+2,030
    epel/x86_64        Extra Packages for Enterprise Linux 7 - x86_64      8,576+834
    extras/7/x86_64    CentOS-7 - Extras                                       189+2
    mariadb            MariaDB                                                  10+3
    rpmforge           RHEL 7 - RPMforge.net - dag                            156+89
    updates/7/x86_64   CentOS-7 - Updates                                     467+85
    repolist: 16,375
    
    --------------------------------------------------------
    mytimes check:
    /usr/bin/mytimes
    --------------------------------------------------------
    Sat Feb 13 06:54:02 UTC 2016    [UTC]
    Sat Feb 13 16:54:02 AEST 2016   [Australia/Brisbane]
    Fri Feb 12 22:54:02 PST 2016    [America/Los_Angeles]
    Sat Feb 13 00:54:02 CST 2016    [America/Chicago]
    Sat Feb 13 01:54:02 EST 2016    [America/New_York]
    Sat Feb 13 06:54:02 GMT 2016    [Europe/London]
    --------------------------------------------------------
    *************************************************
     
    • Like Like x 2
  2. Jimmy

    Jimmy Well-Known Member

    1,646
    353
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +885
    Local Time:
    9:44 PM
    1.17.x
    MariaDB 10.3.x
    Is there ever going to be an 09stable? I could be wrong, but it seems like the 09beta is getting a ton of features. I'm having a hard time determining whether to go 08stable or 09beta. Is there any threads which discuss this issue?
     
  3. eva2000

    eva2000 Administrator Staff Member

    42,376
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,746
    Local Time:
    12:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Informative Informative x 1
  4. Jimmy

    Jimmy Well-Known Member

    1,646
    353
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +885
    Local Time:
    9:44 PM
    1.17.x
    MariaDB 10.3.x
    Sounds good.

    Are you planning on including the offline message in the new version? I was really hoping for that in a future version. :)
     
  5. Jimmy

    Jimmy Well-Known Member

    1,646
    353
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +885
    Local Time:
    9:44 PM
    1.17.x
    MariaDB 10.3.x
    Whenever I go into the centmin menu I have the figlet "mysqltmpdir setup" showing.
     
  6. eva2000

    eva2000 Administrator Staff Member

    42,376
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,746
    Local Time:
    12:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    doh bug :D

    edit just fixed.. just git update :D
     
    • Like Like x 1
  7. eva2000

    eva2000 Administrator Staff Member

    42,376
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,746
    Local Time:
    12:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Like Like x 1
  8. Jimmy

    Jimmy Well-Known Member

    1,646
    353
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +885
    Local Time:
    9:44 PM
    1.17.x
    MariaDB 10.3.x
    Having a twitter feed in the page would be awesome. But I guess pretty much anything could be added to an HTML file.

    I still like the idea of it being in the Menu if that was possible.
     
  9. Jimmy

    Jimmy Well-Known Member

    1,646
    353
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +885
    Local Time:
    9:44 PM
    1.17.x
    MariaDB 10.3.x
    I tried to use the customcurl.sh file and got a 404 error that the files were not found.

    Code:
    [[email protected] addons]# ./customcurl.sh
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: centos.mia.host-engine.com
    * epel: mirror.symnds.com
    * extras: mirror.netdepot.com
    * rpmforge: repoforge.mirror.constant.com
    * updates: mirrors.centos.webair.com
    230 packages excluded due to repository priority protections
    Package libmetalink-0.1.2-4.el7.x86_64 already installed and latest version
    Package libssh2-devel-1.4.3-10.el7.x86_64 already installed and latest version
    Package nss-devel-3.19.1-19.el7_2.x86_64 already installed and latest version
    Package c-ares-1.10.0-3.el7.x86_64 already installed and latest version
    Nothing to do
    http://mirror.city-fan.org/ftp/contrib/sysutils/Mirroring/curl-7.47.0-1.0.cf.rhel7.x86_64.rpm:
    2016-02-13 07:32:57 ERROR 404: Not Found.
    http://mirror.city-fan.org/ftp/contrib/sysutils/Mirroring/libcurl-7.47.0-1.0.cf.rhel7.x86_64.rpm:
    2016-02-13 07:32:58 ERROR 404: Not Found.
    http://mirror.city-fan.org/ftp/contrib/sysutils/Mirroring/libcurl-devel-7.47.0-1.0.cf.rhel7.x86_64.rpm:
    2016-02-13 07:32:58 ERROR 404: Not Found.
    --2016-02-13 07:32:58--  http://mirror.city-fan.org/ftp/contrib/libraries/libssh2-1.6.0-3.0.cf.rhel7.x86_64.rpm
    Resolving mirror.city-fan.org (mirror.city-fan.org)... 212.56.100.58
    Connecting to mirror.city-fan.org (mirror.city-fan.org)|212.56.100.58|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2016-02-13 07:32:58 ERROR 404: Not Found.
    
    --2016-02-13 07:32:58--  http://mirror.city-fan.org/ftp/contrib/libraries/libssh2-devel-1.6.0-3.0.cf.rhel7.x86_64.rpm
    Resolving mirror.city-fan.org (mirror.city-fan.org)... 212.56.100.58
    Connecting to mirror.city-fan.org (mirror.city-fan.org)|212.56.100.58|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2016-02-13 07:32:59 ERROR 404: Not Found.
    
    Error: expected curl related named rpm files are not found
    could be their source names have changed etc...
    
    custom curl RPMs installed...
    
     
  10. eva2000

    eva2000 Administrator Staff Member

    42,376
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,746
    Local Time:
    12:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  11. eva2000

    eva2000 Administrator Staff Member

    42,376
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,746
    Local Time:
    12:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Like Like x 1
  12. eva2000

    eva2000 Administrator Staff Member

    42,376
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,746
    Local Time:
    12:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    on CentOS 7, addons/customcurl.sh has some issue with dependencies need to sort out
    Code:
    Updating / installing...
    libssh2-devel-1.6.0-4.0.cf.rhel7      ########################################
    warning: libcurl-7.47.1-2.0.cf.rhel7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID b56a8bac: NOKEY
    error: Failed dependencies:
            libpsl.so.0()(64bit) is needed by libcurl-7.47.1-2.0.cf.rhel7.x86_64
    warning: libcurl-devel-7.47.1-2.0.cf.rhel7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID b56a8bac: NOKEY
    error: Failed dependencies:
            libcurl(x86-64) = 7.47.1-2.0.cf.rhel7 is needed by libcurl-devel-7.47.1-2.0.cf.rhel7.x86_64
            libcurl.so.4()(64bit) is needed by libcurl-devel-7.47.1-2.0.cf.rhel7.x86_64
    warning: curl-7.47.1-2.0.cf.rhel7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID b56a8bac: NOKEY
    error: Failed dependencies:
            libcurl(x86-64) = 7.47.1-2.0.cf.rhel7 is needed by curl-7.47.1-2.0.cf.rhel7.x86_64
            libcurl.so.4()(64bit) is needed by curl-7.47.1-2.0.cf.rhel7.x86_64
    warning: libcurl7155-7.15.5-17.cf.rhel6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID b56a8bac: NOKEY
    Preparing...                          ########################################
    seems to be related to
    Code:
    warning: libcurl-7.47.1-2.0.cf.rhel7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID b56a8bac: NOKEY
    error: Failed dependencies:
            libpsl.so.0()(64bit) is needed by libcurl-7.47.1-2.0.cf.rhel7.x86_64
    which is libpsl package for publix suffix list
    Code:
     yum provides */libpsl.so.0 -q
    libpsl-0.7.0-1.el7.x86_64 : C library for the Publix Suffix List
    Repo        : epel
    Matched from:
    Filename    : /usr/lib64/libpsl.so.0
    edit: fixed
    Code:
    rpm -qa curl libcurl libcurl-devel libssh2 libssh2-devel libcurl7155 libcurl7112 c-ares
    libcurl7112-7.11.2-25.cf.rhel6.x86_64
    c-ares-1.10.0-3.el7.x86_64
    libssh2-1.6.0-4.0.cf.rhel7.x86_64
    libssh2-devel-1.6.0-4.0.cf.rhel7.x86_64
    libcurl-7.47.1-2.0.cf.rhel7.x86_64
    curl-7.47.1-2.0.cf.rhel7.x86_64
    libcurl-devel-7.47.1-2.0.cf.rhel7.x86_64
    libcurl7155-7.15.5-17.cf.rhel6.x86_64
    looks like curl 7.47 now requires psl yum package Curl: [RELEASE] curl and libcurl 7.47.0
    Code:
    curl --version
    curl 7.47.1 (x86_64-redhat-linux-gnu) libcurl/7.47.1 NSS/3.19.1 Basic ECC zlib/1.2.7 libidn/1.28 libpsl/0.7.0 (+libicu/50.1.2) libssh2/1.6.0
    Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
    Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSockets Metalink PSL 
    features
    edit: hmm centos 6.x EPEL repo doesn't have psl package but it seems psl package only required for curl 7.47 centos 7 install. CentOS 6 based curl 7.47 doesn't require PSL package nor does it list PSL feature
    Code:
    curl --version
    curl 7.47.1 (x86_64-redhat-linux-gnu) libcurl/7.47.1 OpenSSL/1.0.1e zlib/1.2.3 c-ares/1.10.0 libidn/1.18 libssh2/1.6.0
    Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
    Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSockets Metalink 
    thanks @Jimmy for bringing this bug to light as it would of been one nasty bug on production servers as it could break yum functionality ! Guess you were lucky to hit 404 error than install 7.47 without the fix !
     
    Last edited: Feb 13, 2016
    • Like Like x 1
    • Informative Informative x 1
  13. eva2000

    eva2000 Administrator Staff Member

    42,376
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,746
    Local Time:
    12:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    latest 123.09beta01 beta fresh install test on CentOS 7.2 1GB OpenVZ Los Angeles with theskyspace.com thanks to @Steve Tozer :D

    Code:
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 104.8602 seconds
    Total YUM Time: 61.526727650 seconds
    Total YUM + Source Download Time: 81.0283
    Total Nginx First Time Install Time: 100.4522
    Total PHP First Time Install Time: 237.2857
    Download Zip From Github Time: 3.4064
    Total Time Other eg. source compiles: 248.0441
    Total Centmin Mod Install Time: 666.8103
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 775.0769 seconds
    ---------------------------------------------------------------------------
    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.2.4
    
    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.11
    built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
    built with LibreSSL 2.2.6
    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 -mfpmath=sse -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-sign-compare -Wno-string-plus-int -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 -Wno-c++11-compat-deprecated-writable-strings -Wno-write-strings' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_stub_status_module --with-http_secure_link_module --with-openssl-opt=enable-tlsext --add-module=../nginx-module-vts --with-libatomic --with-threads --with-stream=dynamic --with-stream_ssl_module --with-http_gzip_static_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module=dynamic --with-http_geoip_module=dynamic --with-http_realip_module --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.3 --add-module=../ngx_devel_kit-0.2.19 --add-module=../set-misc-nginx-module-0.29 --add-module=../echo-nginx-module-0.58 --add-module=../redis2-nginx-module-0.12 --add-module=../ngx_http_redis-0.3.7 --add-module=../nginx_upstream_check_module-0.3.0 --add-module=../openresty-memc-nginx-module-4f6f78f --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../headers-more-nginx-module-0.29 --with-pcre=../pcre-8.38 --with-pcre-jit --with-http_ssl_module --with-http_v2_module --with-openssl=../libressl-2.2.6
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.6.18 (cli) (built: Feb 13 2016 10:17:25)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-common-10.1.11-1.el7.centos.x86_64
    MariaDB-server-10.1.11-1.el7.centos.x86_64
    MariaDB-client-10.1.11-1.el7.centos.x86_64
    MariaDB-shared-10.1.11-1.el7.centos.x86_64
    MariaDB-devel-10.1.11-1.el7.centos.x86_64
    MariaDB-compat-10.1.11-1.el7.centos.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.25
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v8.13 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    New configuration template added to /root/.siegerc
    Run siege -C to view the current settings in that file
    SIEGE 3.1.4
    
    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 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.42
    
    --------------------------------------------------------
    Check YUM Repo List
    --------------------------------------------------------
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: mirror.supremebytes.com
    * epel: linux.mirrors.es.net
    * extras: centos-distro.cavecreek.net
    * rpmforge: mirror.hmc.edu
    * updates: mirror.hostduplex.com
    230 packages excluded due to repository priority protections
    repo id             repo name                                          status
    base/7/x86_64       CentOS-7 - Base                                    6977+2030
    epel/x86_64         Extra Packages for Enterprise Linux 7 - x86_64      8576+834
    extras/7/x86_64     CentOS-7 - Extras                                      189+2
    mariadb             MariaDB                                                 10+3
    rpmforge            RHEL 7 - RPMforge.net - dag                           156+89
    updates/7/x86_64    CentOS-7 - Updates                                    467+85
    vz-base             vz-base                                                    1
    vz-updates          vz-updates                                                 0
    repolist: 16376
    
    --------------------------------------------------------
    mytimes check:
    /usr/bin/mytimes
    --------------------------------------------------------
    Sat Feb 13 10:20:55 UTC 2016    [UTC]
    Sat Feb 13 20:20:55 AEST 2016   [Australia/Brisbane]
    Sat Feb 13 02:20:55 PST 2016    [America/Los_Angeles]
    Sat Feb 13 04:20:55 CST 2016    [America/Chicago]
    Sat Feb 13 05:20:55 EST 2016    [America/New_York]
    Sat Feb 13 10:20:55 GMT 2016    [Europe/London]
    --------------------------------------------------------
     
    • Like Like x 1
  14. pamamolf

    pamamolf Premium Member Premium Member

    3,584
    345
    83
    May 31, 2014
    Ratings:
    +667
    Local Time:
    4:44 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    How we can upgrade now from MariaDB 10.x to 10.1 ?
     
  15. eva2000

    eva2000 Administrator Staff Member

    42,376
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,746
    Local Time:
    12:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    123.09beta01 added a MariaDB 10.0 to 10.1 upgrade submenu option 5 under centmin.sh menu option 11 https://community.centminmod.com/posts/18185/

    it still needs testing so feedback on this is important, do tests on test VPSes first and always mysqldump backup all database data on your entire server before trying
    Code:
    --------------------------------------------------------
            MariaDB MySQL Upgrade Sub-Menu         
    --------------------------------------------------------
    1). MariaDB 5.2.x Branch Upgrade Only
    2). MariaDB 5.2.x to MariaDB 5.5 YUM upgrade
    3). MariaDB 5.5 to MariaDB 10.x YUM upgrade
    4). MariaDB 5.5 to MariaDB 10.1.x YUM upgrade
    5). MariaDB 10.x to MariaDB 10.1.x YUM upgrade
    6). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 6 ] 5
    --------------------------------------------------------
    Code:
    --------------------------------------------------------------------------------
    This script's MariaDB 10.1.x upgrade process is still in beta testing stages.
    So please test on a test server and not a live production server. But if you use
    on live server or if MySQL databases already exist, please back them up before
    running this upgrade script via mysqldump - instructions at:
    http://dev.mysql.com/doc/refman/5.6/en/mysqldump.html.
    
    ###############################################################
    ###        IMPORTANT MYSQLDUMP BACKUP BEFORE UPGRADE        ###
    ###      OR RISK DATA LOSS DUE TO MARIADB 10.1 Changes      ###
    ###############################################################
    
    For each DATABASENAME backup via mysqldump i.e.
    
      mysqldump --opt --routines DATABASENAME > /path/to/DATABASENAME_backup.sql
    --------------------------------------------------------------------------------
    
    Have you backed up your databases ? [y/n] y
    
    MariaDB 10.1.x no longer works with mydumper
    MySQL backup tool. But still works with MariaDB 5.2.x
    Do you want to continue with upgrade to MariaDB 10.1.x ? [y/n] y
    
    i need to update the message, as mydumper does work on MariaDB these days :)
     
    • Like Like x 3
  16. eva2000

    eva2000 Administrator Staff Member

    42,376
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,746
    Local Time:
    12:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Like Like x 2
  17. eva2000

    eva2000 Administrator Staff Member

    42,376
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,746
    Local Time:
    12:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Added support for 3 new variables:
    Code:
    NGINX_UPDATEMAINTENANCE=n
    PHP_UPDATEMAINTENANCE=n
    MARIADB_UPDATEMAINTENANCE=n
    
    If you set to yes in /etc/centminmod/custom_config.inc file. then whenever you run nginx, php or major mariadb upgrade, you put all sites on server into 503 maintenance mode first https://community.centminmod.com/posts/26485/ and once updated, disable 503 maintenance mod after.

    set in newly created or existing /etc/centminmod/custom_config.inc persistent config file
    Code:
    NGINX_UPDATEMAINTENANCE=y
    PHP_UPDATEMAINTENANCE=y
    MARIADB_UPDATEMAINTENANCE=y
    
    Example of the new nginx vhost for new testdomain.com site created for vhost config file
    /usr/local/nginx/conf/conf.d/testdomain.com.conf
    Code:
    # Centmin Mod Getting Started Guide
    # must read http://centminmod.com/getstarted.html
    
    # redirect from non-www to www 
    # uncomment, save file and restart Nginx to enable
    # if unsure use return 302 before using return 301
    #server {
    #            listen   80;
    #            server_name testdomain.com;
    #            return 301 $scheme://www.testdomain.com$request_uri;
    #       }
    
    server {
      server_name testdomain.com www.testdomain.com;
    
    # ngx_pagespeed & ngx_pagespeed handler
    #include /usr/local/nginx/conf/pagespeed.conf;
    #include /usr/local/nginx/conf/pagespeedhandler.conf;
    #include /usr/local/nginx/conf/pagespeedstatslog.conf;
    
      #add_header X-Frame-Options SAMEORIGIN;
      #add_header X-Xss-Protection "1; mode=block" always;
      #add_header X-Content-Type-Options "nosniff" always;  
    
      # limit_conn limit_per_ip 16;
      # ssi  on;
    
      access_log /home/nginx/domains/testdomain.com/log/access.log combined buffer=256k flush=60m;
      error_log /home/nginx/domains/testdomain.com/log/error.log;
    
      root /home/nginx/domains/testdomain.com/public;
      include /usr/local/nginx/conf/503include-main.conf;
    
      # prevent access to ./directories and files
      location ~ (?:^|/)\. {
       deny all;
      }
    
      location / {
      include /usr/local/nginx/conf/503include-only.conf;
    
    # block common exploits, sql injections etc
    #include /usr/local/nginx/conf/block.conf;
    
      # Enables directory listings when index file not found
      #autoindex  on;
    
      # Shows file listing times as local time
      #autoindex_localtime on;
    
      # Enable for vBulletin usage WITHOUT vbSEO installed
      # More example Nginx vhost configurations at
      # http://centminmod.com/nginx_configure.html
      #try_files    $uri $uri/ /index.php;
    
      }
    
      include /usr/local/nginx/conf/staticfiles.conf;
      include /usr/local/nginx/conf/php.conf;
      include /usr/local/nginx/conf/drop.conf;
      #include /usr/local/nginx/conf/errorpage.conf;
      include /usr/local/nginx/conf/vts_server.conf;
    }
    
     
    Last edited: Feb 14, 2016
    • Like Like x 1
    • Informative Informative x 1
  18. eva2000

    eva2000 Administrator Staff Member

    42,376
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,746
    Local Time:
    12:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Last edited: Feb 14, 2016
  19. ethanpil

    ethanpil Active Member

    170
    53
    28
    Nov 8, 2015
    Ratings:
    +99
    Local Time:
    12:44 PM
    Similar problem as a few days ago. Just did a fresh install of current beta on 4GB Linode in NJ via Centos 7.

    Nginx wont start up.

    Here is the full log:
    Dropbox - centminmod_1.2.3-eva2000.09.001_140216-230708_install.zip

    Code:
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 187.5800 seconds
    Total YUM Time: 235.957168485 seconds
    Total YUM + Source Download Time: 255.4410
    Total Nginx First Time Install Time: 86.6921
    Total PHP First Time Install Time: 382.0972
    Download Zip From Github Time: 2.6021
    Total Time Other eg. source compiles: 403.5701
    Total Centmin Mod Install Time: 1127.8004
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 1317.9825 seconds
    ---------------------------------------------------------------------------
    
    
     
  20. eva2000

    eva2000 Administrator Staff Member

    42,376
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,746
    Local Time:
    12:44 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    ah i updated fancyindex module to 0.3.6 but the directory in zip file most be different name
    Code:
     + ngx_http_concat_module was configured
    adding module in ../ngx-fancyindex-ngx-fancyindex
    ./configure: error: no ../ngx-fancyindex-ngx-fancyindex/config was found
    upload_2016-2-15_10-23-48.png

    edit: should be fixed now with this commit fix fancy index nginx module 0.3.6 support · centminmod/[email protected] · GitHub
     
    Last edited: Feb 15, 2016