cynixx3 / third-party-miner-installer-for-ethos

Single command Instructions to fully integrate unsupported miners into ethOS ethosdistro, and examples for miner developers to add their own integrations. Over 30 new or updated miners.
78 stars 29 forks source link

miner-manager missing t-rex install #82

Closed xgiral-metacodi closed 3 years ago

xgiral-metacodi commented 3 years ago

t-rex i missing on this package?

bash <(curl -s https://raw.githubusercontent.com/cynixx3/third-party-miner-installer-for-ethos/master/miner-manager) t-rex install
Thu May  6 21:14:03 CEST 2021
/dev/fd/63: line 42: [: : integer expression expected
Move to a temporary work space
Getting latest release of miner
Download failed. Please check your firewall or git access and try again.

Problem

t-rex is missing on list of url get miners to install: https://api.github.com/repos/cynixx3/third-party-miner-installer-for-ethos/releases?per_page=100

My solution

Download miner-manager

wget -O /home/ethos/miner-manager.sh https://raw.githubusercontent.com/cynixx3/third-party-miner-installer-for-ethos/master/miner-manager

Edit miner-manager.sh:

nano miner-manager.sh

Go to line 75 and add this line:

 DOWNLOAD_URL="https://trex-miner.com/download/t-rex-0.20.3-linux.tar.gz"
 COMPRESSION=$(echo "$DOWNLOAD_URL" | grep -oP 't[argxb.]{1,4}z2?$')

You can find lastest url binaries on https://bitcointalk.org/index.php?topic=4432704.msg39576609#msg39576609

Set permissions to this file:

chmod +x miner-manager.sh

Install t-rex

bash miner-manager.sh t-rex install
cynixx3 commented 3 years ago

miner.settings is a better place to update the url