https://github.com/shaglama/setupminergate
Set up minergate cli on ubuntu systems
https://github.com/shaglama/setupminergate
bash command minergate mining shell-script ubuntu
Last synced: 3 months ago
JSON representation
Set up minergate cli on ubuntu systems
- Host: GitHub
- URL: https://github.com/shaglama/setupminergate
- Owner: shaglama
- Created: 2017-05-19T00:04:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-19T01:02:07.000Z (about 9 years ago)
- Last Synced: 2023-03-02T01:16:30.509Z (over 3 years ago)
- Topics: bash, command, minergate, mining, shell-script, ubuntu
- Language: Shell
- Size: 5.86 KB
- Stars: 5
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# setUpMinergate
Set up minergate cli miner on ubuntu systems. tested on 16.04. may work on others.
**********************************************************************************************
to use, download setUpMinergate.sh, then run. i.e. :
in terminal :
wget https://github.com/shaglama/setUpMinergate/raw/master/setUpMinergate.sh
chmod +x setUpMinergate.sh
./setUpMinergate.sh
Anser the questions and pick your coin and the script will set up everything for you. It will configure the miner to start at boot and will check every so often to make sure the miner is still running and restart it if it isn't. The script starts the miner in the background in screen. To access the miner display, open terminal and type:
screen -s minergate
***********************************************************************************************
To kill miner:
with miner display open:
hold control and press a
press k
press y
note: miner will automatically restart. To disable automatic restart, comment out a line similar to this line in /etc/rc.local by placing a # at the beginning of the line :
*/4 * * * * root sh $MINERGATEDIR/autoStartMinergate.sh" > /etc/cron.d/updateMinergate
options for automatic enable and disable of autostart planned for future release of script
***********************************************************************************************
To uninstall miner:
in terminal:
rm /etc/cron.d/updateMinergate
sed '/autoStartMinergate/d' /etc/rc.local
enter home directory of user chosen during install
find minergate directory
delete the directory
ie:
rm -r /home/user/minergate
a seperate automated uninstall option is planned for the next version of the script