Xmr Linux Mining Tutorial

1. Acquire sub-account

In order to earn xmr, one must mine to a sub-account. Head over to https://www.apool.top 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_xmr_v2.9.3.tar.gz

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

4.apoolminer miner.conf Parameter Description

Param
Description

algo=<qubic/aleo>

Specify algorithm, default configuration is qubic , Required

account=<string>

Specify your sub-account(CP_xxx) in pool mining or Specify your wallet address in solo mining, Required

pool=<url:port>

Specify the proxy address, Required in pool mining

solo=<url:port>

Specify the proxy address, Required in solo mining

worker=<name>

Specify the worker name. The name consists of numbers and letters and cannot exceed 15 characters in length

gpu=<indexes>

Specify the index of GPU. If you’re only running on specific GPUs, please spell out explicitly, example: gpu=0,1,2, If you run all GPUs, you don’t need to configure them.

thread=<num>

Specify the number of CPU thread [default: 0, use all threads]

cpu-off=<true/false>

If you don’t want to use CPU, please configure it to True.

gpu-off=<true/false>

If you don’t want to use GPU, please configure it to True.

xmr-gpu-off=<true/false>

If you don't want to use the GPU during XMR mining time, please set this option to True.

xmr-cpu-off=<true/false>

If you don't want to use the CPU during XMR mining time, please set this option to True.

xmr-thread=<num>

Number of CPU threads to use during XMR mining time

no-cpu-affinity = true

If the default configuration does not fully utilize the CPU for XMR mining, you can optimize performance by manually specifying the number of XMR threads.

Configuration file example

  • Configuration files for mining with CPU only

algo=xmr
account=CP_XXX
pool=xmr.hk.apool.io:3334

worker = my_worker
#cpu-off = true
#thread = 4
gpu-off = true
#gpu = 0,1,2
  • Connect using SSL/TLS encryption

algo=xmr
account=CP_XXX
pool=xmr.hk.apool.io 2334

worker = my_worker
#cpu-off = true
#thread = 4
#gpu-off = true
#gpu = 0,1,2
  • Connect using 1GB pages mode

algo=xmr
account=CP_XXX
pool=xmr.hk.apool.io:3334

#worker = my_worker
#cpu-off = true
#thread = 1
#gpu-off = true
#gpu = 0,1,2
#xmr-gpu-off = true
#xmr-cpu-off = true
#xmr-thread = 1
xmr-lgb-pages = true
#no-cpu-affinity = true

5.Run and shutdown

  • Select the execution script according to your needs

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

bash run.sh

6. View apoolminer log

tail -f xmr.log

7.shutdown apoolminer command

killall -9 apoolminer

8. Watch the Statistics and earn Xmr on Apool

https://xmr.apool.io

Last updated

Was this helpful?