Cpu Mining With SRBMiner for Arrr on Linux
This guide is based off of the CPU Mining Guide on pirate.black and intended for linux.
If you are on windows please use this guide
This guide will use the bash commandline but if you use another or want to use the GUI you should still be able to follow along
Getting started
The first thing we need is a location to download the miner to so I am going to use /mining/srb
so lets create that now
sudo mkdir /mining
sudo mkdir /mining/srb
sudo chown -R username:username /mining
cd /mining/srb
Then we will need to download of the latest version of SRB Miner which you can find here on their github
so lets download this and unzip it to a safe location you can recall in the future. Replace the download url with whatever is the latest version.
curl -LJO https://github.com/doktor83/SRBMiner-Multi/releases/download/0.7.6/SRBMiner-Multi-0-7-6-Linux.tar.xz
Now lets un-archive our download
tar --strip-components=1 -xf SRBMiner-Multi-0-7-6-Linux.tar.xz
Alright we now should have our mining files.
This next step is optional however you may wish to cleanup the example scripts so they don’t clutter the folder
rm start-mining*
Lets also cleanup the downloaded archive
rm SRBMiner-Multi-0-7-6-Linux.tar.xz
Alright our last step is to generate the script we will use to run our miner. Enter the following commands in order replacing the text after WALLET=
with your arrr wallet address (A valid address is shown. Don’t worry the only thing anyone can do with this address is send arrr so don’t worry about sharing it)
Also replace the text after ID=
to any name you wish to give your miner
WALLET=zs1tyvxamrlc7727vgz66e2s78z5vr9q4juqs80cfmdhncdyqryzsqtan4frmatstel8lvry3wkzun
ID=Worker1
echo -e '#!'"/bin/sh\nreset\n\n./SRBMiner-MULTI --disable-gpu --algorithm rx2 --pool stratum+tcp://rx2.na.mine.zergpool.com:8335 --wallet $WALLET --password c=ARRR,mc=LUX,id=$ID --cpu-threads 0 --log-file ./log.txt --cpu-threads-priority 1" > start.sh
chmod +x start.sh
Congrats you should now be setup and able to mine some LUX using rx2 on SRBMiner and getting paid out in ARRR.
To run the miner just use the following command.
Make sure to use sudo to start so the miner can enable huge pages
for a slightly better hashing rate
sudo ./mining/srb/start.sh
to quit just hit ctrl + c
and the miner will begin to stop its threads
To view your stats on the pool visit the following url and add your address to the end of it https://zergpool.com/?address=replacemewithyoureaddress
Notes
This config is setup to run the miner in low priority mode so that you can still use your computer for other tasks while mining