# Xmr HiveOS Flight Sheet Tutorial

**1.  Edit wallet in HiveOS**

<figure><img src="https://173695165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhcaIJhxZbNgQ58zWSXWs%2Fuploads%2FAgxokqV8iPdTX89kgcl0%2Fimage.png?alt=media&#x26;token=c3c9db89-ddba-4740-9ce5-fce22523ba5c" alt=""><figcaption></figcaption></figure>

#### 2. Add new flight sheet

* Configure Miner：Custom

<figure><img src="https://173695165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhcaIJhxZbNgQ58zWSXWs%2Fuploads%2FkrS2ZGGuwcbziX8116YJ%2Fimage.png?alt=media&#x26;token=867f5b02-266e-4314-82ef-6b5e6e163a23" alt=""><figcaption></figcaption></figure>

**CPU mining flight sheet**

<figure><img src="https://173695165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhcaIJhxZbNgQ58zWSXWs%2Fuploads%2Fjy3F2l0BlVV6N9SHzaAT%2Fimage.png?alt=media&#x26;token=8cb4aed6-99ea-4f9c-b7fd-9c60183f43d6" alt=""><figcaption></figcaption></figure>

Miner name：<mark style="color:red;">apoolminer\_hiveos\_xmr</mark>

'Installation URL'：<mark style="color:red;">https://github.com/apool-io/xmrminer/releases/download/v3.2.0/apoolminer\_hiveos\_xmr-v3.2.0.tar.gz</mark>

Version number： [https://github.com/apool-io/xmrminer/releases](https://github.com/apool-io/xmrminer/releases)

'Wallet and worker template'：<mark style="color:red;">%WAL%</mark>&#x20;

'Pool URL'：<mark style="color:red;">xmr.hk.apool.io:3334</mark>

SSL/TLS encryption： <mark style="color:red;">xmr.hk.apool.io:2334</mark>

Extra Config Arguments：

```
-A xmr
--no-cpu-affinity
--xmr-1gb-pages
--worker %WORKER_NAME%
```

Please configure these parameters according to your actual situation

#### 3. Check mining log

execute the following command

```
miner log
```

4. **Watch the Statistics and earn Xmr on Apool**

https://[xmr.apool.io](http://xmr.apool.io)/myMiner

By following the above steps, you can smoothly integrate the Apool miner into HiveOS. Please ensure that you update the mining pool address and software version in a timely manner according to official announcements to maintain mining efficiency.

5. **Other parameters**

```
./apoolminer -h
Usage: apoolminer [OPTIONS]

Options:
  -A, --algo <ALGORITHM>               Specify algorithm, support qubic, qubic_xmr, xmr [default: qubic_xmr]
      --account <ACCOUNT>              Specify the main account
      --account-slave <ACCOUNT_SLAVE>  Specify the slave account, use main account if not set
      --worker <WORKER>                Specify the worker name. Note: The name consists of numbers and letters and cannot exceed 15 characters in length
      --pool <POOL>                    Specify the main pool server address
      --pool-slave <POOL_SLAVE>        Specify the slave pool server address
      --solo <SOLO>                    Specify the main solo server address
      --solo-slave <SOLO_SLAVE>        Specify the slave solo server address
  -g, --gpu <GPU>                      Specify the index of GPU. Specify multiple times to use multiple GPUs, example: -g 0 -g 1 -g 2
  -p, --parallel <PARALLEL>            Specify the number of parallel jobs per GPU [default: 0]
  -t, --thread <T>                     Specify the number of CPU thread [default: 0]
  -s, --thread-slave <T_SLAVE>         Specify the number of CPU slave thread [default: 0]
      --cpu-off                        Close main CPU mining
      --cpu-off-slave                  Close slave CPU mining
      --gpu-off                        Close GPU mining
      --gpu-off-slave                  Close slave GPU mining
  -m, --mode <MODE>                    Mining mode, 0 is normal mode, 1 is combined mode [default: 0]
      --xmr-1gb-pages                  Set 1GB hugepages for XMR dataset (Linux only)
      --no-cpu-affinity                Set no cpu affinity for XMR
  -o, --log <LOG>                      Specify the log file
      --local-time                     Use the local time for log message timestamps
      --vf                             More information about version
      --rest                           Enable REST server
      --port <PORT>                    Specify the port for the REST server [default: 5001]
  -h, --help                           Print help
  -V, --version                        Print version
```
