- Configuration
- Usage on Windows
- Usage on Linux
- Command Line Options
- HTML and JSON API report configuraton
Before you started the miner the first time there are no config files available.
Config files will be created at the first start.
The number of files depends on the available backends.
config.txt
contains the common miner settings.
amd.txt
, cpu.txt
and nvidia.txt
contains miner backend specific settings and can be used for further tuning (Tuning Guide).
- Double click the
xmr-stak.exe
file - Fill in the pool url, username and password
set XMRSTAK_NOWAIT=1
disable the dialog Press any key to exit.
for non UAC execution.
- Open a terminal within the folder with the binary
- Start the miner with
./xmr-stak
The miner allow to overwrite some of the settings via command line options.
Run xmr-stak --help
to show all available command line options.
You can run the Docker image the following way:
docker run --rm -it -u $(id -u):$(id -g) --name fireice-uk/xmr-stak -v "$PWD":/mnt xmr-stak
docker stop xmr-stak
docker run --rm -it -u $(id -u):$(id -g) --name fireice-uk/xmr-stak -v "$PWD":/mnt xmr-stak --config config.txt
Debug the docker image by getting inside:
docker run --entrypoint=/bin/bash --rm -it -u $(id -u):$(id -g) --name fireice-uk/xmr-stak -v "$PWD":/mnt xmr-stak
To configure the reports shown on the README side you need to edit the httpd_port variable. Then enable wifi on your phone and navigate to [miner ip address]:[httpd_port] in your phone browser. If you want to use the data in scripts, you can get the JSON version of the data at url [miner ip address]:[httpd_port]/api.json