Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch Centmin Mod .09 beta branch Testing

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

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:53 PM
    Nginx 1.13.x
    MariaDB 5.5

    Curl Install Minimal Version



    Added installer-minimal.sh option for 123.09beta01 with a preset persist config file /etc/centminmod/custom_config.inc already populated reducing number of Nginx modules to minimal amount. Note this will disable OpenResty Redis2 which is needed for Redis Caching at Nginx level for Wordpress.

    So for curl one liner install you can just run
    Code:
    curl -O https://centminmod.com/betainstaller-minimal.sh && chmod 0700 betainstaller-minimal.sh && bash betainstaller-minimal.sh
    
    Code:
    ls -lah /usr/local/sbin/nginx
    -rwxr-xr-x 1 root root 2.6M Jan 10 22:59 /usr/local/sbin/nginx
    resulting Nginx config
    preset /etc/centminmod/custom_config.inc so are set to yes as they are a must have
    Code:
    NSD_DISABLED=y # when set to =y, NSD disabled by default with chkconfig off
    NGINX_RTMP=n # Nginx RTMP Module support https://github.com/arut/nginx-rtmp-module
    NGINX_FLV=n # http://nginx.org/en/docs/http/ngx_http_flv_module.html
    NGINX_MP4=n # Nginx MP4 Module http://nginx.org/en/docs/http/ngx_http_mp4_module.html
    NGINX_AUTHREQ=n # http://nginx.org/en/docs/http/ngx_http_auth_request_module.html
    NGINX_SECURELINK=n # http://nginx.org/en/docs/http/ngx_http_secure_link_module.html
    NGINX_FANCYINDEX=n # http://wiki.nginx.org/NgxFancyIndex
    NGINX_VHOSTSTATS=n # https://github.com/vozlt/nginx-module-vts
    NGINX_PAGESPEED=n # Install ngx_pagespeed
    NGINX_PASSENGER='n' # Install Phusion Passenger requires installing addons/passenger.sh before hand
    NGINX_WEBDAV=n # Nginx WebDAV and nginx-dav-ext-module
    NGINX_UPSTREAMCHECK='n' # nginx upstream check https://github.com/yaoweibin/nginx_upstream_check_module
    NGINX_OPENRESTY='n' # Agentzh's openresty Nginx modules
    LUAJIT_GITINSTALL='n' # opt to install luajit 2.1 from dev branch http://repo.or.cz/w/luajit-2.0.git/shortlog/refs/heads/v2.1
    ORESTY_LUANGINX='n' # enable or disable or ORESTY_LUA* nginx modules below
    NGINX_STUBSTATUS=y # http://nginx.org/en/docs/http/ngx_http_stub_status_module.html required for nginx statistics
    NGINX_SUB=n # http://nginx.org/en/docs/http/ngx_http_sub_module.html
    NGINX_ADDITION=n # http://nginx.org/en/docs/http/ngx_http_addition_module.html
    NGINX_IMAGEFILTER=n # http://nginx.org/en/docs/http/ngx_http_image_filter_module.html
    NGINX_CACHEPURGE=y # https://github.com/FRiCKLE/ngx_cache_purge/
    NGINX_ACCESSKEY=n #
    NGINX_HTTPCONCAT=n # https://github.com/alibaba/nginx-http-concat
    NGINX_THREADS=y # https://www.nginx.com/blog/thread-pools-boost-performance-9x/
    ORESTY_HEADERSMORE=y # openresty headers more https://github.com/openresty/headers-more-nginx-module
    
     
    Last edited: Jan 11, 2016
  2. RoldanLT

    RoldanLT Well-Known Member

    3,875
    946
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,290
    Local Time:
    5:53 PM
    1.11
    10.2
    My minimal Nginx install :D

    Code:
    # ls -lah /usr/local/sbin/nginx
    -rwxr-xr-x 1 root root 2.5M Dec 10 22:03 /usr/local/sbin/nginx
     
  3. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:53 PM
    Nginx 1.13.x
    MariaDB 5.5
    haha missing some nginx modules that i use regularly heh
     
    • Like Like x 1
  4. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:53 PM
    Nginx 1.13.x
    MariaDB 5.5
    Next up is looking into cleaning up /svr-setup downloads directory where all the source tarball and other files get downloaded to. First see the sorted ascending size of directories within /svr-setup in kilobytes

    for new 123.09beta01 minimal nginx install
    Code:
    du --max-depth=1 /svr-setup | sort -n
    20      /svr-setup/nginx-accesskey-2.0.3
    32      /svr-setup/nginx-dav-ext-module-0.0.3
    32      /svr-setup/nginx-http-concat-master
    80      /svr-setup/ngx-fancyindex-ngx-fancyindex
    80      /svr-setup/ngx_http_redis-0.3.7
    108     /svr-setup/ngx_cache_purge-2.3
    152     /svr-setup/pflogsumm-1.1.5
    240     /svr-setup/headers-more-nginx-module-0.29
    240     /svr-setup/nginx-sticky-module-1.2.5
    376     /svr-setup/twemperf-0.1.1
    476     /svr-setup/rpms
    644     /svr-setup/zendopcache-7.0.5
    816     /svr-setup/nginx_upstream_check_module-0.3.0
    1100    /svr-setup/APC-3.1.13
    1368    /svr-setup/sproxy-1.02
    3036    /svr-setup/ccache-3.2.4
    3052    /svr-setup/geoip
    3224    /svr-setup/csf
    3360    /svr-setup/mailparse-2.1.6
    3780    /svr-setup/igbinary-igbinary-c8c7618
    4244    /svr-setup/memcached-2.2.0
    4692    /svr-setup/memcache-3.0.8
    4952    /svr-setup/siege-3.1.3
    5232    /svr-setup/memcached-1.4.25
    6316    /svr-setup/phpredis-2.2.7
    8052    /svr-setup/libmemcached-1.0.18
    8508    /svr-setup/imagick-3.4.0RC4
    10100   /svr-setup/nsd-3.2.18
    12240   /svr-setup/pcre-8.38
    20080   /svr-setup/mongodb-1.1.1
    20812   /svr-setup/libevent-release-2.0.22-stable
    25536   /svr-setup/nginx-1.9.9
    29652   /svr-setup/openssl-1.0.2e
    111504  /svr-setup/libressl-2.2.5
    234508  /svr-setup/php-5.6.17
    607504  /svr-setup
    for a long time running centmin mod server
    Code:
    du --max-depth=1 /svr-setup | sort -n
    4       /svr-setup/msglogs
    4       /svr-setup/staticlibssl
    20      /svr-setup/nginx-accesskey-2.0.3
    32      /svr-setup/nginx-dav-ext-module-0.0.3
    32      /svr-setup/nginx-http-concat-master
    44      /svr-setup/lua-resty-cookie-master
    44      /svr-setup/newrelic_nginx_agent
    60      /svr-setup/elasticsearch_munin
    60      /svr-setup/lua-upstream-cache-nginx-module-0.1.1
    64      /svr-setup/lua-resty-lock-0.04
    76      /svr-setup/lua-resty-upload-0.09
    80      /svr-setup/ngx-fancyindex-ngx-fancyindex
    80      /svr-setup/ngx_http_redis-0.3.7
    84      /svr-setup/ngx_cache_purge-2.1
    92      /svr-setup/lua-upstream-nginx-module-0.02
    92      /svr-setup/lua-upstream-nginx-module-0.03
    92      /svr-setup/lua-upstream-nginx-module-0.04
    96      /svr-setup/lua-resty-upstream-healthcheck-0.03
    104     /svr-setup/lua-redis-parser-0.10
    104     /svr-setup/lua-resty-logger-socket-0.1
    104     /svr-setup/lua-resty-lrucache-0.04
    108     /svr-setup/ngx_cache_purge-2.3
    136     /svr-setup/lua-resty-string-0.09
    140     /svr-setup/geoip-1.1.0
    144     /svr-setup/lua-resty-dns-0.14
    144     /svr-setup/lua-resty-memcached-0.13
    148     /svr-setup/lua-resty-redis-0.20
    152     /svr-setup/lua-resty-redis-0.21
    152     /svr-setup/pflogsumm-1.1.5
    168     /svr-setup/lua-resty-mysql-0.15
    192     /svr-setup/lua-resty-websocket-0.05
    236     /svr-setup/headers-more-nginx-module-0.28
    240     /svr-setup/nginx-goodies-nginx-sticky-module-ng-bd312d586752
    256     /svr-setup/headers-more-nginx-module-0.25
    256     /svr-setup/headers-more-nginx-module-0.261
    280     /svr-setup/lua-resty-core-0.1.0
    296     /svr-setup/redis2-nginx-module-0.12
    328     /svr-setup/pbzip2-1.1.8
    348     /svr-setup/phpmemcacheadmin
    356     /svr-setup/set-misc-nginx-module-0.28
    356     /svr-setup/set-misc-nginx-module-0.29
    376     /svr-setup/twemperf-0.1.1
    404     /svr-setup/openresty-memc-nginx-module-1518da4
    408     /svr-setup/openresty-memc-nginx-module-4f6f78f
    432     /svr-setup/lua-cjson-2.1.0.2
    432     /svr-setup/ngx_brotli
    480     /svr-setup/nginx-sticky-module-1.2.5
    484     /svr-setup/echo-nginx-module-0.57
    484     /svr-setup/echo-nginx-module-0.58
    484     /svr-setup/munin-mysql
    536     /svr-setup/openresty-srcache-nginx-module-ffa9ab7
    560     /svr-setup/portable-master
    572     /svr-setup/plzip-1.1
    624     /svr-setup/lzip-1.15
    660     /svr-setup/nginx_upstream_check_module-0.1.9
    668     /svr-setup/lzlib-1.5
    772     /svr-setup/pigz-2.3.1
    816     /svr-setup/nginx_upstream_check_module-0.3.0
    864     /svr-setup/ngx_devel_kit-0.2.19
    1588    /svr-setup/goaccess-0.8
    1724    /svr-setup/pngnq
    2420    /svr-setup/maldetect-1.4.2
    2444    /svr-setup/libevent-release-2.0.21-stable
    2568    /svr-setup/csf
    2720    /svr-setup/geoip
    3004    /svr-setup/ccache-3.2.2
    3036    /svr-setup/ccache-3.2.4
    3316    /svr-setup/zendopcache-7.0.3
    3336    /svr-setup/igbinary-1.2.1
    3768    /svr-setup/igbinary-igbinary-8351efe
    3888    /svr-setup/nginx-module-vts
    4244    /svr-setup/memcached-2.2.0
    4320    /svr-setup/lua-nginx-module-0.9.16
    4336    /svr-setup/lua-nginx-module-0.9.16rc1
    4568    /svr-setup/lua-nginx-module-0.9.18
    4572    /svr-setup/lua-nginx-module-0.9.19
    4696    /svr-setup/memcache-3.0.8
    4792    /svr-setup/siege-3.0.6
    5008    /svr-setup/memcached-1.4.20
    5052    /svr-setup/memcached-1.4.22
    5208    /svr-setup/memcached-1.4.24
    5232    /svr-setup/memcached-1.4.25
    5432    /svr-setup/sproxy-1.02
    5468    /svr-setup/apcu
    5572    /svr-setup/ploticus
    6032    /svr-setup/lbzip2-2.3
    6316    /svr-setup/phpredis-2.2.7
    6852    /svr-setup/APC-3.1.13
    7000    /svr-setup/imagick-3.1.2
    7276    /svr-setup/imagick-3.3.0RC2
    8024    /svr-setup/LuaJIT-2.0.4
    9932    /svr-setup/nsd-3.2.17
    11660   /svr-setup/pcre-8.35
    11736   /svr-setup/pcre-8.36
    12020   /svr-setup/pcre-8.37
    12160   /svr-setup/pcre-8.38
    18292   /svr-setup/libevent-2.0.21-stable
    19552   /svr-setup/p7zip_9.20.1
    20824   /svr-setup/libevent-release-2.0.22-stable
    29652   /svr-setup/openssl-1.0.2e
    29852   /svr-setup/openssl-1.0.2c
    29928   /svr-setup/openssl-1.0.2d
    39012   /svr-setup/LuaJIT-2.1
    45484   /svr-setup/nginx-1.7.0
    45728   /svr-setup/nginx-1.7.1
    46448   /svr-setup/nginx-1.7.2
    46488   /svr-setup/nginx-1.7.3
    50608   /svr-setup/nginx-1.7.4
    50636   /svr-setup/nginx-1.7.5
    54292   /svr-setup/nginx-1.7.9
    54348   /svr-setup/nginx-1.7.7
    54540   /svr-setup/nginx-1.7.6
    54752   /svr-setup/nginx-1.7.10
    59368   /svr-setup/nginx-1.9.9
    63176   /svr-setup/libbrotli
    83892   /svr-setup/openssl-1.0.1i
    84744   /svr-setup/openssl-1.0.1g
    85812   /svr-setup/openssl-1.0.1h
    107544  /svr-setup/openssl-1.0.2-chacha
    107576  /svr-setup/openssl-1.0.2a
    110988  /svr-setup/libressl-2.2.1
    111272  /svr-setup/libressl-2.2.0
    111460  /svr-setup/libressl-2.2.2
    111468  /svr-setup/libressl-2.2.4
    111472  /svr-setup/libressl-2.2.3
    112920  /svr-setup/libressl-2.2.5
    160444  /svr-setup/portable-2.2.0
    198968  /svr-setup/libmemcached-1.0.18
    225464  /svr-setup/php-5.5.14
    307484  /svr-setup/php-5.4.28
    413988  /svr-setup/php-5.5.12
    414236  /svr-setup/php-5.5.13
    417880  /svr-setup/php-5.6.17
    436524  /svr-setup/php-5.5.15
    436708  /svr-setup/php-5.5.16
    606364  /svr-setup/ngx_pagespeed-release-1.9.32.4-beta
    608036  /svr-setup/ngx_pagespeed-release-1.9.32.6-beta
    608108  /svr-setup/ngx_pagespeed-release-1.9.32.10-beta
    610436  /svr-setup/ngx_pagespeed-release-1.9.32.11-beta
    623004  /svr-setup/ngx_pagespeed-release-1.9.32.3-beta
    643556  /svr-setup/ngx_pagespeed-release-1.10.33.2-beta
    757756  /svr-setup/ngx_pagespeed-release-1.10.33.1-beta
    9855208 /svr-setup
    nginx pagespeed, PHP and libressl are the largest to need managing :)

    Code:
    ls -rt /svr-setup/ | egrep 'ngx_pagespeed|^release-1.9'
    ngx_pagespeed-release-1.9.32.3-beta
    release-1.9.32.3-beta.tar.gz
    ngx_pagespeed-release-1.9.32.4-beta
    release-1.9.32.4-beta.tar.gz
    ngx_pagespeed-release-1.9.32.6-beta
    release-1.9.32.6-beta.tar.gz
    ngx_pagespeed-release-1.9.32.10-beta
    release-1.9.32.10-beta.tar.gz
    ngx_pagespeed-release-1.9.32.11-beta
    release-1.9.32.11-beta.tar.gz
    ngx_pagespeed-release-1.10.33.2-beta
    ngx_pagespeed-release-1.10.33.1-beta
    
    Code:
    ls -rt /svr-setup/ | grep php-
    php-5.4.28.tar.gz
    php-5.4.28
    php-5.5.12.tar.gz
    php-5.5.12
    php-5.5.13.tar.gz
    php-5.5.13
    php-5.5.14.tar.gz
    php-5.5.14
    php-5.5.15.tar.gz
    php-5.5.15
    php-5.5.16.tar.gz
    php-5.5.16
    php-5.6.17.tar.gz
    php-5.6.17
    Code:
    ls -rt /svr-setup/ | grep libressl
    libressl-2.2.0.tar.gz
    libressl-portable-v2.2.0.tar.gz
    libressl-2.2.0
    libressl-2.2.1.tar.gz
    libressl-2.2.1
    libressl-2.2.2.tar.gz
    libressl-2.2.2
    libressl-2.2.3.tar.gz
    libressl-2.2.3
    libressl-2.2.4.tar.gz
    libressl-2.2.5.tar.gz
    libressl-2.2.4
    libressl-2.2.5
    committed code update inc/nginx_upgrade.inc & inc/php_upgrade.inc · centminmod/centminmod@01cfb89 · GitHub :)
     
    Last edited: Jan 11, 2016
  5. JarylW

    JarylW Active Member

    213
    39
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +99
    Local Time:
    5:53 PM
    What's the recommended way to test LetsEncrypt apart from changing to the le2 branch?
     
  6. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:53 PM
    Nginx 1.13.x
    MariaDB 5.5
    only way is via 123.09beta01le2 branch right now - just know that that branch is solely for Letsencrypt so may not have fixes and updates in latest 123.09beta01 branch.
     
    • Like Like x 1
  7. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:53 PM
    Nginx 1.13.x
    MariaDB 5.5

    POSTGRESQL=n variable support updated to PostgreSQL 9.5



    Updated to support PostgreSQL 9.5 server PostgreSQL: PostgreSQL 9.5: UPSERT, Row Level Security, and Big Data

    When centmin.sh variable is set to POSTGRESQL=y and you run centmin.sh menu option 5 to recompile PHP server, it will install PostgreSQL 9.5 server and devel yum packages from official PostgreSQL YUM repository at http://yum.postgresql.org/ if not already installed and then append to PHP-FPM configuration options the --with-pdo-pgsql=/usr/pgsql-9.5 configure option to enable and install pdo-pgsql PHP driver extension to allow PHP to communicate with PostgreSQL server.

    To allow to persist on centmin mod code updates, create persistent config file at /etc/centminmod/custom_config.inc and add to it the line:
    Code:
    POSTGRESQL=y
    
    This option came from request at PHP-FPM - Add pdo-pgsql PHP extension | Centmin Mod Community

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:

    Example run

    create or add to existing persistent config file at /etc/centminmod/custom_config.inc the variable
    Code:
    POSTGRESQL=y
    
    then re-run centmin.sh menu option 5 and recompile your PHP version by specifying the PHP version

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.09 - 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.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    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 ] 5
    once PHP recompiled check for pdo-pgsql php extension using method outlined in FAQ item 37

    Code:
    psql -V
    php --ri pdo_pgsql
    php -m
    
    Code:
    psql -V
    psql (PostgreSQL) 9.5.0
    Code:
    php --ri pdo_pgsql
    
    pdo_pgsql
    
    PDO Driver for PostgreSQL => enabled
    PostgreSQL(libpq) Version => 9.5.0
    Module version => 1.0.2
    Revision =>  $Id: af568c8ae63693bc2b766337bd4731078e62f9b4 $ 
    Code:
    php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    ereg
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mailparse
    mbstring
    mcrypt
    memcache
    memcached
    mhash
    mongodb
    mysql
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_pgsql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    redis
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
    check for yum packages for postgresql 9.5 server etc
    Code:
    yum list postgresql95 postgresql95-devel postgresql95-contrib postgresql95-libs postgresql95-server --disableplugin=priorities
    Code:
    yum list postgresql95 postgresql95-devel postgresql95-contrib postgresql95-libs postgresql95-server --disableplugin=priorities
    
    Installed Packages
    postgresql95.x86_64                                                                                                           9.5.0-1PGDG.rhel7                                                                                                    @pgdg95
    postgresql95-contrib.x86_64                                                                                                   9.5.0-1PGDG.rhel7                                                                                                    @pgdg95
    postgresql95-devel.x86_64                                                                                                     9.5.0-1PGDG.rhel7                                                                                                    @pgdg95
    postgresql95-libs.x86_64                                                                                                      9.5.0-1PGDG.rhel7                                                                                                    @pgdg95
    postgresql95-server.x86_64                                                                                                    9.5.0-1PGDG.rhel7                                                                                                    @pgdg95
     
    Last edited: Jan 12, 2016
    • Like Like x 1
  8. JarylW

    JarylW Active Member

    213
    39
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +99
    Local Time:
    5:53 PM
    How about if i change to le2 branch, setup test letsencrypt via menu option self signed cert, then revert back to normal beta branch. Should technically work right?
     
  9. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:53 PM
    Nginx 1.13.x
    MariaDB 5.5
    technically it can work fine - test and see = beta :D
     
  10. Ahmad

    Ahmad Active Member

    209
    80
    28
    Apr 13, 2015
    Ratings:
    +150
    Local Time:
    11:53 AM
    1.9.9
    10.1.10
    Tested it on a server like 2weeks ago (I think) and worked fine, still up&running ;)
     
    • Like Like x 1
  11. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    11:53 AM
    1.9.12
    10.0.23
    So @Ahmad - Do you with that statement say, that around the time for renew of certificate then it will do that per script even if you are on another current branch that LE2?

    If that statement is true then I know what to do in the coming weekend ;)
     
    • Informative Informative x 1
  12. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:53 PM
    Nginx 1.13.x
    MariaDB 5.5
    well yes, 123.09beta01le2 generated vhost with Letsencrypt SSL creates a cronjob script and that remains regardless of which centmin mod branch you switch to
     
    • Winner Winner x 1
  13. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    11:53 AM
    1.9.12
    10.0.23
    Oh man, fantastic info. :love: I'm no github guru, so I was sure about when you switch branch it does do some cleanup of stuff.. And here I was loyal waiting for LEx to be merged in to at beta branch so I could have it on a production server.. :)
     
  14. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:53 PM
    Nginx 1.13.x
    MariaDB 5.5
  15. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    11:53 AM
    1.9.12
    10.0.23
    I'm aware of that - but thanks for remind me and others about that - we have to think about.

    Not a issues for me as I don't have anything lower than 1 GB that is necessary..
     
    • Like Like x 1
  16. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:53 PM
    Nginx 1.13.x
    MariaDB 5.5

    centmin.sh menu option 19 submenus



    Updated Centmin Mod 123.09beta01 and reworked centmin.sh menu option 19 has now been extended with submenu options using addons/ffmpeg.sh addon as basis for the submenu routines :) Thanks goes to @Patrizio for the FFMPEG PHP extension bug fix allowing it to compile against latest FFMPEG versions !

    FYI, FFMPEG Binary install is via source compilation against latest FFMPEG github hosted code so can take between 15-30 minutes to compile depending on speed of your server.

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and thread below:

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.09 - 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.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    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 ] 19
    --------------------------------------------------------
    
    Code:
    --------------------------------------------------------
                 FFMPEG Sub-Menu        
    --------------------------------------------------------
    1). Install FFMPEG Binary + FFMPEG PHP extension
    2). Update FFMPEG Binary + FFMPEG PHP extension
    3). Reinstall FFMPEG PHP extension
    4). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 
     
    • Winner Winner x 2
    • Like Like x 1
  17. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    11:53 AM
    1.9.12
    10.0.23
    Absolutely great - thank you. :cool:
    - one wish - can you please do the same for LE2 branch?
     
  18. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:53 PM
    Nginx 1.13.x
    MariaDB 5.5
    nah 123.09beta01le2 is for letsencrypt code only to when it comes time to merge into 123.09beta01 there are less conflicts
     
    • Like Like x 1
  19. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:53 PM
    Nginx 1.13.x
    MariaDB 5.5

    Re-Enable Axel Multi-threaded downloads



    Updated Centmin Mod 123.09beta01 and re-enabled axel download accelerator which allows multi-threaded downloads and is much faster than single threaded wget. This should speed up initial installs, nginx and php upgrades again :D

    Commit

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and thread below:
    Test run on CentOS 6.7 64bit install of 123.09beta01 reduced total install time from 1004 seconds to 748 seconds !

    Code:
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 97.0003 seconds
    Total YUM Time: 51.046080388 seconds
    Total YUM + Source Download Time: 105.7457
    Total Nginx First Time Install Time: 131.1319
    Total PHP First Time Install Time: 195.3565
    Download Zip From Github Time: 4.4612
    Total Time Other eg. source compiles: 215.2317
    Total Centmin Mod Install Time: 647.4658
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 748.9273 seconds
    ---------------------------------------------------------------------------
    After switching libressl download to axel and fixing centos 6 axel usage
    Code:
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 93.6727 seconds
    Total YUM Time: 52.867443569 seconds
    Total YUM + Source Download Time: 76.3670
    Total Nginx First Time Install Time: 130.2183
    Total PHP First Time Install Time: 197.3724
    Download Zip From Github Time: 7.1299
    Total Time Other eg. source compiles: 217.2077
    Total Centmin Mod Install Time: 621.1654
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 721.9680 seconds
    ---------------------------------------------------------------------------
    Further speed up by removing unneeded igbinary check/installs on initial installation remove unneeded igbinary check calls · centminmod/centminmod@004ef17 · GitHub :)

    edit 2: fastest version so far

    Code:
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 95.1832 seconds
    Total YUM Time: 55.498473677 seconds
    Total YUM + Source Download Time: 76.5195
    Total Nginx First Time Install Time: 129.7839
    Total PHP First Time Install Time: 200.3404
    Download Zip From Github Time: 4.4996
    Total Time Other eg. source compiles: 212.0481
    Total Centmin Mod Install Time: 618.6919
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 718.3747 seconds
    ---------------------------------------------------------------------------
     
    Last edited: Jan 14, 2016
    • Like Like x 3
  20. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:53 PM
    Nginx 1.13.x
    MariaDB 5.5

    Add missing PostgreSQL PHP extension



    From https://community.centminmod.com/posts/23957/, added a missing PostgreSQL php extension to allow PHP to connect to PostreSQL server postgresql php extension · Issue #51 · centminmod/centminmod · GitHub as outlined in install documentation at PHP: PostgreSQL (PDO) - Manual

    Commit at update inc/php_configure.inc for postgresql php extension · centminmod/centminmod@135b430 · GitHub

    PostreSQL PHP extensions complete
    Code:
    psql -V
    php --ri pgsql
    php --ri pdo_pgsql
    php -m
    
    Code:
    psql -V
    psql (PostgreSQL) 9.5.0
    Code:
    php --ri pgsql
    
    pgsql
    
    PostgreSQL Support => enabled
    PostgreSQL(libpq) Version => 9.5.0
    PostgreSQL(libpq)  => PostgreSQL 9.5.0 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16), 64-bit
    Multibyte character support => enabled
    SSL support => disabled
    Active Persistent Links => 0
    Active Links => 0
    
    Directive => Local Value => Master Value
    pgsql.allow_persistent => On => On
    pgsql.max_persistent => Unlimited => Unlimited
    pgsql.max_links => Unlimited => Unlimited
    pgsql.auto_reset_persistent => Off => Off
    pgsql.ignore_notice => Off => Off
    pgsql.log_notice => Off => Off
    Code:
    php --ri pdo_pgsql
    
    pdo_pgsql
    
    PDO Driver for PostgreSQL => enabled
    PostgreSQL(libpq) Version => 9.5.0
    Module version => 1.0.2
    Revision =>  $Id: af568c8ae63693bc2b766337bd4731078e62f9b4 $ 
    Code:
    php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    ereg
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mailparse
    mbstring
    mcrypt
    memcache
    memcached
    mhash
    mongodb
    mysql
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_pgsql
    pdo_sqlite
    pgsql
    Phar
    posix
    pspell
    readline
    redis
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
     
    Last edited: Jan 14, 2016
    • Like Like x 1