CPU pool mining with Ubuntu (CPUMiner Multi)

Objective:
– Setting up your first CPU pool mining software under Linux

Requirements:
– Ubuntu 16.04 (all updates done)
– A CPU capable of mining
– Has an AEON Wallet address
– Has basic pool mining knowledge or has read through Basic knowledge of pool mining

Disclaimer:
– I am not a Linux professional, some parts of this guide can be improved and be done in a more professional way.
– If you use the commands as root user, you can skip the “sudo” in each command
– The pool mining software shown in this guide is personal preference, you are of course free to choose any other software.
– The pool Serenity shown in this guide is owned by Hidden Jadestone, you are of course free to choose any other pool.

 


 

Table of contents:
Step 1: Install required packages
Step 2: Download pool mining software
Step 3: Start your pool mining software
 


 

Step 1: Install required packages

First we have to install the required packages.

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

Let your Ubuntu work until it pauses.

y

Confirm with y and press Enter to continue the installation of the packages. It will take a minute now, wait for it to finish.

All required packages are now installed!

 

Step 2: Download pool mining software

Now we have to download our mining software. If you dont know where to find mining software, check out: Basic knowledge of pool mining

For this guide we will use the Serenity AEON Pool and the mining software “CPUMiner Multi (forked by tpruvot)”.

sudo git clone https://github.com/tpruvot/cpuminer-multi aeon_mining

This command clones the mining software repository on your Ubuntu into the folder “aeon_mining”. Switch now into that folder.

cd aeon_mining

Start compiling the mining software code now.

sudo ./build.sh

This will take a while. Sit back and relax and wait for it to finish.

After it is finished we check the folder for the content.

ls

For us important is the file:
– cpuminer

Everything is now setup, we are ready to start the pool mining software.

 

Step 3: Start your pool mining software

Go to Serenity AEON Pool and switch to the “Getting Started” Tab. Scroll down to the Mining Apps section. In the line of “CPUMiner Multi (forked by tpruvot)” you will see an example on what command to use for that specific pool mining software.

In this case its:
sudo ./cpuminer -a cryptolight -o stratum+tcp://serenity.hiddenjadestone.com:3333 -u YOUR_AEON_WALLET_ADDRESS_PUBLIC_VIEW_KEY -p x -t NUMBER_OF_THREADS

Go back to your terminal/commandline and navigate to your “aeon_mining” folder.

Start your mining software now with the adjusted command (replace YOUR_AEON_WALLET_ADDRESS_PUBLIC_VIEW_KEY and NUMBER_OF_THREADS with your own settings), for example:

sudo ./cpuminer -a cryptolight -o stratum+tcp://serenity.hiddenjadestone.com:3333 -u YOUR_AEON_WALLET_ADDRESS_PUBLIC_VIEW_KEY -p x -t 1

Ajust the “-t 1” to the amount of threads you want to use for mining. If you would like to know more about threads, google your CPU for the specs and read: Optimal number of threads when mining.

You successfully started pool mining on your computer!

Now that it is running, we want to check our stats. Go to Serenity AEON Pool scroll down to the section “Your Stats & Payment History”.

Enter your YOUR_AEON_WALLET_ADDRESS_PUBLIC_VIEW_KEY and click on “Lookup”.

Here you will see your pending balance, current hash rate, payouts and other stats.

All you have to do now is to wait for the pool to find a block!:)

 

Congratulation, you just setup your first CPU pool mining software.