Linux Automatic Update Tutorial

1. First modify the configuration file miner.conf and change the account to your own.

In order to earn ore, 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.0.tar.gz

3. 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=ore
account= my_sub_account
pool=ore1.hk.apool.io:9090

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

4.apoolminer miner.conf Parameter Description

Configuration file example

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

    algo=ore
    account=my_sub_account
    pool=ore1.hk.apool.io:9090
  • Configuration files for mining with GPU only

    algo=ore
    account=my_sub_account
    pool=ore1.hk.apool.io:9090
    cpu-off=true
  • Configuration files for mining with CPU only

    algo=ore
    account=my_sub_account
    pool=ore1.hk.apool.io:9090
    gpu-off=true
  • Configuration files for mining with GPU and open hybrid mode

    algo=ore
    account=my_sub_account
    pool=ore1.hk.apool.io:9090
    cpu-off=true
    mode=1
  • Configuration files for mining with CPU and specify the number of CPU thread

    algo=ore
    account=my_sub_account
    pool=ore1.hk.apool.io:9090
    gpu-off=true
    thread=8

GPU power configuration (OptionalοΌ‰

  • Adjust graphics card power cap (watts)

    nvidia-smi-pl 200
  • Reset all Nvidia-SMI settings

    nvidia-smi -r
  • Set the upper limit of GPU temperature (degrees Celsius), after which the GPU will reduce the frequency

    nvidia-smi-gtt 80
  • Specify and set the upper temperature limit of 0 card (degrees Celsius). After exceeding the limit, the GPU will reduce the frequency.

    nvidia-smi -g 0 -gtt 80
  • Set the minimum and maximum frequency of video memory

    nvidia-smi-lmc 3000,3500
  • Specify the power limit of graphics card 0

    nvidia-smi -g 0 -pl 200

5.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 bash run.sh

6. View apoolminer log

sudo tail -f ore.log

7.shutdown apoolminer command

sudo killall -9 apoolminer

8.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

9. Watch the Statistics and earn ORE on Apool

https://www.apool.io/myMiner

Last updated