UPlexa Knowledgebase:XMRig-UPX

From uPlexa Knowledgebase
Revision as of 23:14, 12 June 2019 by QuantumLeaper (talk | contribs)
Jump to navigation Jump to search

Running on Windows

Video Guide:

Get XMRig-UPX for Windows

Quick note: Cryptocurrency miners are almost all false-flagged by antivirus companies as a potential "harmful/coinminer". This is due to botmasters who install cryptocurrency minrs on their victims computers without knowing it. XMRig-UPX is safe, and if you feel safer to compile your own, the instructions are further below on this page.

Steps: 1) Download XMRig-UPX for Windows x64 2) Unzip the archive 3) Edit config.json, ensure to change the wallet address to your uPlexa wallet address (where it says YOUR_UPX_ADDRESS_HERE) 4) Run xmrig.exe in administrator to enable huge pages (optional). 4.5) IF your computer tells you to restart to enable huge pages, please do so now. 5) Run start.bat (or xmrig.exe) to start mining.


Running on Linux

Steps: 1) Download XMRig-UPX for Linux x64

2) Untar the archive with:

  tar xvzf xmrig-upx-v0.2.0-lin64.tar.gz

3) Move into the directory:

  cd xmrig-upx-v0.2.0-lin64

4) Edit config.json, ensure to change the wallet address to your uPlexa wallet address (where it says YOUR_UPX_ADDRESS_HERE) 5) Run xmrig.exe in administrator to enable huge pages (optional).

4.5) IF your computer tells you to restart to enable huge pages, please do so now.

6) Run xmrig to start mining.

 ./xmrig


Compiling on Windows

To compile XMRig-UPX on Windows:

First, open mingw64.exe and install the necessary packages:

 pacman -Sy
 pacman -S mingw-w64-x86_64-gcc
 pacman -S make
 pacman -S mingw-w64-x86_64-cmake
 pacman -S mingw-w64-x86_64-pkg-config

Now, proceed to compilation:

   mkdir build
   cd build
   cmake .. -G "Unix Makefiles" -DXMRIG_DEPS=c:/xmrig-deps/gcc/x64
   make 

You're all set, proceed to running XMRig-UPX (Above)

Compiling on Ubuntu

Install all necessary requirements and clone XMRig-UPX:

 sudo apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev libssl-dev
 git clone https://github.com/xmrig/xmrig.git
 cd xmrig
 mkdir build
 cd build
 cmake ..
 make

You're now ready to run xmrig! (See above)