This file is a small tutorial for developers to help them compile BLOC-GUI-Miner faster. But you still need to read the README.md file first.
- The miner source folder is
~/GUI-miner
- The libraries source folder is
~/go/src/github.com/furiousteam/BLOC-GUI-Miner/
- The xmr-stak binaries folder is
~/xmr-stak-linux-2.10.7-cpu/
- The xmrig binaries folder is
~/xmrig-3.1.0/
Notes:
- The .go files you need to change are from the miner folder
- The html, css, javascript and images files you need to change are from the libraries folder
- The
export DISPLAY=:0
is needed when the command is run over SSH - The
~/GUI-miner/bin/linux-amd64/config.json
is the GUI miner config file - The
~/GUI-miner/bin/linux-amd64/miner/config.txt
,~/GUI-miner/bin/linux-amd64/miner/cpu.txt
and~/GUI-miner/bin/linux-amd64/miner/pools.txt
are the xmr-stak config files - The
~/GUI-miner/bin/linux-amd64/miner/config.json
is the xmrig config file
clear; export DISPLAY=:0; cd ~/GUI-miner; \
make clean; make; \
mkdir ~/GUI-miner/bin/linux-amd64/miner; \
cp -r ~/xmrig-3.1.0/xmrig ~/GUI-miner/bin/linux-amd64/miner; \
cd ~/GUI-miner/bin/linux-amd64/; ./BLOC\ GUI\ Miner\ v1.1.1 -d
clear; export DISPLAY=:0; cd ~/GUI-miner; \
cp -u ~/GUI-miner/bin/linux-amd64/config.json /tmp/config.json; \
cp -u ~/GUI-miner/bin/linux-amd64/miner/config.json /tmp/config-xmrig.json; \
make clean; make; \
mkdir ~/GUI-miner/bin/linux-amd64/miner; \
cp -r ~/xmrig-3.1.0/xmrig ~/GUI-miner/bin/linux-amd64/miner; \
cp -u /tmp/config.json ~/GUI-miner/bin/linux-amd64/config.json; \
cp -u /tmp/config-xmrig.json ~/GUI-miner/bin/linux-amd64/miner/config.json; \
cd ~/GUI-miner/bin/linux-amd64/; ./BLOC\ GUI\ Miner\ v1.1.1 -d
clear; export DISPLAY=:0; \
rm -f ~/GUI-miner/bin/linux-amd64/config.json; \
rm -f ~/GUI-miner/bin/linux-amd64/miner/config.json; \
cd ~/GUI-miner/bin/linux-amd64/; ./BLOC\ GUI\ Miner\ v1.1.1 -d
clear; export DISPLAY=:0; cd ~/GUI-miner/bin/linux-amd64/; ./BLOC\ GUI\ Miner\ v1.1.1 -d
clear; export DISPLAY=:0; cd ~/GUI-miner; \
make clean; make; \
mkdir ~/GUI-miner/bin/linux-amd64/miner; \
cp -r ~/xmr-stak-linux-2.10.7-cpu/xmr-stak ~/GUI-miner/bin/linux-amd64/miner; \
cd ~/GUI-miner/bin/linux-amd64/; ./BLOC\ GUI\ Miner\ v1.1.1 -d
clear; export DISPLAY=:0; cd ~/GUI-miner; \
cp -u ~/GUI-miner/bin/linux-amd64/config.json /tmp/config.json; \
cp -u ~/GUI-miner/bin/linux-amd64/miner/config.txt /tmp/config.txt; \
cp -u ~/GUI-miner/bin/linux-amd64/miner/cpu.txt /tmp/cpu.txt; \
cp -u ~/GUI-miner/bin/linux-amd64/miner/pools.txt /tmp/pools.txt; \
make clean; make; \
mkdir ~/GUI-miner/bin/linux-amd64/miner; \
cp -r ~/xmr-stak-linux-2.10.7-cpu/xmr-stak ~/GUI-miner/bin/linux-amd64/miner; \
cp -u /tmp/config.json ~/GUI-miner/bin/linux-amd64/config.json; \
cp -u /tmp/config.txt ~/GUI-miner/bin/linux-amd64/miner/config.txt; \
cp -u /tmp/cpu.txt ~/GUI-miner/bin/linux-amd64/miner/cpu.txt; \
cp -u /tmp/pools.txt ~/GUI-miner/bin/linux-amd64/miner/pools.txt; \
cd ~/GUI-miner/bin/linux-amd64/; ./BLOC\ GUI\ Miner\ v1.1.1 -d
clear; export DISPLAY=:0; \
rm -f ~/GUI-miner/bin/linux-amd64/config.json; \
rm -f ~/GUI-miner/bin/linux-amd64/miner/config.txt; \
rm -f ~/GUI-miner/bin/linux-amd64/miner/cpu.txt; \
rm -f ~/GUI-miner/bin/linux-amd64/miner/pools.txt; \
cd ~/GUI-miner/bin/linux-amd64/; ./BLOC\ GUI\ Miner\ v1.1.1 -d
clear; export DISPLAY=:0; cd ~/GUI-miner/bin/linux-amd64/; ./BLOC\ GUI\ Miner\ v1.1.1 -d