# Raspberry pi, cpuminer, and Minergate

Date: 2018-01-26

I got a bunch of raspberry pis that just sits there.
So why not to let them mine some coins :-)

<!--more-->

  1. [Install raspbian](https://www.raspbian.org/)
  2. [Open minergate account](https://minergate.com)
  3. Start mining 🙂

```shell
sudo apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++ git screen
git clone https://github.com/tpruvot/cpuminer-multi
cd cpuminer-multi
./autogen.sh
./build.sh
./cpuminer --help
screen
-a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45560 -u [your_user_name]
&lt;to exit screen press ctrl+a d

```

Have fun and millions of coins
