Step by Step guide for Linux users wanting to mine using the Java miner

Post Reply
overlode
Posts: 9
Joined: Fri Feb 02, 2018 9:32 pm

Step by Step guide for Linux users wanting to mine using the Java miner

Post by overlode » Tue Jun 05, 2018 8:55 pm

Ok guys, I thought I would write this quick guide for those who have absolutely no knowledge of Linux and would like to have a go at setting up a simple system.

Firstly, install Linux onto either a second hard drive if you are confident in dual booting, or find an old computer you don't use any more. I prefer Linux Mint 18.3 Cinnamon, it uses Ubuntu 16.04 architecture so extremely compatible.

Linux Mint 18.3 Cinnamon - https://linuxmint.com/edition.php?id=246

Ubuntu 16.04 - http://releases.ubuntu.com/16.04/ubuntu ... -amd64.iso

Once you have your Linux installed MAKE SURE YOU UPDATE IT FULLY!

Ok, once you are ready you will need to open up a new terminal window.

Press CTRL+ALT+T. This will open a new terminal.

Type -
cd
Then type-
sudo nano start.sh
A black screen will open up with no text, copy the following into this screen -
#! /bin/bash
set -x #echo on
sudo apt-get update
sudo apt-get install openjdk-8-jdk maven git gcc make -y
sudo apt-get install build-essential -y
cd
git clone git://github.com/Programmerdan/arionum-java
cd arionum-java/arionum-miner
git checkout master
touch config.cfg
chmod 755 config.cfg
echo "pool
PREFERRED POOL HERE
WALLET ADDRESS HERE
`nproc`
standard
true
`hostname`" > config.cfg
mvn clean package
chmod +x build-argon.sh
./build-argon.sh
chmod +x run.sh
sudo ./run.sh
When you have pasted the script into the start.sh file press CTRL+X and then "y" to save.

You will return to the command prompt, where you will need to type -
sudo chmod +x start.sh
Lastly type
./start.sh
If everything went well, the java miner will start mining and there you have it.

Hope this helps!
LTC - LbT8dztnd1F5PPLQJGXg5QXcUtLKXh8GrJ
ARO - 65AkkjBs2arwbikYVDh3B57aeehzpVp9Xw69tgewj8y8stx9FjajNhxR5Y3D9vzjYGgPGzuXbf7xSKn1C2i2DxFY

dignityinside
Posts: 3
Joined: Wed Jun 27, 2018 2:06 pm

Re: Step by Step guide for Linux users wanting to mine using the Java miner

Post by dignityinside » Wed Jun 27, 2018 8:39 pm

Hiint: Not work with OpenJDK 10 in Ubuntu 18.04, use 8

Post Reply