Want more timely Centmin Mod News Updates?
Become a Member

Upgrade PHP-FPM Beta Branch Centmin Mod .09 beta branch Testing

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

Tags:
  1. KeVo

    KeVo Active Member

    180
    71
    28
    May 28, 2014
    Ratings:
    +101
    Local Time:
    1:17 AM
    1.11.x
    10.1.18
    Just thought I'd let you know that I just used this method and it installed 7.0.10 during the installation.


    Cheers, mate!
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    thanks for heads up !
     
  3. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  4. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  5. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  6. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  7. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Heads up seems github.com is having some issues right now with their servers returning 504 gateway timeouts for me across several of my servers. So any centmin.sh menu option 23 updates or reported github centmin mod url change prompts should be ignored (don't answer yes when prompt says github centmin mod url changed and whether you want to update it).
    Code (Text):
    curl -Is https://github.com/centminmod/centminmod/raw/123.09beta01/installer.sh
    HTTP/1.1 504 Gateway Time-out
    Cache-Control: no-cache
    Content-Type: text/html
    Date: Fri, 21 Oct 2016 12:50:51 GMT
    Age: 0
    X-GitHub-Request-Id: C61B43A9:0B41:2A7303A:580A0F21
    X-Frame-Options: DENY

    Seems to be github.com's DNS provider is undergoing a DDOS attack https://twitter.com/githubstatus/status/789433336083001344 !

    Will update folks when github.com is working again.

    More details at Centmin Mod github.com repo 504 Timeouts | Centmin Mod Community
     
    Last edited: Oct 21, 2016
  8. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  9. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+

    Centmin Mod 123.09beta01 Added Extended Syntax Highlighting for Nano Editor



    Just updated Centmin Mod 123.09beta01 branch code with a new tools/nano-syntax.sh script. Once you update 123.09beta01 via centmin.sh menu option 23 submenu option 2, you can run tools/nano-syntax.sh to enable and install extended syntax highlighting support for nano text editor beyond the native supported syntax highlighting that Centmin Mod 123.09beta01 already now enables :)

    Examples can be see at Which Linux Text Editor do you prefer nano or vim ? | Centmin Mod Community
     
  10. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Found a bug in nginx syntax highlighting it seems the curly {} braces color hides them in my SSH window :(

    So need to look into that. Updated 123.09beta01's tools/nano-syntax.sh to disable nginx syntax highlighting for now. So when you re-run tools/nano-syntax.sh it disables nginx syntax highlighting

    Code (Text):
    tools/nano-syntax.sh
    
    Setup Extended Syntax Highlighting for nano editor
    
    Cloning into 'nanorc'...
    remote: Counting objects: 90, done.
    remote: Compressing objects: 100% (83/83), done.
    remote: Total 90 (delta 0), reused 90 (delta 0), pack-reused 0
    Unpacking objects: 100% (90/90), done.
    Generated: build/awk.nanorc
    Generated: build/c.nanorc
    Generated: build/cmake.nanorc
    Generated: build/coffeescript.nanorc
    Generated: build/colortest.nanorc
    Generated: build/csharp.nanorc
    Generated: build/css.nanorc
    Generated: build/cython.nanorc
    Generated: build/default.nanorc
    Generated: build/dot.nanorc
    Generated: build/email.nanorc
    Generated: build/git.nanorc
    Generated: build/glsl.nanorc
    Generated: build/go.nanorc
    Generated: build/html.nanorc
    Generated: build/ini.nanorc
    Generated: build/inputrc.nanorc
    Generated: build/java.nanorc
    Generated: build/javascript.nanorc
    Generated: build/json.nanorc
    Generated: build/keymap.nanorc
    Generated: build/kickstart.nanorc
    Generated: build/ledger.nanorc
    Generated: build/lisp.nanorc
    Generated: build/lua.nanorc
    Generated: build/makefile.nanorc
    Generated: build/man.nanorc
    Generated: build/markdown.nanorc
    Generated: build/mpdconf.nanorc
    Generated: build/nanorc.nanorc
    Generated: build/nginx.nanorc
    Generated: build/patch.nanorc
    Generated: build/peg.nanorc
    Generated: build/php.nanorc
    Generated: build/pkgbuild.nanorc
    Generated: build/pkg-config.nanorc
    Generated: build/po.nanorc
    Generated: build/privoxy.nanorc
    Generated: build/properties.nanorc
    Generated: build/python.nanorc
    Generated: build/rpmspec.nanorc
    Generated: build/ruby.nanorc
    Generated: build/sed.nanorc
    Generated: build/shell.nanorc
    Generated: build/sql.nanorc
    Generated: build/systemd.nanorc
    Generated: build/tex.nanorc
    Generated: build/vala.nanorc
    Generated: build/vi.nanorc
    Generated: build/xml.nanorc
    Generated: build/xresources.nanorc
    Generated: build/yaml.nanorc
    Generated: build/yum.nanorc
    Generated: build/ALL.nanorc
    Installed: /usr/local/share/nano/*.nanorc
    disable nginx.nanorc syntax highlighting
    done...
    


    seems to be due to the nginx.nanorc file definting curly braces {} with black text but my ssh client uses black background !

    Code (Text):
    cat /usr/local/share/nano/nginx.nanorc
    syntax "nginx" "nginx.*\.conf$" "\.nginx$"
    header "^(server|upstream)[a-z ]*\{$"
    
    color brightmagenta  "\<(events|server|http|location|upstream)[[:space:]]*\{"
    color brightblack  "(^|[[:space:]{;])(access_log|add_after_body|add_before_body|add_header|addition_types|aio|alias|allow|ancient_browser|ancient_browser_value|auth_basic|auth_basic_user_file|autoindex|autoindex_exact_size|autoindex_localtime|break|charset|charset_map|charset_types|chunked_transfer_encoding|client_body_buffer_size|client_body_in_file_only|client_body_in_single_buffer|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|connection_pool_size|create_full_put_path|daemon|dav_access|dav_methods|default_type|deny|directio|directio_alignment|disable_symlinks|empty_gif|env|error_log|error_page|expires|fastcgi_buffer_size|fastcgi_buffers|fastcgi_busy_buffers_size|fastcgi_cache|fastcgi_cache_bypass|fastcgi_cache_key|fastcgi_cache_lock|fastcgi_cache_lock_timeout|fastcgi_cache_min_uses|fastcgi_cache_path|fastcgi_cache_use_stale|fastcgi_cache_valid|fastcgi_connect_timeout|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_ignore_headers|fastcgi_index|fastcgi_intercept_errors|fastcgi_keep_conn|fastcgi_max_temp_file_size|fastcgi_next_upstream|fastcgi_no_cache|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_read_timeout|fastcgi_send_timeout|fastcgi_split_path_info|fastcgi_store|fastcgi_store_access|fastcgi_temp_file_write_size|fastcgi_temp_path|flv|geo|geoip_city|geoip_country|gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http_version|gzip_min_length|gzip_proxied|gzip_static|gzip_types|gzip_vary|if|if_modified_since|ignore_invalid_headers|image_filter|image_filter_buffer|image_filter_jpeg_quality|image_filter_sharpen|image_filter_transparency|include|index|internal|ip_hash|keepalive|keepalive_disable|keepalive_requests|keepalive_timeout|large_client_header_buffers|limit_conn|limit_conn_log_level|limit_conn_zone|limit_except|limit_rate|limit_rate_after|limit_req|limit_req_log_level|limit_req_zone|limit_zone|lingering_close|lingering_time|lingering_timeout|listen|location|log_format|log_not_found|log_subrequest|map|map_hash_bucket_size|map_hash_max_size|master_process|max_ranges|memcached_buffer_size|memcached_connect_timeout|memcached_next_upstream|memcached_pass|memcached_read_timeout|memcached_send_timeout|merge_slashes|min_delete_depth|modern_browser|modern_browser_value|mp4|mp4_buffer_size|mp4_max_buffer_size|msie_padding|msie_refresh|open_file_cache|open_file_cache_errors|open_file_cache_min_uses|open_file_cache_valid|open_log_file_cache|optimize_server_names|override_charset|pcre_jit|perl|perl_modules|perl_require|perl_set|pid|port_in_redirect|postpone_output|proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_cache|proxy_cache_bypass|proxy_cache_key|proxy_cache_lock|proxy_cache_lock_timeout|proxy_cache_min_uses|proxy_cache_path|proxy_cache_use_stale|proxy_cache_valid|proxy_connect_timeout|proxy_cookie_domain|proxy_cookie_path|proxy_hide_header|proxy_http_version|proxy_ignore_client_abort|proxy_ignore_headers|proxy_intercept_errors|proxy_max_temp_file_size|proxy_next_upstream|proxy_no_cache|proxy_pass|proxy_pass_header|proxy_read_timeout|proxy_redirect|proxy_send_timeout|proxy_set_header|proxy_ssl_session_reuse|proxy_store|proxy_store_access|proxy_temp_file_write_size|proxy_temp_path|random_index|read_ahead|real_ip_header|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver|resolver_timeout|return|rewrite|root|satisfy|satisfy_any|secure_link_secret|send_lowat|send_timeout|sendfile|sendfile_max_chunk|server|server|server_name|server_name_in_redirect|server_names_hash_bucket_size|server_names_hash_max_size|server_tokens|set|set_real_ip_from|source_charset|split_clients|ssi|ssi_silent_errors|ssi_types|ssl|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_client_certificate|ssl_crl|ssl_dhparam|ssl_engine|ssl_prefer_server_ciphers|ssl_protocols|ssl_session_cache|ssl_session_timeout|ssl_verify_client|ssl_verify_depth|sub_filter|sub_filter_once|sub_filter_types|tcp_nodelay|tcp_nopush|timer_resolution|try_files|types|types_hash_bucket_size|types_hash_max_size|underscores_in_headers|uninitialized_variable_warn|upstream|user|userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service|valid_referers|variables_hash_bucket_size|variables_hash_max_size|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|working_directory|xml_entities|xslt_stylesheet|xslt_types)([[:space:]]|$)"
    color black    "[{}]"
    color brightcyan  "\<(on|off)\>"
    color brightyellow "\$[A-Za-z][A-Za-z0-9_]*"
    color red "[*]"
    color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
    color yellow   start="'$" end="';$"
    color cyan "(^|[[:space:]])#([^{].*)?$"
    color ,green "[[:space:]]+$"
    color ,red "    + +| +  +"
    # +EXTRALINT
    


    could be problematic for other syntax highlighting so need to check

    Code (Text):
     grep -Ron 'color black' /usr/local/share/nano/
    /usr/local/share/nano/php.nanorc:7:color black
    /usr/local/share/nano/privoxy.nanorc:16:color black
    /usr/local/share/nano/python.nanorc:8:color black
    /usr/local/share/nano/vala.nanorc:5:color black
    /usr/local/share/nano/vi.nanorc:4:color black
    /usr/local/share/nano/ALL.nanorc:30:color black
    /usr/local/share/nano/ALL.nanorc:55:color black
    /usr/local/share/nano/ALL.nanorc:69:color black
    /usr/local/share/nano/ALL.nanorc:83:color black
    /usr/local/share/nano/ALL.nanorc:107:color black
    /usr/local/share/nano/ALL.nanorc:135:color black
    /usr/local/share/nano/ALL.nanorc:147:color black
    /usr/local/share/nano/ALL.nanorc:163:color black
    /usr/local/share/nano/ALL.nanorc:229:color black
    /usr/local/share/nano/ALL.nanorc:246:color black
    /usr/local/share/nano/ALL.nanorc:276:color black
    /usr/local/share/nano/ALL.nanorc:323:color black
    /usr/local/share/nano/ALL.nanorc:349:color black
    /usr/local/share/nano/ALL.nanorc:419:color black
    /usr/local/share/nano/ALL.nanorc:440:color black
    /usr/local/share/nano/ALL.nanorc:466:color black
    /usr/local/share/nano/ALL.nanorc:496:color black
    /usr/local/share/nano/ALL.nanorc:540:color black
    /usr/local/share/nano/ALL.nanorc:578:color black
    /usr/local/share/nano/ALL.nanorc:648:color black
    /usr/local/share/nano/ALL.nanorc:682:color black
    /usr/local/share/nano/ALL.nanorc:826:color black
    /usr/local/share/nano/ALL.nanorc:845:color black
    /usr/local/share/nano/c.nanorc:4:color black
    /usr/local/share/nano/cmake.nanorc:4:color black
    /usr/local/share/nano/coffeescript.nanorc:6:color black
    /usr/local/share/nano/colortest.nanorc:3:color black
    /usr/local/share/nano/csharp.nanorc:10:color black
    /usr/local/share/nano/css.nanorc:10:color black
    /usr/local/share/nano/css.nanorc:22:color black
    /usr/local/share/nano/cython.nanorc:4:color black
    /usr/local/share/nano/glsl.nanorc:4:color black
    /usr/local/share/nano/go.nanorc:4:color black
    /usr/local/share/nano/html.nanorc:10:color black
    /usr/local/share/nano/java.nanorc:10:color black
    /usr/local/share/nano/javascript.nanorc:7:color black
    /usr/local/share/nano/lisp.nanorc:5:color black
    /usr/local/share/nano/lua.nanorc:11:color black
    /usr/local/share/nano/makefile.nanorc:13:color black
    /usr/local/share/nano/markdown.nanorc:11:color black
    /usr/local/share/nano/nginx.nanorc:6:color black


    but the native nano syntax highlighting doesn't suffer from the problem as this returns empty on grepping /usr/share/nano
    Code (Text):
    grep -Ron 'color black' /usr/share/nano/
    


    like css
    Code (Text):
    grep -nC1 'color black' /usr/local/share/nano/css.nanorc
    9-color yellow   "\[[^\[]*\]"
    10:color black    start="\{" end="\}"
    11-
    --
    21-color brightwhite,red  "-(ms|moz|apple|khtml|wap|webkit|o|xv)-[a-z][a-z-]+"
    22:color black    "[:;,]"
    23-color blue   "\<(0|[\+-]?[1-9][0-9]*)"


    Looks like i missed a step GitHub - centminmod/nanorc: Improved syntax highlighting for GNU nano

     
    Last edited: Oct 25, 2016
  11. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  12. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  13. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  14. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+

    Memcached Server 1.4.33 Security Fix Release



    Updated both Centmin Mod 123.08stable and 123.09beta01 builds to default to Memcached server 1.4.33 security fix release. Once you update your local server Centmin Mod branch code via centmin.sh menu option 23 outlined below. You will need to exit centmin.sh and re-run centmin.sh again and run centmin.sh menu option 10 to update Memcached server to 1.4.33.

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

    centmin.sh menu option 10 after 123.09beta01 or 123.08stable update via centmin.sh menu option 23 submenu option 2.

    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com    
    --------------------------------------------------------
    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/Reinstall Redis PHP Extension
    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 Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 10
    --------------------------------------------------------

    check Memcached server version installed
    Code (Text):
    memcached -V
    memcached 1.4.33
    
     
    Last edited: Nov 3, 2016
  15. Derek

    Derek Member

    47
    9
    8
    Aug 5, 2016
    Ratings:
    +22
    Local Time:
    2:17 AM
    Just checking in to see when 123.09beta01 is expected to be declared stable. Looking at installed pagespeed and like what you're doing with .09, but I also like having a stable server without weird glitches. :p
     
  16. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Right now it's whenever addons/acmetool.sh end user beta testing and feedback is done.
     
  17. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  18. KeVo

    KeVo Active Member

    180
    71
    28
    May 28, 2014
    Ratings:
    +101
    Local Time:
    1:17 AM
    1.11.x
    10.1.18
    @eva2000, did you disable some extensions on the betainstaller-latest beta code? I'm looking at the centmin.sh file and it seems you have disabled php_pgo and ngx_pagespeed by default now?

    Could have swore I seen those enabled before using that beta code.
     
  19. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:17 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  20. KeVo

    KeVo Active Member

    180
    71
    28
    May 28, 2014
    Ratings:
    +101
    Local Time:
    1:17 AM
    1.11.x
    10.1.18