Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch Persistent custom centmin.sh options file custom_config.inc ?

Discussion in 'Beta release code' started by rdan, Jun 16, 2015.

  1. rdan

    rdan Premium Member Premium Member

    4,420
    1,059
    113
    May 25, 2014
    Ratings:
    +1,543
    Local Time:
    9:19 AM
    Mainline
    10.2
    I can't make this work :(
    ngx_pagespeed is still being installed.
    Maybe something is caching the centmin codes?
     
  2. rdan

    rdan Premium Member Premium Member

    4,420
    1,059
    113
    May 25, 2014
    Ratings:
    +1,543
    Local Time:
    9:19 AM
    Mainline
    10.2
    Haha, my bad :D
    Sorry, I see my fault now :D
     
  3. eva2000

    eva2000 Administrator Staff Member

    37,307
    8,152
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,548
    Local Time:
    11:19 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    for CentOS 7 Beta Branch - add persistent custom centmin.sh options file support at inc/custom_config.inc | Centmin Mod Community

    worked for me

    created /etc/centminmod/custom_config.inc file

    added
    Code:
    NGINX_STREAM=n               # http://nginx.org/en/docs/stream/ngx_stream_core_module.html
    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_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
    recompiled nginx via centmin.sh option 24 - you'd want to exit centmin.sh and re-run if centmin.sh was running when you created /etc/centminmod/custom_config.inc

    Code:
    for m in $(nginx -V 2>&1 | grep configure); do echo $m; done
    configure
    arguments:
    --with-ld-opt='-lrt
    -ljemalloc
    -Wl,-z,relro'
    --with-cc-opt='-m64
    -mtune=native
    -g
    -O2
    -fstack-protector
    --param=ssp-buffer-size=4
    -Wformat
    -Werror=format-security
    -Wp,-D_FORTIFY_SOURCE=2
    -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'
    --sbin-path=/usr/local/sbin/nginx
    --conf-path=/usr/local/nginx/conf/nginx.conf
    --with-http_ssl_module
    --with-http_gzip_static_module
    --with-http_stub_status_module
    --with-http_sub_module
    --with-http_addition_module
    --with-http_image_filter_module
    --with-http_realip_module
    --with-http_geoip_module
    --with-openssl-opt=enable-tlsext
    --add-module=../ngx_cache_purge-2.3
    --add-module=../nginx-accesskey-2.0.3
    --add-module=../nginx-http-concat-master
    --add-module=../headers-more-nginx-module-0.25
    --with-openssl=../portable-2.2.0
    --with-libatomic
    --with-threads
    --with-pcre=../pcre-8.37
    --with-pcre-jit
    --with-http_spdy_module
     
  4. eva2000

    eva2000 Administrator Staff Member

    37,307
    8,152
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,548
    Local Time:
    11:19 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    ? :)
     
  5. rdan

    rdan Premium Member Premium Member

    4,420
    1,059
    113
    May 25, 2014
    Ratings:
    +1,543
    Local Time:
    9:19 AM
    Mainline
    10.2
    I have enable ngx_pagespeed at the bottom og my file :D
    Fine now.
     
  6. rdan

    rdan Premium Member Premium Member

    4,420
    1,059
    113
    May 25, 2014
    Ratings:
    +1,543
    Local Time:
    9:19 AM
    Mainline
    10.2
    I have, NGINX_STREAM=n.
    But look at my recent install..
    --with-threads is still installed.
     
  7. eva2000

    eva2000 Administrator Staff Member

    37,307
    8,152
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,548
    Local Time:
    11:19 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    --threads is different and not part of stream - it's to support multithreaded aio pool

    lol :)
     
  8. rdan

    rdan Premium Member Premium Member

    4,420
    1,059
    113
    May 25, 2014
    Ratings:
    +1,543
    Local Time:
    9:19 AM
    Mainline
    10.2
    Lack of sleep :D
    Yeah it's totally different :D
     
  9. rdan

    rdan Premium Member Premium Member

    4,420
    1,059
    113
    May 25, 2014
    Ratings:
    +1,543
    Local Time:
    9:19 AM
    Mainline
    10.2
    ENABLEMOTD='n'
    Is still being ignored?
     
  10. eva2000

    eva2000 Administrator Staff Member

    37,307
    8,152
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,548
    Local Time:
    11:19 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    that only applies to inc/motd.inc editing not centmin.sh so doesn't work with persistent config file
     
  11. Mask

    Mask Active Member

    107
    31
    28
    Nov 10, 2014
    Ratings:
    +37
    Local Time:
    6:19 AM
    Nginx 1.9.1
    MariaDB 10.0.19
    Isn't this supposed to disable the "welcome" message on each login?
    With v08, it was working fine. Can't seem to disable that with v09.
     
  12. eva2000

    eva2000 Administrator Staff Member

    37,307
    8,152
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,548
    Local Time:
    11:19 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    has changed in 123.09beta01 as you no longer can fully disable motd only some aspects https://community.centminmod.com/posts/36283/
     
..