📒Notes
Looking for a more general SBC setup guide? Check out this guide.
Overview
To maximize your hashrate, it is very important that you select a 64-bit OS image, a quality miner and the most current compiler that you can.
OS Image
The 64-bit Ubuntu Server for Raspberry Pi3 is a good choice:
http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.3-preinstalled-server-arm64+raspi3.img.xz
You will need to write this image to an SD card with a utility such as Etcher. Once your OS is written, insert your SD Card and boot your Pi.
Once you've got it booted, you'll be asked for a username and password. These are both ubuntu
.
Once you've logged in, you'll be asked to change the password. For the current password, enter ubuntu
again. Then, enter a new password, and confirm it.
Get the Latest Compiler
You will need to edit your sources.list file and add the debian testing repository in order to install gcc-8 and g++-8 on your system:
Add this line to the end of the file:
Then save it with Ctrl-x
and then the following:
Download Compile, and Configure Your Miner
Now you need to install the required dependencies and the latest release of the xmrig miner and compile it with gcc-8.
Compiling the miner could take several minutes to complete. When your miner is ready you need to create a configuration file with your Kryptokrona settings. Navigate to your home directory and create a file named config.json.xkr.
Populate your configuration file with something similar to the code below. Make sure that url
, user
, and pass
are populated with the your own unique and proper values.
Create a separate miner start script so that you can easily start the miner and invoke the proper cofiguration file with a single command. I like to name it "minexkr".
Place the following code into the minexkr file:
Make the file executable as a script:
Now you can start the miner using the start script:
Conclusion
Happy mining and make sure to support small pools and keep Kryptokrona mining decentralized.
Last updated