Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
windows:rigutils:install [2019/01/08 00:23] wikiadmin |
windows:rigutils:install [2019/03/26 10:51] (current) wikiadmin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | <bootnote>All scripts are licensed under GNU GPLv3 [[https://www.gnu.org/licenses/gpl-3.0.html|license]]. Source code hosted at https://github.com/vegaminer/rigutils</bootnote> | + | <bootnote>All Rigutils scripts are licensed under GNU GPLv3 [[https://www.gnu.org/licenses/gpl-3.0.html|license]]. Source code hosted at https://github.com/vegaminer/rigutils</bootnote> |
=== Install === | === Install === | ||
- | There is no special install program for Rigutils. It's just a[[https://en.wikipedia.org/wiki/Zip_(file_format)|zip]] archive. You have to download it from GitHub [[https://github.com/vegaminer/rigutils|repository]] and unpack to your local hard drive. My favorite location for scripts and programs under Windows is ''c:\bin'', so Rigutils will reside in ''c:\bin\rigutils'' accordingly. See the [[windows:rigutils:description|description]] page for short info on each file from the tool set. | + | There is no special install program for Rigutils. It's just a[[https://en.wikipedia.org/wiki/Zip_(file_format)|zip]] archive. You have to download it from GitHub [[https://github.com/vegaminer/rigutils|repository]] and unpack to your local hard drive. My favorite location for scripts and programs under Windows is ''c:\bin'', so Rigutils will reside in ''c:\bin\rigutils'' accordingly. See the [[windows:rigutils|description]] page for short info on each file from the tool set. |
+ | |||
+ | As with [[:windows:software:firefox|FireFox]] itself I recommend to download //rigutils.zip// file **before** installing Windows and put in onto the same USB drive. First step before installing Windows you should do is disconnecting of your PC from Internet by unplugging an Ethernet cable from it. You'll reconnect it back later, but having rigutils and FireFox already on your USB drive may be very handy. | ||
---- | ---- | ||
- | Here is step-by-step guide for beginners: | + | === Instruction === |
<WRAP group> | <WRAP group> | ||
Line 14: | Line 16: | ||
Download zip-archive from GitHub | Download zip-archive from GitHub | ||
- | 1. Open [[:windows:tuning:firefox|FireFox]] and navigate to | + | 1. Open [[windows:software:firefox|FireFox]] and navigate to |
''https://github.com/vegaminer/rigutils'' | ''https://github.com/vegaminer/rigutils'' | ||
2. Click pull-down menu ''Clone or download'' | 2. Click pull-down menu ''Clone or download'' | ||
Line 99: | Line 101: | ||
**STEP 7.** Configure Antivirus | **STEP 7.** Configure Antivirus | ||
- | This step is optional, but I highly recommend to add the directory ''c:\bin\rigutils'' to exclusions list of Windows Defender Antivirus. You may find a detailed instructions [[:windows:tuning:antivirus|here]]. | + | This step is optional, but I highly recommend to add the directory ''c:\bin\rigutils'' to exclusions list of Windows Defender Antivirus. You may find a detailed instructions [[windows:tuning:antivirus_exclusions|here]]. |
+ | ---- | ||
=== History === | === History === | ||
- | It was May of year 2017 when I (re)discovered wonderful crypto-mining world after reading an article about a botnet mining [[https://www.getmonero.org/|Monero]]. Next day I was running full node and digging through [[https://www.reddit.com/r/MoneroMining/|reddit/MoneroMining]]. Two weeks later xmr-stak-cpu was running almost on every machine I had access to 8-) Next milestone was AMD Vega card. It was a nightmare to setup and manage, [[https://www.amd.com/en/support/kb/release-notes/rn-rad-win-blockchain-beta|blockchain]] driver was of beta quality, but for a long time it was the only choice for mining Monero... and Windows was his ball and chain he has to bear. I spent countless nights trying to figure out optimal undervolting setting, wrote a PHP script for finding optimal xmr-stak settings and got an OrangePi based [[hardware:power-meter]] for detecting the most efficient "sweet spot". No, I did't get rich, it's just a nice hobby... | + | It was May of year 2017 when I (re)discovered wonderful crypto-mining world after reading an article about a botnet mining [[https://www.getmonero.org/|Monero]]. Next day I was running full node and digging through [[https://www.reddit.com/r/MoneroMining/|reddit/MoneroMining]]. Two weeks later xmr-stak-cpu was running almost on every machine I had access to 8-) Next milestone was AMD Vega card. It was a nightmare to setup and manage, [[https://www.amd.com/en/support/kb/release-notes/rn-rad-win-blockchain-beta|blockchain]] driver was of beta quality, but for a long time it was the only choice for mining Monero... and Windows was //his ball and chain he has to bear//. I spent countless nights trying to figure out optimal undervolting setting, wrote a PHP script for finding optimal xmr-stak settings and even ordered an OrangePi based [[hardware:power-meter]] for detecting the most efficient "sweet spot". No, I did't get rich, it's just a nice hobby... |
+ | |||
+ | Step by step I wrote a bunch of //bat scripts// for managing mining rigs, so Rigutils toolset was born. Started as a simple helper for starting/stopping xmr-stak it became capable of many more things. Is it possible to successfully manage a rig without using [[https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/devcon|devcon.exe]] and [[https://forums.guru3d.com/threads/overdriventool-tool-for-amd-gpus.416116/|OverDriveNTool]]? The answer is Yes. Rigutils has no other binary dependencies except ones which are already present in any Windows setup by default. | ||
+ | |||
+ | You may ask me - why //bat file//s and not //powershell// or //golang// or //PHP// or //bas//h, //C/C++//, //Java// etc.? Well, I hate writing bat files for its cryptic syntax, unpredictable behavior and absence of tooling of any kind. But I like it because it's a real challenge and fun and it reminds me of //good old days// of [[https://en.wikipedia.org/wiki/IBM_Personal_Computer_XT|IBM XT]] computers, [[https://en.wikipedia.org/wiki/Intel_8086|i8086]], [[https://en.wikipedia.org/wiki/Floppy_disk|5.25" disks]] and [[https://en.wikipedia.org/wiki/IBM_PC_DOS#See_also|PC DOS]]. | ||
+ | |||
+ | Just an example... Can you guess the purpose of the following bat code? | ||
+ | <code> | ||
+ | ((for /L %%P in (1,1,70) do pause>nul)&set /p "t=")<"%COMSPEC%" | ||
+ | set "t= %t:~0,1%" | ||
+ | </code> | ||
- | Step by step I wrote a bunch of bat scripts for managing mining rigs I had access to. So Rigutils tool set was born. Started as a simple helper for starting/stopping xmr-stak now it's capable of many more things. Is it possible to successfully manage a rig without using [[https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/devcon|devcon.exe]] and [[https://forums.guru3d.com/threads/overdriventool-tool-for-amd-gpus.416116/|OverDriveNTool]]? The answer is Yes. Rigutils has no other binary dependencies except ones which is already present in any Windows setup. | + | Answer is here https://stackoverflow.com/a/49959194 This is why I love bat files 8-) |
- | You may ask me - why bat files and not powershell or golang or PHP or bash, C/C++, Java etc.? Well, I hate writing bat files for its cryptic syntax, unpredictable behavior and absence of tooling of any kind. But I like it because it's a real challenge and fun and it reminds me of //good old days// of [[https://en.wikipedia.org/wiki/IBM_Personal_Computer_XT|IBM XT]] computers, [[https://en.wikipedia.org/wiki/Intel_8086|i8086]], [[https://en.wikipedia.org/wiki/Floppy_disk|5.25" disks]] and [[https://en.wikipedia.org/wiki/IBM_PC_DOS#See_also|PC DOS]] | ||