Welcome to Centmin Mod Community
Become a Member

Install Disable axel in betainstaller.sh

Discussion in 'Install & Upgrades or Pre-Install Questions' started by jcat, Feb 27, 2019.

  1. jcat

    jcat Member

    153
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +64
    Local Time:
    11:41 PM
    How do we disable axel completely and just continue using wget, seems to be pretty consistent where a new install will complete and PHP will not be installed.


    Code:
    Download php-7.2.15.tar.gz ...
    
    axel -4 http://php.net/get/php-7.2.15.tar.gz/from/this/mirror -o php-7.2.15.tar.gz
    Initializing download: http://php.net/get/php-7.2.15.tar.gz/from/this/mirror
    Connection gone.
    
    Error: php-7.2.15.tar.gz download failed.
    Wanted to see if it persists when using wget.

    Saw this too:

    Code:
    rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm [found]
    curl: (6) Could not resolve host: apt.sw.be; Unknown error
    error: http://apt.sw.be/RPM-GPG-KEY.dag.txt: import read failed(2).
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    2:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah rpmforge mirrors are gone so can be ignored - should fix that heh

    to check with wget you can manually do
    Code (Text):
    wget http://php.net/get/php-7.2.15.tar.gz/from/this/mirror -O php-7.2.15.tar.gz
    


    but IIRC, you also modified or changed some centmin mod default files ?? just be sure you have latest 123.09beta01's files/routines in sync with yours as they may have more up to date code too
     
  3. jcat

    jcat Member

    153
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +64
    Local Time:
    11:41 PM
    Well its hit or miss, its not every install that fails to install PHP so its hard to say just by running wget manually.

    True will check that as well
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    2:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    if you're copy is in sync with 123.09beta01 official code, I whipped up a patch to add a new USEAXEL='y' variable to the code, so you can override and switch back from axel to wget (can be much slower for downloads) when USEAXEL='n' set in persistent config file /etc/centminmod/custom_config.inc

    patch https://gist.github.com/centminmod/62865d33697548bbf816c9db12f93eb4

    I tested it on one vps and changing from axel multi-threaded download to single threaded wget for php 7.2.15 tar xz file and it was much slower on slow vps 1.5 seconds with axel vs 20 seconds with wget

    FYI, just checked your forked centmin mod repo's 123.09beta01 branch and it's 1,565 commits behind the official 123.0beta01 code ! and your master branch is 989 commits behind official centmin mod master code !
     
    Last edited: Feb 27, 2019
  5. jcat

    jcat Member

    153
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +64
    Local Time:
    11:41 PM
    Thanks for that!

    I don't actually use the entire branch, I just use wpsetup.inc from it, this way I can spam enter to get through menu 22 easily :)
     
  6. jcat

    jcat Member

    153
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +64
    Local Time:
    11:41 PM
    If there is a way to get through menu 22 without using the menu itself, that would be amazing, even if it was like...

    Code:
    printf '22\ny\ny\ny\n' | /usr/local/src/centminmod/centmin.sh
    etc

    but pretty sure I've tried several different methods of that
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    2:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    there is code i have done but it's way behind latest centmin.sh menu option 22 routine's code heh. But yes there's plans to ensure all centmin.sh menu options can be run standalone from command line too centmin.sh menu option 4 can do done from nv command those already for non-wordpress vhosts https://centminmod.com/nginx_domain_dns_setup.html and nv is same command behind letsencrypt addons/acmetool.sh HTTP/2 HTTPS SSL certificated based nginx vhost creation too https://community.centminmod.com/th...for-centmin-mod-123-09beta01.8290/#post-34514
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    2:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    FYI, i commited that patch update to actual 123.09beta01 code too now :D
     
  9. jcat

    jcat Member

    153
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +64
    Local Time:
    11:41 PM
    Awesome, thank you! :)