Skip to content

HiveOS & Unix Install

MaynardMiner edited this page Jan 8, 2020 · 39 revisions

Remote Install On Hive

NOTE Fresh install/reset on HiveOS:

  • Remove SWARM from custom miner downloads:
rm -rf /hive/miners/custom/downloads/SWARM.[your version].linux.tar.gz
  • Remove SWARM from custom miner directory:
rm -rf /hive/miners/custom/SWARM.[your version].linux
  • After that, restart SWARM, it will download fresh again.

Simple Install Instructions (HIVEOS):

This is an example of how to remote install/update miner. It is the fastest way to get going. Simply enter tar.gz file name from latest release. Then insert link for tar.gz. Next in wallet/worker templates enter 'blah'. Lastly, your setup arguments go in the last box, labeled extra config arguments. After that, you are are good to go! See wiki on proper argument use. Here is a photo of setup:

Coin/Wallet is irrelevant. You can basically enter whatever you want. Then navigate to custom miner:

alt text

From there you should see this window. Pool and URL are setup with arguments. However, Hive 2.0 requires those fields to not be empty. You can simply enter anything there. See photo below on how to setup miner. Just insert the name of the latest release, and the release tar.gz file link. Then insert your arguments in the bottom box:

FULL ARGUMENT LIST:

NOTE: AS OF 2.7.0, Arguments Are Not Required When First Starting SWARM! Starting SWARM Without 'Extra Config Arguments' Will Begin Guided Help, In Which After A Few Questions- You are Mining!

https://github.com/MaynardMiner/SWARM/blob/master/help/SWARM_help.txt

SAMPLE SETUP Of ARGUMENTS FOR PROFIT SWITCHING:

Items inside of [brackets] are meant to be selected by user. The brackets[] should be removed

-RigName1 SWARM -Location [Choose one: US or Europe or Asia] -PoolName [Choose Any Number Of Pools: nlpool,blockmasters,zergpool,nicehash,fairpool,ahashpool,blazepool,hashrefinery,phiphipool,zpool] -Type [Choose where applicable: [AMD1] or [NVIDIA1] or [AMD1,NVIDIA2]] -Wallet1 [Your BTC Wallet] -Donate .5

SAMPLE SETUP OF SINGLE COIN / ALGORITHM MINING

SWARM has the ability to mine a single algorithm or coin, if supported on the pool you selected.
It will go through all stored miners capable of mining your choice, and then select the best one.
Below is a sample for x16 / RVN. If you wish to mine with auto-exchange to BTC, omit -Coin argument.

-RigName1 SWARM -Location US -PoolName zergpool -Algorithm x16r -Coin RVN -Type NVIDIA1 -Wallet1 1RVNsdO6iuwEHfoiuwe123hsdfljk -Donate .5

further details on argument setup is here:

https://github.com/MaynardMiner/SWARM/wiki/Arguments-(Miner-Configuration)

alt text

Setup for (Ubuntu/Unix)

BELOW IS FOR INSTALLING ON A UNIX SYSTEM OTHER THAN HIVE, OR IF YOU HAVE ISSUES INSTALLING THE HIVEOS VERSION:

SWARM requires these dependencies (beyond dependencies required for background miners- See their github to determine them).

wget (with the ability to handle https)

http://www.linuxfromscratch.org/blfs/view/svn/basicnet/wget.html

screen

sudo apt-get install screen

rocm-smi (AMD)

https://github.com/RadeonOpenCompute/ROC-smi

nvidia-smi (NVIDIA - Should come with drivers)

wolfamdctrl (also known as ohgodatool, AMD)

https://github.com/kilo17/OhGodATool

lspci

sudo apt-get install lspci

lscpu

sudo apt-get install lscpu

start-stop-daemon

sudo apt-get install start-stop-daemon

libc-ares2

sudo apt-get install libc-ares2

libuv1

sudo apt-get install libuv1

If you are using Ubuntu/Unix:

Open swarm file. Edit arguments as necessary.

Install SWARM commands and powershell:

sudo ./install_linux.sh

Note: Depending on flavor, you may have to open install.sh or install.ps1 and modify commands as necessary to make it work. For example, changing all instances from apt to yum for redhat.

Launching Swarm:

./swarm (Ideally As ROOT)

If you have issues running SWARM in UNIX- See Developer's Corner for explanations on how SWARM works, what it needs to do so, and other tips in getting it to run in your OS. SWARM was meant to run in root, as it requires the ability to change/chmod/rename files. I can't control this- Some miners don't even properly chmod +x their programs. If you have security concerns, rest assured everything on linux side is 100% open sourced, or uses open sourced and regularly maintained software.

Linux is a very diverse environment. I cannot guarantee it will work right off the bat. However, I guarantee almost no issues while using with Ubuntu 16.04, and Ubuntu 18.04...But I cannot guarantee all miners will work.