Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Local miners

Michele Marcucci edited this page Apr 6, 2015 · 1 revision

## Built-in miners

You can handle your miner binaries yourself, if you want to build a new version or downgrade to a previous one you can use the build script.

Minera has 4 built-in miners:

  • CPUminer fork
  • Bfgminer
  • Cgminer
  • Cgminer Dmaxl fork

The build script is in the Minera's root /var/www/minera/build_script.sh, using it is really simple:

cd /var/www/minera
./build_miner.sh [miner-name | all | or empty for usage]

Every miner will be built with standard configure options you can read and change at the top of the file, for example you could change the CGminer config changing this line to what you need:

CGMINER_CONFIG="--enable-avalon2 --enable-bflsc --enable-bitforce --enable-bitfury --enable-drillbit --enable-hashfast --enable-icarus --enable-klondike --enable-modminer"

Custom miners

Minera can support custom binaries too, to build yours just follow the instruction from the miner software author, compile the binary and sudo make install it (this will install the needed library into the system). When you are ready you can copy the compiled binary into the directory /var/www/minera/minera-bin/custom/ Refresh the settings page and you'll find the new custom miner available to be used.