Difference between revisions of "UPlexa Knowledgebase:XMRig-UPX"
(Created page with "== Running on Windows == Video Guide: {{#evt:service=youtube|id=https://www.youtube.com/watch?v=RDuVEcddRLA|alignment=inline}} [https://github.com/uPlexa/xmrig-upx/releases/d...") |
(→Running on Windows) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
[https://github.com/uPlexa/xmrig-upx/releases/download/v0.2.0/xmrig-upx-v0.2.0-win64.zip Get XMRig-UPX for Windows] | [https://github.com/uPlexa/xmrig-upx/releases/download/v0.2.0/xmrig-upx-v0.2.0-win64.zip 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 | + | 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 miners 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: | Steps: | ||
Line 12: | Line 12: | ||
3) Edit config.json, ensure to change the wallet address to your uPlexa wallet address (where it says YOUR_UPX_ADDRESS_HERE) | 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) 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. | 5) Run start.bat (or xmrig.exe) to start mining. | ||
− | |||
== Running on Linux == | == Running on Linux == | ||
Line 28: | Line 27: | ||
5) Run xmrig.exe in administrator to enable huge pages (optional). | 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. | 4.5) IF your computer tells you to restart to enable huge pages, please do so now. | ||
− | 6) Run | + | 6) Run xmrig to start mining. |
+ | ./xmrig | ||
Line 34: | Line 34: | ||
== Compiling on Windows == | == Compiling on Windows == | ||
− | == Compiling on | + | To compile XMRig-UPX on Windows: |
+ | * Ensure you have [http://www.msys2.org/ MSYS2] | ||
+ | * Ensure you have [https://github.com/xmrig/xmrig-deps/releases xmrig-deps] under C:\xmrig-deps | ||
+ | |||
+ | 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) |
Latest revision as of 23:46, 19 June 2019
Running on Windows
Video Guide:
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 miners 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:
- Ensure you have MSYS2
- Ensure you have xmrig-deps under C:\xmrig-deps
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)