Skip to content

Instantly share code, notes, and snippets.

@jakl
Created September 11, 2013 02:51
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jakl/6518783 to your computer and use it in GitHub Desktop.
Save jakl/6518783 to your computer and use it in GitHub Desktop.
Bitcoin Mining in Ubuntu

Bitcoin Mining in Ubuntu

Get a Wallet

Coinbase has the best wallets around! Please use this link cause I get $5 referal bonus.

Locate a mine

A coal miner isn't any good without a coal mine.

Go to the mine list and pick one nearby.

It needs to be BTC, cause we're mining bit coins, none of this other jank.

You'll want to copy the URL, for instance http://disco.cn.mu:9332/ is working like a charm.

Employ a Miner

Download the latest cg miner : the name will end in -x86_64-built.tar.bz2

...extract it into your workspace and run it. For instance:

cd workspace
mkdir my_btc_miner  # btc stands for bitcoins, like USD is dollars
cd my_btc_miner

# Replace this example url with the latest one
wget http://ck.kolivas.org/apps/cgminer/cgminer-3.4.2-x86_64-built.tar.bz2

bunzip2 cgminer<tab>
tar xf cgminer<tab>
cd cgminer<tab>
DISPLAY=:0 ./cgminer --user <Your Coinbase Wallet ID> --pass anonymous --intensity 9 --url <Website from the mine list>

pass can be anything, but it can't be blank

intensity of 9 is better than the default 4; like WD40 for your pickaxe.

user is a wallet id, mine is 1K98nc5EYGMLhdCKEaqhUhZkzKvZvabq4X and if you use it I'll pay you back

DISPLAY=:0 might not even be needed, I just saw it recommended several places

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