Crypto Mining on Ubuntu!!!!

in #ubuntu7 years ago

I always see people looking for ways to compile and install mining programs on Ubuntu for cloud computing (VMs).

So here is a list of ones I have found....

tpruvot/cpuminer-multi (Mine just about any algo)

Note for Debian/Ubuntu users:

apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++

Basic *nix build instructions:

just use ./build.sh OR

./autogen.sh # only needed if building from git repo
./nomacro.pl # only needed if building on Mac OS X or with Clang
./configure CFLAGS="-march=native" --with-crypto --with-curl

Use -march=native if building for a single machine

make

I personally just use ./build.sh and then make, but each to there own.

Cpuminer Darkcoin/Dash

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y git curl unzip gedit automake autoconf dh-autoreconf build-essential pkg-config openssh-server screen libtool libcurl4-openssl-dev libtool libncurses5-dev libudev-dev

cd ~
git clone https://github.com/elmad/darkcoin-cpuminer-1.3-avx-aes.git

cd ~/darkcoin-cpuminer-1.3-avx-aes
chmod +x autogen.sh
./autogen.sh
./configure CFLAGS="-O3 -march=native"
make
sudo make install

Cpuminer Neoscrypt (Ghostlander)

sudo apt-get install git make automake libcurl4-gnutls-dev
git clone https://github.com/ghostlander/cpuminer-neoscrypt
cd cpuminer-neoscrypt
./autogen.sh
./configure CFLAGS="-Ofast -DASM -march=native" #on some vm -march=native will not work, if Ofast doesn't work use O3
make

More to come....

Also Google Cloud ($300) and Microsoft Azure ($200) great free trials right now. You do need a valid CC, but they will not charge your CC after your free credit is gone unless you manually upgrade to a paid account.

Hope this helps someone, cheers.

Coin Marketplace

STEEM 0.18
TRX 0.13
JST 0.028
BTC 57340.70
ETH 3072.28
USDT 1.00
SBD 2.37