Learn about Centmin Mod LEMP Stack today
Become a Member

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

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

  1. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    11:22 AM
    1.11
    10.2
    I can't make this work :(
    ngx_pagespeed is still being installed.
    Maybe something is caching the centmin codes?
     
  2. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    11:22 AM
    1.11
    10.2
    Haha, my bad :D
    Sorry, I see my fault now :D
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    1:22 PM
    Nginx 1.13.x
    MariaDB 5.5
    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

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    1:22 PM
    Nginx 1.13.x
    MariaDB 5.5
    ? :)
     
  5. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    11:22 AM
    1.11
    10.2
    I have enable ngx_pagespeed at the bottom og my file :D
    Fine now.
     
  6. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    11:22 AM
    1.11
    10.2
    I have, NGINX_STREAM=n.
    But look at my recent install..
    --with-threads is still installed.
     
  7. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    1:22 PM
    Nginx 1.13.x
    MariaDB 5.5
    --threads is different and not part of stream - it's to support multithreaded aio pool

    lol :)
     
  8. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    11:22 AM
    1.11
    10.2
    Lack of sleep :D
    Yeah it's totally different :D
     
  9. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    11:22 AM
    1.11
    10.2
    ENABLEMOTD='n'
    Is still being ignored?
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    1:22 PM
    Nginx 1.13.x
    MariaDB 5.5
    that only applies to inc/motd.inc editing not centmin.sh so doesn't work with persistent config file
     
  11. Mask

    Mask Active Member

    104
    29
    28
    Nov 10, 2014
    Ratings:
    +35
    Local Time:
    8:22 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

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    1:22 PM
    Nginx 1.13.x
    MariaDB 5.5
    has changed in 123.09beta01 as you no longer can fully disable motd only some aspects https://community.centminmod.com/posts/36283/