Want to subscribe to topics you're interested in?
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

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

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:40 PM
    Nginx 1.13.x
    MariaDB 5.5
    From Centmin Mod 2016 survey Centmin Mod Survey 2016 | Centmin Mod Community approximately 55% of users use ngx_pagespeed module. So was thinking should Centmin Mod out of box disable ngx_pagespeed and lua nginx modules and just let users who want it, re-enable it ?

    It's tricky as a 55% use vs 45% do not use, so both have sizable user base
     
    Last edited: Feb 12, 2016
    • Like Like x 1
  3. pamamolf

    pamamolf Well-Known Member

    2,670
    240
    63
    May 31, 2014
    Ratings:
    +425
    Local Time:
    12:40 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    yes :)
     
  4. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    11:40 AM
    1.9.12
    10.0.23
    In generel - Should you not just disable allmost everything - and then let people activate what they need?
     
    • Agree Agree x 1
  5. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:40 PM
    Nginx 1.13.x
    MariaDB 5.5
    problem is folks might start using centmin mod, think such features are available out of the box and find it too much trouble to re-enable when they are new to centmin mod and just give up heh

    and majority of centmin mod users don't register on forums so don't ask questions etc or know what to do heh
     
    • Agree Agree x 1
  6. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    11:40 AM
    1.9.12
    10.0.23
    Okay - I agree on that ..
     
  7. RoldanLT

    RoldanLT Well-Known Member

    3,875
    946
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,290
    Local Time:
    5:40 PM
    1.11
    10.2
    Yes (y)
     
    • Agree Agree x 1
  8. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:40 PM
    Nginx 1.13.x
    MariaDB 5.5
    Yeah still on the fence myself as to which heh - might create a separate installer.sh like installer-ps.sh that enables ngx_pagespeed out of box like the php 5.6 and 7.0 installers for curl.

    Also with reworked centmin.sh menu option 23 outlined at Beta Branch - Reworking centmin.sh menu option 23 for better efficiency & performance | Centmin Mod Community might change installer.sh curl to use git cloned source files instead of the wget github zip download for centmin mod. This means Centmin Mod fresh install would be setup for git environment out of the box with no need to run centmin.sh menu option 23 submenu option 1. And with auto git update if enabled by end user in centmin.sh Beta Branch - add AUTO_GITUPDATE variable support 123.09beta01 | Centmin Mod Community they can update their centmin mod code at /usr/local/src/centminmod everytime they run centmin.sh
     
    • Like Like x 2
  9. KeVo

    KeVo Active Member

    179
    70
    28
    May 28, 2014
    Ratings:
    +100
    Local Time:
    4:40 AM
    1.11.x
    10.1.18
    Does the method below have ngx_pagespeed install disabled by default now? If so, that is super fine by me. :D

    Code:
    curl -O https://centminmod.com/betainstaller7.sh && chmod 0700 betainstaller7.sh && bash betainstaller7.sh
    
     
  10. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:40 PM
    Nginx 1.13.x
    MariaDB 5.5
    Yes all installers currently do really do lean towards them being disabled by default
     
    • Like Like x 1
  11. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:40 PM
    Nginx 1.13.x
    MariaDB 5.5
    Okay next up is changing motd banner on first log in from
    Code:
    ################################################################
    # ! This server maybe running CSF Firewall !
    #   DO NOT run the below command or you
    #   will lock yourself out of the server:
    #
    #   iptables -F
    #
    ################################################################
    # This message was setup by Centmin Mod
    # * Getting Started Guide - http://centminmod.com/getstarted.html
    # * Latest Centmin Mod version - http://centminmod.com    
    # * Centmin Mod FAQ - http://centminmod.com/faq.html
    # * Change Log - http://centminmod.com/changelog.html
    # * Google+ Page latest news http://centminmod.com/gpage
    # * Google+ Community Forum http://centminmod.com/gcom
    # * Centmin Mod Twitter https://twitter.com/centminmod
    ###############################################################
    # Cheap VPS Hosting at Digitalocean
    # https://www.digitalocean.com/?refcode=c1cb367108e8
    ###############################################################
    # recommend to keep the above lines and remove and
    # add your own messages below this point
    ###############################################################
    # To edit this message,
    # 1). edit /etc/motd
    # 2). edit inc/motd.inc and set to no ENABLEMOTD='n'
    ###############################################################
    to something like this

    Code:
    =================================================================================
    - Hostname........: centos7.localdomain
    - Release.........: CentOS Linux release 7.2.1511 (Core)
    - Users...........: Currently 2 user(s) logged on
    =================================================================================
    - Current user....: root
    - CPU usage.......: 0.00, 0.01, 0.05 (1, 5, 15 min)
    - Processes.......: 119 running
    - System uptime...: 0 days 1 hours 51 minutes 11 seconds
    =================================================================================
                  total        used        free      shared  buff/cache   available
    Mem:           1839         102        1371           8         366        1591
    Swap:          1535           0        1535
    =================================================================================
    Filesystem              Type      Size  Used Avail Use% Mounted on
    /dev/mapper/centos-root xfs        13G  1.6G   12G  13% /
    devtmpfs                devtmpfs  911M     0  911M   0% /dev
    tmpfs                   tmpfs     920M     0  920M   0% /dev/shm
    tmpfs                   tmpfs     920M  8.4M  912M   1% /run
    tmpfs                   tmpfs     920M     0  920M   0% /sys/fs/cgroup
    /dev/sda1               xfs       497M  194M  303M  39% /boot
    tmpfs                   tmpfs     184M     0  184M   0% /run/user/0
    =================================================================================
    ! This server maybe running CSF Firewall !
      DO NOT run the below command or you  will lock yourself out of the server: 
    
      iptables -F
    
    =================================================================================
    This message was setup by Centmin Mod
    * Getting Started Guide - http://centminmod.com/getstarted.html
    * Latest Centmin Mod version - http://centminmod.com     
    * Centmin Mod FAQ - http://centminmod.com/faq.html
    * Change Log - http://centminmod.com/changelog.html
    * Community Forums https://community.centminmod.com
    * Centmin Mod Twitter https://twitter.com/centminmod
    =================================================================================
     
    Last edited: Feb 13, 2016
    • Like Like x 3
    • Informative Informative x 1
    • Creative Creative x 1
  12. KeVo

    KeVo Active Member

    179
    70
    28
    May 28, 2014
    Ratings:
    +100
    Local Time:
    4:40 AM
    1.11.x
    10.1.18
    That also looks cleaner, in my opinion. :)
     
    • Like Like x 1
  13. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:40 PM
    Nginx 1.13.x
    MariaDB 5.5
    Yeah tidied it up a bit
    Code:
    =================================================================================
    - Hostname......: centos7.localdomain on CentOS Linux 7.2.1511
    - Users.........: Currently 2 user(s) logged on (includes: root)
    =================================================================================
    - CPU usage.....: 0.00, 0.01, 0.05 (1, 5, 15 min)
    - Processes.....: 118 running
    - System uptime.: 0 days 2 hours 9 minutes 1 seconds
    =================================================================================
                  total        used        free      shared  buff/cache   available
    Mem:           1839         102        1371           8         366        1591
    Swap:          1535           0        1535
    =================================================================================
    Filesystem              Type      Size  Used Avail Use% Mounted on
    /dev/mapper/centos-root xfs        13G  1.6G   12G  13% /
    devtmpfs                devtmpfs  911M     0  911M   0% /dev
    tmpfs                   tmpfs     920M     0  920M   0% /dev/shm
    tmpfs                   tmpfs     920M  8.4M  912M   1% /run
    tmpfs                   tmpfs     920M     0  920M   0% /sys/fs/cgroup
    /dev/sda1               xfs       497M  194M  303M  39% /boot
    tmpfs                   tmpfs     184M     0  184M   0% /run/user/0
    =================================================================================
    ! This server maybe running CSF Firewall !
      DO NOT run the below command or you  will lock yourself out of the server:
    
      iptables -F
    
    =================================================================================
    * Getting Started Guide - http://centminmod.com/getstarted.html
    * Centmin Mod FAQ - http://centminmod.com/faq.html
    * Change Log - http://centminmod.com/changelog.html
    * Community Forums https://community.centminmod.com  [ << Register ]
    =================================================================================
     
    • Like Like x 2
  14. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:40 PM
    Nginx 1.13.x
    MariaDB 5.5
    Hmm if i can wait it out to Feb 25th (another 12+ days), maybe MariaDB 10.1.12 can be default for Centmin Mod 123.09stable ?

    upload_2016-2-13_10-46-15.png
     
    • Agree Agree x 5
    • Winner Winner x 1
  15. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:40 PM
    Nginx 1.13.x
    MariaDB 5.5
    hmm re-introduced a bug at end of install, need to figure out which line 243 it refers to heh
    Code:
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 138.3308 seconds
    Total YUM Time: 120.846344437 seconds
    Total YUM + Source Download Time: 164.9263
    Total Nginx First Time Install Time: 161.6985
    Total PHP First Time Install Time: 351.8916
    Download Zip From Github Time: 11.5527
    Total Time Other eg. source compiles: 480.2395
    Total Centmin Mod Install Time: 1158.7559
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 1308.6394 seconds
    ---------------------------------------------------------------------------
    bash: line 243: syntax error near unexpected token `fi'
    bash: line 243: `fi'
    look what vesion of MariaDB is default now ;) @Matt @RoldanLT :D

    Code:
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-devel-10.1.11-1.el7.centos.x86_64
    MariaDB-common-10.1.11-1.el7.centos.x86_64
    MariaDB-server-10.1.11-1.el7.centos.x86_64
    MariaDB-compat-10.1.11-1.el7.centos.x86_64
    MariaDB-client-10.1.11-1.el7.centos.x86_64
    MariaDB-shared-10.1.11-1.el7.centos.x86_64
    Code:
    mysqladmin ver
    mysqladmin  Ver 9.1 Distrib 10.1.11-MariaDB, for Linux on x86_64
    Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.
    
    Server version          10.1.11-MariaDB
    Protocol version        10
    Connection              Localhost via UNIX socket
    UNIX socket             /var/lib/mysql/mysql.sock
    Uptime:                 1 min 58 sec
    
    Threads: 1  Questions: 14  Slow queries: 0  Opens: 1  Flush tables: 1  Open tables: 12  Queries per second avg: 0.118
     
    • Like Like x 2
    • Winner Winner x 2
  16. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:40 PM
    Nginx 1.13.x
    MariaDB 5.5
    Also looking at default PHP version for centmin mod 123.09beta01. From Centmin Mod Survey 2016 | Centmin Mod Community so far the breakdown is:
    • PHP 5.6 = 39%
    • PHP 7.0 = 33%
    • PHP 5.4 = 13%
    • PHP 5.5 = 11%
    • Not Sure = 4%
    So maybe instead of PHP 5.5 default, switch to PHP 5.6 default

    edit: just updated 123.09beta01 to default to PHP 5.6 branch now :D
     
    • Agree Agree x 3
  17. RoldanLT

    RoldanLT Well-Known Member

    3,875
    946
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,290
    Local Time:
    5:40 PM
    1.11
    10.2
    Should be :).
     
  18. eva2000

    eva2000 Administrator Staff Member

    29,720
    6,711
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,015
    Local Time:
    7:40 PM
    Nginx 1.13.x
    MariaDB 5.5
    trying to figure out which file line 243 is related to
    Code:
    for f in $(find /usr/local/src/centminmod/ -type f); do sed -n '243p' $f | grep --color 'fi' && echo $f; done        
            fi
    /usr/local/src/centminmod/addons/customcurl.sh
        fi
    /usr/local/src/centminmod/inc/downloads.inc
    fi
    /usr/local/src/centminmod/inc/mainmenu.inc
            fi
    /usr/local/src/centminmod/inc/memcached_install.inc
     
  19. Jimmy

    Jimmy Premium Member Premium Member

    1,081
    242
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +579
    Local Time:
    5:40 AM
    1.13.x
    MariaDB 10.1.x
    Just an FYI. Just upgraded PHP on beta01 and at the end it has the graphic Nginx Upgraded. :cautious:
     
  20. eva2000

    eva2000 Administrator Staff Member

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