Learn about Centmin Mod LEMP Stack today
Become a Member

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

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Also when you log into your Centmin Mod 123.09beta01 server, the MOTD info display will tell you if you have Centmin Mod code updates available i.e.
    Code (Text):
    ===============================================================================
     Centmin Mod code updates available for /usr/local/src/centminmod
     to update re-run centmin.sh menu option 23 submenu option 2
    ===============================================================================
    

    or when up to date
    Code (Text):
    ===============================================================================
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    ===============================================================================
    

     
  2. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  3. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Updated Centmin Mod 123.09beta01 main hostname default nginx index.html page and default nginx vhost index.html place holder pages to add a disclaimer for visitors.
    The disclaimer reads as follows:
    This was added as some visitors visiting sites which are powered by Centmin Mod LEMP stack are hitting these pages and confusing site ownership thinking that the sites are run by Centmin Mod when they are in fact run by users who downloaded and installed Centmin Mod to power their web sites.
     
  4. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  5. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  6. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  7. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Updated Centmin Mod 123.09beta01 to add nginx build date timestamp to nginx -V outputs for easier tracking of when nginx was built
     
    • Like Like x 1
    • Winner Winner x 1
  8. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  9. gabel

    gabel Premium Member Premium Member

    32
    17
    8
    Jan 7, 2016
    Ratings:
    +28
    Local Time:
    8:08 PM
    1.9.9
    MariaDB 10
    HostUS.us US/EU Special 3 (2GB)

    2GB RAM
    2GB vSwap
    4 vCPU Cores (Fair Share)
    75GB Disk Space
    2TB Bandwidth
    1Gbps Port (Fair Share)

    Code:
    yum -y update; curl -O https://centminmod.com/betainstaller71.sh && chmod 0700 betainstaller71.sh && bash betainstaller71.sh
    
    
    ---------------------------------------------------------------------------
    Total Curl Installer YUM or DNF Time: 100.7475 seconds
    Total YUM Time: 7.396456711 seconds
    Total YUM or DNF + Source Download Time: 39.4639
    Total Nginx First Time Install Time: 187.5585
    Total PHP First Time Install Time: 154.8600
    Download Zip From Github Time: 7.8869
    Total Time Other eg. source compiles: 240.1004
    Total Centmin Mod Install Time: 621.9827
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 730.6171 seconds
    ---------------------------------------------------------------------------
    4 Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz
    4 3599.724
    ---------------------------------------------------------------------------
    
     
  10. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  11. gabel

    gabel Premium Member Premium Member

    32
    17
    8
    Jan 7, 2016
    Ratings:
    +28
    Local Time:
    8:08 PM
    1.9.9
    MariaDB 10
    ah sorry can you move it there ? had to many pages opened at the time o_O
     
    • Like Like x 1
  12. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Last edited: Jul 8, 2018
  13. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Updated 123.09beta01 for additional installer logging outlined at Install - How to troubleshoot Centmin Mod initial install issues including a new minimal installer log version
    Code (Text):
    ls -lah /root/centminlogs/installer*
    -rw-r--r-- 1 root root 4.3M Jul 12 09:06 /root/centminlogs/installer_120718-083445.log
    -rw-r--r-- 1 root root 826K Jul 12 09:06 /root/centminlogs/installer_120718-083445_minimal.log
    
     
  14. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  15. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    FYI, latest 123.09beta01 updates are related to how Nginx server is compiled for Nginx using pcre and cloudflare zlib libraries. You will experience these changes the next time you run cmupdate to update 123.09beta01 code + centmin.sh menu option 4 to recompile/update Nginx. The changes include:
    These changes are to allow better compatibility with Nginx + BoringSSL crypto library support (as alternatives to LibreSSL and OpenSSL crypto library usage for Nginx) Beta Branch - fix set-misc & nginx stream module incompatibility with boringssl

    Latest Centmin Mod 123.09beta01's Nginx now supports BoringSSL crypto library along with LibreSSL and OpenSSL
     
  16. rdan

    rdan Premium Member Premium Member

    4,369
    1,053
    113
    May 25, 2014
    Ratings:
    +1,524
    Local Time:
    4:08 AM
    Mainline
    10.2
  17. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    A separate thread is more appropriate for that discussion SSL - BoringSSL vs OpenSSL
     
    • Like Like x 1
  18. Tracy Perry

    Tracy Perry Active Member

    213
    87
    28
    Aug 24, 2014
    Texas
    Ratings:
    +145
    Local Time:
    2:08 PM
    1.11.5
    MariaDB 10.0.28
    Possible bug in the code? I have this listed 192 times in the nginx.conf file (the X-Powered-By: centminmod).

    Screen Shot 2018-08-23 at 2.29.57 PM.png

    I just happened to be looking through trying to find where the code locks you into your base_dir so you cannot access any directories outside your root (still haven't found that" and came across this @eva2000.
     
  19. eva2000

    eva2000 Administrator Staff Member

    36,919
    8,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,438
    Local Time:
    6:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    without the duplicates how does that section of nginx.conf outlined here centminmod/centminmod look like ?

    This is default in 123.09beta01
    Code (Text):
    # sets Centmin Mod headers via headers more nginx module
    # https://github.com/openresty/headers-more-nginx-module
    # don't remove the first 2 lines as centmin mod checks to see if they're
    # missing and re-adds them anyway. Just uncomment the 3rd & 4th lines
    # which is used to override the Server header to what you want = nginx
    # and remove the X-Powered-By header + restart nginx service
    # do not disable headers more nginx module itself as it's required for
    # other centmin mod features like redis nginx level caching & letsencrypt
    # integration in vhosts created by addons/acmetool.sh
    more_set_headers "Server: nginx centminmod";
    more_set_headers "X-Powered-By: centminmod";
    #more_set_headers "Server: nginx";
    #more_clear_headers "X-Powered-By";
    

    As instructed if modifying, don't remove the first 2 lines as centmin mod checks to see if they're missing and re-adds them anyway. Just uncomment the 3rd & 4th lines which is used to override the Server header to what you want.

    So just change it to override the default and set your server name in 3 line and 4th line will clear X-Powered-By
    Code (Text):
    more_set_headers "Server: nginx centminmod";
    more_set_headers "X-Powered-By: centminmod"; 
    more_set_headers "Server: nginx";
    more_clear_headers "X-Powered-By";
    
     
  20. Tracy Perry

    Tracy Perry Active Member

    213
    87
    28
    Aug 24, 2014
    Texas
    Ratings:
    +145
    Local Time:
    2:08 PM
    1.11.5
    MariaDB 10.0.28
    That may have been what it was, as the first line was
    Code:
    more_set_headers "Server: nginx";
    That warning wasn't present in the nginx.conf I had in place apparently.
    I've deleted most of the other lines and set the first 2 as set above so will see what she does. Thanks!
     
    Last edited: Aug 24, 2018
..