CPU pool mining with Ubuntu (aeon-stak-cpu)

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 install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev git

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 “fireice XMR CPU miner (ported to AEON by shyba)”.

sudo git clone https://github.com/shyba/aeon-stak-cpu 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 cmake .

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

Now we have to install the software.

sudo make install

Wait till it has finished.

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

ls

Lets find our files. They are probably in the bin folder.

cd bin

Here we gonna list the files again.

ls

For us important are the files:
– aeon-stak-cpu
– config.txt

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

 

Step 3: Start your pool mining software

Now its time to configure our pool software. For that, we gonna start our miner first, which will then suggest us a config for our setup.

sudo ./aeon-stak-cpu

Copy the suggested config text and open your config.txt file in the aeon_mining folder.

vi config.txt

Edit following parts…

Replace this
"cpu_threads_conf" :
null,

With the text you copied from the suggested configuration. In our example it would be:

"cpu_threads_conf" :
[
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : false },
],

If you have advanced knowledge of hyperthreading and other core related stuff, feel free to adjust those parameters as you like to fit your setup:)

And finally we need to set our pool and wallet address.

Replace
"pool_address" : "pool.usxmrpool.com:3333",
"wallet_address" : "",
"pool_password" : "",

With
"pool_address" : "serenity.hiddenjadestone.com:7777",
"wallet_address" : "YOUR_PUBLIC_WALLET_ADDRESS",
"pool_password" : "x",

Time to save our changes to config.txt

Press ESC, then type :wq! and press ENTER to confirm

You will now return to your regular commandline view.

All done, now we can start the pool mining. Start your aeon-stak-cpu.

sudo ./aeon-stak-cpu

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.

 
 
 

The one and only thehihoguy.

Poolowner of Serenity and maintainer of Hidden Jadestone.

Modesty in person:P