Linux Automatic Update Tutorial
Last updated
Last updated
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
Download link:https://github.com/apool-io/apoolminer/releases
Extract the file with the comand:
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.
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. |
mode=<0/1> | Mining mode, 0 is normal mode, 1 is hybrid mode [default: 0],please make sure that the system has enough memory configuration in mode 1. |
Configuration file example
Configuration files for mining with GPU and CPU (Recommended mining configuration for all resources)
Configuration files for mining with GPU only
Configuration files for mining with CPU only
Configuration files for mining with GPU and open hybrid mode
Configuration files for mining with CPU and specify the number of CPU thread
GPU power configuration (Optional)
Adjust graphics card power cap (watts)
Reset all Nvidia-SMI settings
Set the upper limit of GPU temperature (degrees Celsius), after which the GPU will reduce the frequency
Specify and set the upper temperature limit of 0 card (degrees Celsius). After exceeding the limit, the GPU will reduce the frequency.
Set the minimum and maximum frequency of video memory
Specify the power limit of graphics card 0
5.Run and shutdown
If you want to run an automatic upgrade of apoolminer, you can execute the upgrade_and_run.sh script
If you do not need to automatically upgrade apoolminer, you can execute the run.sh script
6. View apoolminer log
7.shutdown apoolminer command
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.
9. Watch the Statistics and earn ORE on Apool
https://www.apool.io/myMiner