Linux Dual Ore Mining Tutorial

1. Acquire sub-account

In order to earn qus, one must mine to a sub-account. Head over to https://www.apool.io to finish email registration.

Apool will allocate a sub-account automatically under your name. Check out your sub-account name in 'My miners' page.

2. Download the mining software

  • Extract the file with the comand:

tar zxf apoolminer_linux_autoupdate_v2.2.1.tar.gz

3.Copy apoolminer and rename it to oreminer.

cp apoolminer oreminer

4. Modify the configuration file miner.conf and change the account to your own.

If you need to adjust other parameters, remove the # comment and modify the corresponding values according to the parameter description.

algo=qubic
account=my_sub_account
pool=qubic1.hk.apool.io:3334

#worker=my_worker
#cpu-off=false
#thread=4
#gpu-off=false
#gpu=0,1,2

5.Configuration file example

  • Configuration files for mining with GPU and CPU (Recommended mining configuration for all resources)

    algo=qubic
    account=CP_XXXX
    pool=qubic1.hk.apool.io:3334
    
    #worker = my_worker
    #cpu-off = true
    #thread = 4
    #gpu-off = true
    #gpu = 0,1,2
    
    third_miner = "oreminer"
    third_cmd = "./oreminer -A ore --pool ore1.hk.apool.io:9090 --account CP_XXXX"
  • Configuration files for mining with GPU only

    algo=qubic
    account=CP_XXXX
    pool=qubic1.hk.apool.io:3334
    cpu-off = true
    
    #worker = my_worker
    #thread = 4
    #gpu-off = true
    #gpu = 0,1,2
    
    third_miner = "oreminer"
    third_cmd = "./oreminer -A ore --pool ore1.hk.apool.io:9090 --account CP_XXXX --cpu-off"
  • Configuration files for mining with CPU only

    algo=qubic
    account=CP_XXXX
    pool=qubic1.hk.apool.io:3334
    gpu-off = true
    
    #worker = my_worker
    #cpu-off = true
    #thread = 4
    #gpu = 0,1,2
    
    third_miner = "oreminer"
    third_cmd = "./oreminer -A ore --pool ore1.hk.apool.io:9090 --account CP_XXXX --gpu-off"

6.Run and shutdown

  • Select the execution script according to your needs

  • If you want to run an automatic upgrade of apoolminer, you can execute the upgrade_and_run.sh script

sudo nohup bash upgrade_and_run.sh 2>&1 &

  • If you do not need to automatically upgrade apoolminer, you can execute the run.sh script

sudo nohup bash run.sh > run.log 2>&1 &

7. View apoolminer log

sudo tail -f qubic.log

8.shutdown apoolminer command

sudo killall -9 apoolminer

9.shutdown autoupgrade script

If you are running an automatic upgrade script, use the following command to shutdown and it will no longer be upgraded.

for i in $(ps aux|grep "upgrade_and_run"|grep -v grep |awk '{print $2}'); do sudo kill -9 $i; done

10.shutdown run script

ps aux|grep -w "run.sh"|grep -v grep|grep -v nohup|awk '{print $2}'|xargs kill -9

11. Watch the Statistics and earn ORE on Apool

https://www.apool.io/myMiner

Last updated