Skip to content

Instantly share code, notes, and snippets.

@PartTimeLegend
Last active January 29, 2018 10:05
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PartTimeLegend/5170990 to your computer and use it in GitHub Desktop.
Save PartTimeLegend/5170990 to your computer and use it in GitHub Desktop.
Bitcoin Mining On Raspberry Pi

Bitcoin Mining On Raspberry Pi

This is a quick and dirty guide to Bitcoin Mining on your Raspberry Pi. It's not going to be fast or efficient and may cause damage. I'm not responsible if you break anything, kill a cat or your wife leaves you as a result of this.

The following commands are to be run via either Terminal on the Pi or via SSH. If you are looking for a Windows SSH client, I recommend PuTTY


sudo aptitude install gcc gcc-4.5 g++ g++-4.5 libstdc++6-4.5-dev libpcre3-dev libcurl3-dev make less

sudo aptitude install ia32-libs ia32-libs-gtk lib32gcc1 lib32stdc++6 lib32z1 libc6-i386

sudo mkdir bitcoind

cd bitcoind

wget http://yyz.us/bitcoin/cpuminer-1.0.2.tar.gz

sudo tar -zxvf cpuminer-1.0.2.tar.gz

cd cpuminer-1.0.2

sudo ./configure

sudo make

./minerd --url http://pit.deepbit.net:8332 --userpass antony.bailey@thepoliceoftheinter.net_raspb:pi

Licence

Copyright (c) 2013 Antony Bailey

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Donations

Thank you for considering a donation for my time. You can send me some Bitcoin to 1Ect1J4BETE98SBt9vd4pddsMdYQqyp6jj.

@DaybreakX
Copy link

Is the userpass for the individual worker, or for the acc?

@PartTimeLegend
Copy link
Author

@DaybreakX that depends on your pool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment