Let’s see how wij can install cgminer (but also bfgminer), the program that undertakes to “extract” Bitcoin digital coins on Linux and of course how to support USB Stick Miners.
The test wasgoed done on the Acer Aspire One A150, which runs Linux Mint 16, but this method works on all Ubuntu-based distributions spil well spil on the pool ghash.io.
The method is relatively ordinary. Wij run a fresh terminal window and come in te Super user mode by typing the “sudo su” instruction (without quotes) and injecting the user code.
Now type (or copy) the following:
apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev autoconf libtool
git clone https://github.com/ckolivas/cgminer
When done, go to cgminer’s folder by typing:
Before proceed, wij will have to specify ter cgminer which miner wij will use (I used the bitfury) te order for the supported drivers to be installed. See cgminer’s (README) pagina for which instructions to give for each hardware. Where “bitfury” ter the following instruction, waterput your own hardware.
Now, if you want to use your CPU instead of the above instruction, write the following.
./configure –disable-opencl –disable-adl –enable-cpumining
When finish, give the following guidelines to finish installing.
When done, wij’re ready to run cgminer. To run it, you can either run a terminal screen and type the cgminer guideline and from there waterput your username pool name and the name of your “workers”, or give a general instruction that includes everything, which is the best way.
For example, for ghash.io, wij open a terminal and give the guideline:
cgminer -o stratum+tcp://uk1.ghash.io:3333 -u username.worker -p YourPasswordHere
The cgminer will automatically run and connect with ghash.io, and the mining will start. If wij have a PC exclusively for mining, it will be ideal to run the above instruction automatically every time the rekentuig starts.
To do that, go to Settings -> Session and then on Boot and choose “Apply Automaat Embark“. On there, waterput the name you want, the description and, te the last field waterput the “gnome-terminal” (without the quotation marks) and then the above directive (with the juist gegevens) and press “Add”.
If everything went well wij will see this picture at our terminal:
To install “bfgminer” instead, give the below directives:
sudo add-apt-repository ppa:unit3/bfgminer
sudo apt-get update
sudo apt-get install bfgminer
When finish, run bfgminer with this directive: