Discover Centmin Mod today
Register Now

Beta Branch prep for DNF package support for CentOS 7 in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Mar 31, 2017.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    30,613
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,304
    Local Time:
    8:50 PM
    Nginx 1.13.x
    MariaDB 5.5
    prep for DNF package support for CentOS 7 in 123.09beta01

    disabled by default via DNF_ENABLE='n' and can be enabled at initial centminmod install via persistent config file /etc/centminmod/custom_config.inc set DNF_ENABLE='y' as per instructions at https://community.centminmod.com/th...f-package-management-vs-yum.10958/#post-47089

    also has speed improvements for non-dnf default normal yum based initial centmin mod installs

    DNF usages at least 50% less memory usage compared to YUM as well.

    Continue reading...

    123.09beta01 branch
     
    Last edited: Mar 31, 2017
  2. eva2000

    eva2000 Administrator Staff Member

    30,613
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,304
    Local Time:
    8:50 PM
    Nginx 1.13.x
    MariaDB 5.5
    so to test 123.09beta01 branch with default disabled DNF_ENABLE='n'
    Code (Text):
    curl -sL https://github.com/centminmod/centminmod/raw/123.09beta01/installer.sh | bash
    

    to test 123.09beta01 branch with DNF enabled, DNF_ENABLE='y', use the command but set persistent config file before running
    Code (Text):
    mkdir -p /etc/centminmod/
    echo "DNF_ENABLE='y'" > /etc/centminmod/custom_config.inc
    curl -sL https://github.com/centminmod/centminmod/raw/123.09beta01/installer.sh | bash
    
     
  3. ethanpil

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    8:50 PM
    This should hardly be added to 09 beta? Are you trying to move towards a stable release? Why would you start adding something like this now? You have tens of thousands of users that rely on your amazing work, and making sure its stable for long term and easily manageable should be a huge priority. DNS is so far away it should be part of the next beta, in the meantime there are many other usability, filesystem and other improvements which will be more immediately useful to us.

    Not to criticize, just want to understand your thinking....
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,613
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,304
    Local Time:
    8:50 PM
    Nginx 1.13.x
    MariaDB 5.5
    It's all disabled by default with DNF_ENABLE='n' so shouldn't affect normal installs right now of 123.09beta01.

    So far I have done around 80 installs with DNF_ENABLE='y' enabled and it's pretty solid.

    It's added right now as the changes I made on 123.09beta01-dnf branch also have improved speed for non-DNF normal yum installs too (including a few bug fixes) + just so I don't go too far into development in the future that merging such changes involve a whole heap more merge conflicts to deal with when the code changes aren't so fresh on my mind further down the track (i.e. like 12+ months from now) :)

    Or just the simple fact is I'm a perfectionist so always trying to make it the best it can be :LOL:
     
    Last edited: Mar 31, 2017
    • Like Like x 1
  5. eva2000

    eva2000 Administrator Staff Member

    30,613
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,304
    Local Time:
    8:50 PM
    Nginx 1.13.x
    MariaDB 5.5
    latest DNF_ENABLE='y' install times

    install command for Centmin Mod
    Code (Text):
    mkdir -p /etc/centminmod/; echo "DNF_ENABLE='y'" > /etc/centminmod/custom_config.inc; yum -y update; curl -O https://centminmod.com/betainstaller.sh && chmod 0700 betainstaller.sh && bash betainstaller.sh
    

    Code (Text):
    ---------------------------------------------------------------------------
    Total Curl Installer YUM or DNF Time: 78.2335 seconds
    Total YUM Time: 18.348684083 seconds
    Total YUM or DNF + Source Download Time: 43.6813
    Total Nginx First Time Install Time: 50.4017
    Total PHP First Time Install Time: 146.9080
    Download Zip From Github Time: 0.8011
    Total Time Other eg. source compiles: 245.1451
    Total Centmin Mod Install Time: 486.1361
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 565.1707 seconds
    ---------------------------------------------------------------------------
    

    new sar install stats logs
    Code (Text):
    ls -lahrt /root/centminlogs/
    total 3.1M
    -rw-r--r--. 1 root root  11K Mar 31 07:48 centminmod_1.2.3-eva2000.09.004_310317-034810_yuminstall_centos7.log
    -rw-r--r--. 1 root root  13K Mar 31 07:48 centminmod_yumtimes_310317-034810.log
    -rw-r--r--. 1 root root   37 Mar 31 07:48 centminmod_profiletimes_310317-034810.log
    -rw-r--r--. 1 root root 2.2K Mar 31 07:48 cmm-login-git-checks_310317-034845.log
    -rw-r--r--. 1 root root  68K Mar 31 07:48 centminmod_downloadtimes_310317-034810.log
    -rw-r--r--. 1 root root  274 Mar 31 07:48 securedtmp.log
    -rw-r--r--. 1 root root   45 Mar 31 07:49 centminmod_libresslinstalltime_310317-034810.log
    -rw-r--r--. 1 root root    0 Mar 31 07:49 patch_patchnginx_310317-034810.log
    -rw-r--r--. 1 root root 1.9K Mar 31 07:49 gcc_native.log
    -rw-r--r--. 1 root root 1.8K Mar 31 07:49 nginx-configure-310317-034810.log
    -rw-r--r--. 1 root root 641K Mar 31 07:50 centminmod_ngxinstalltime_310317-034810.log
    -rw-r--r--. 1 root root  16K Mar 31 07:51 setio_innodbstatus-before-310317-075142.log
    -rw-r--r--. 1 root root  784 Mar 31 07:51 centminmod_setio_310317-075142.log
    -rw-r--r--. 1 root root  15K Mar 31 07:51 setio_innodbstatus-after-310317-075142.log
    -rw-r--r--. 1 root root 2.2K Mar 31 07:51 gcc_php_native.log
    -rw-r--r--. 1 root root   58 Mar 31 07:54 centminmod_phpinstalltime_310317-034810.log
    -rw-r--r--. 1 root root  387 Mar 31 07:54 zendopcache_passfile.txt
    -rw-r--r--. 1 root root 3.5K Mar 31 07:56 centminmod_1.2.3-eva2000.09.004_310317-034810_yum-log.log
    -rw-r--r--. 1 root root  125 Mar 31 07:56 install.utc.time.log
    -rw-r--r--. 1 root root  293 Mar 31 07:56 centminmod_1.2.3-eva2000.09.004_310317-075617_git_updatecur_branch.log
    -rw-r--r--. 1 root root 2.2M Mar 31 07:56 centminmod_1.2.3-eva2000.09.004_310317-034810_install.log
    dr-xr-x---. 8 root root 4.0K Mar 31 07:56 ..
    -rw-r--r--. 1 root root   18 Mar 31 07:56 getcmtime_installtime_310317-034531.log
    -rw-r--r--. 1 root root   55 Mar 31 07:56 firstyum_installtime_310317-034531.log
    -rw-r--r--. 1 root root  392 Mar 31 07:56 sar-u-installstats.log
    -rw-r--r--. 1 root root  488 Mar 31 07:56 sar-r-installstats.log
    -rw-r--r--. 1 root root  368 Mar 31 07:56 sar-q-installstats.log
    -rw-r--r--. 1 root root 1.1K Mar 31 07:56 sar-d-installstats.log
    -rw-r--r--. 1 root root  338 Mar 31 07:56 sar-b-installstats.log
    drwxr-xr-x. 2 root root 4.0K Mar 31 07:56 .
    

    Code (Text):
    cat /root/centminlogs/sar-q-installstats.log | sed -e "s|$(hostname)|hostname|"
    Linux 3.10.0-514.10.2.el7.x86_64 (hostname)     03/31/2017      _x86_64_        (8 CPU)
    
    07:46:03 AM       LINUX RESTART
    
    07:48:12 AM       LINUX RESTART
    
    07:50:01 AM   runq-sz  plist-sz   ldavg-1   ldavg-5  ldavg-15   blocked
    07:55:01 AM         1       174      4.91      3.72      1.74         0
    Average:            1       174      4.91      3.72      1.74         0

    Code (Text):
    cat /root/centminlogs/sar-r-installstats.log | sed -e "s|$(hostname)|hostname|"
    Linux 3.10.0-514.10.2.el7.x86_64 (hostname)     03/31/2017      _x86_64_        (8 CPU)
    
    07:46:03 AM       LINUX RESTART
    
    07:48:12 AM       LINUX RESTART
    
    07:50:01 AM kbmemfree kbmemused  %memused kbbuffers  kbcached  kbcommit   %commit  kbactive   kbinact   kbdirty
    07:55:01 AM  27516012   5226852     15.96     98880   4427308   1160808      3.33   1171056   3452228     27980
    Average:     27516012   5226852     15.96     98880   4427308   1160808      3.33   1171056   3452228     27980

    Code (Text):
    cat /root/centminlogs/sar-u-installstats.log | sed -e "s|$(hostname)|hostname|"
    Linux 3.10.0-514.10.2.el7.x86_64 (hostname)     03/31/2017      _x86_64_        (8 CPU)
    
    07:46:03 AM       LINUX RESTART
    
    07:48:12 AM       LINUX RESTART
    
    07:50:01 AM     CPU     %user     %nice   %system   %iowait    %steal     %idle
    07:55:01 AM     all     35.03      0.00      5.23      0.81      0.00     58.94
    Average:        all     35.03      0.00      5.23      0.81      0.00     58.94