Discover Centmin Mod today
Register Now

Beta Branch only install newer wget versions if 64bit OS detected

Discussion in 'Centmin Mod Github Commits' started by eva2000, Mar 27, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    54,110
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,739
    Local Time:
    4:47 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    only install newer wget versions if 64bit OS detected

    - newer source compiled wget versions on centos 6 require devtoolset SCL repo but it's only available for centos 6 64bit and not centos 6 32bit OSes so skip attempting to install wget newer version for centos 6 32bit and use system provided wget version instead
    - reason centminmod chose to use newer source compiled wget in the past was due to redhat/centos upstream refusing to fix wget security vulnerability in centos 6 and only fixing it in centos 7. Seeing as wget is crucial to everything Centmin Mod does, decided to source compile newer wget version for both centos 6 and 7 to ensure latest security updates are always available. But centos 6 uses GCC 4.4.7 and is too old to recompile wget and it's pcre dependency so requires devtoolset SCL repo which isn't available to 32bit OSes.

    Continue reading...


    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,110
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,739
    Local Time:
    4:47 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Vultr 512MB KVM VPS CentOS 6.9 32bit test install
    Code (Text):
    cat /etc/redhat-release 
    CentOS release 6.9 (Final)
    
    uname -m
    i686
    
    free -m
                 total       used       free     shared    buffers     cached
    Mem:           498        147        350         12          7         45
    -/+ buffers/cache:         94        404
    Swap:         1023          0       1023
    

    Code (Text):
    ---------------------------------------------------------------------------
    Total Curl Installer YUM or DNF Time: 192.1036 seconds
    Total YUM Time: 11.770382601 seconds
    Total YUM or DNF + Source Download Time: 48.6454
    Total Nginx First Time Install Time: 433.7130
    Total PHP First Time Install Time: 524.5877
    Download Zip From Github Time: 15.1992
    Total Time Other eg. source compiles: 455.0557
    Total Centmin Mod Install Time: 1462.0018
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 1669.3046 seconds
    ---------------------------------------------------------------------------
          1  Virtual CPU a7769a6388d5 (1  2394.454 Mhz)
    ---------------------------------------------------------------------------
    

    post install check list
    Code (Text):
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.4.1
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2018 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.13.10
    built by gcc 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) 
    built with OpenSSL 1.1.0g  2 Nov 2017
    TLS SNI support enabled
    configure arguments: --with-ld-opt='-ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib' --with-cc-opt='-m32 -mtune=generic -g -O3 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-compat --with-http_stub_status_module --with-http_secure_link_module --with-libatomic --with-http_gzip_static_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module=dynamic --with-http_geoip_module --with-stream_geoip_module --with-stream_realip_module --with-stream_ssl_preread_module --with-threads --with-stream=dynamic --with-stream_ssl_module --with-http_realip_module --add-dynamic-module=../ngx-fancyindex-0.4.2 --add-module=../ngx_cache_purge-2.4.2 --add-module=../ngx_devel_kit-0.3.0 --add-dynamic-module=../set-misc-nginx-module-0.31 --add-dynamic-module=../echo-nginx-module-0.61 --add-module=../redis2-nginx-module-0.14 --add-module=../ngx_http_redis-0.3.7 --add-module=../memc-nginx-module-0.18 --add-module=../srcache-nginx-module-0.31 --add-dynamic-module=../headers-more-nginx-module-0.33 --with-pcre=../pcre-8.42 --with-pcre-jit --with-zlib=../zlib-1.2.11 --with-http_ssl_module --with-http_v2_module --with-openssl=../openssl-1.1.0g
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.6.34 (cli) (built: Mar 27 2018 02:21:28) 
    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-compat-10.1.31-1.el6.i686
    MariaDB-common-10.1.31-1.el6.i686
    MariaDB-devel-10.1.31-1.el6.i686
    MariaDB-shared-10.1.31-1.el6.i686
    MariaDB-client-10.1.31-1.el6.i686
    MariaDB-server-10.1.31-1.el6.i686
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.5.6
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v12.01 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 4.0.4
    
    Copyright (C) 2017 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 pure-ftpd Version:
    --------------------------------------------------------
    pure-ftpd v1.0.30
    
    --------------------------------------------------------
    Check YUM Repo List
    --------------------------------------------------------
    Loaded plugins: fastestmirror, priorities, security, versionlock
    Loading mirror speeds from cached hostfile
     * base: repo1.ash.innoscale.net
     * epel: fedora-epel.mirrors.tds.net
     * extras: mirrors.greenmountainaccess.net
     * rpmforge: apt.sw.be
     * updates: mirror.math.princeton.edu
    1570 packages excluded due to repository priority protections
    repo id         repo name                                            status
    base            CentOS-6 - Base                                         5,068+11
    epel            Extra Packages for Enterprise Linux 6 - i386          10,055+101
    extras          CentOS-6 - Extras                                             20
    mariadb         MariaDB                                                     14+2
    rpmforge        RHEL 6 - RPMforge.net - dag                          3,220+1,572
    updates         CentOS-6 - Updates                                           975
    repolist: 19,352
    
    --------------------------------------------------------
    mytimes check:
    /usr/bin/mytimes
    --------------------------------------------------------
    Tue Mar 27 02:27:42 UTC 2018    [UTC]
    Tue Mar 27 12:27:42 AEST 2018   [Australia/Brisbane]
    Mon Mar 26 19:27:42 PDT 2018    [America/Los_Angeles]
    Mon Mar 26 21:27:42 CDT 2018    [America/Chicago]
    Mon Mar 26 22:27:42 EDT 2018    [America/New_York]
    Mon Mar 26 22:27:42 EDT 2018    [America/Montreal]
    Tue Mar 27 03:27:42 BST 2018    [Europe/London]
    Tue Mar 27 04:27:42 CEST 2018   [Europe/Berlin]
    Tue Mar 27 09:27:42 +07 2018    [Asia/Bangkok]
    Tue Mar 27 09:27:42 +07 2018    [Asia/Ho_Chi_Minh]
    Tue Mar 27 09:27:42 WIB 2018    [Asia/Jakarta]
    Tue Mar 27 10:27:42 +08 2018    [Asia/Kuala_Lumpur]
    Tue Mar 27 10:27:42 +08 2018    [Asia/Singapore]
    --------------------------------------------------------