Page 1 of 1

Getting the most out of your Cloud miners with Java Miner using Linux

Posted: Sat Feb 10, 2018 8:56 pm
by overlode
Ok guys, at first I didn't like the thought of cloud mining but after a huge burst in hashrate on the server I thought I would give it a go.

The 3 main companies that I have used are Amazon AWS, Google Cloud and Oracle cloud. Out of all three, Google is the easiest to use and Oracle is the most complicated. Google and Oracle both offer $300 free credit when you first sign up so I took advantage of it. The only problem I have had so far is if you go over your quota with Oracle (8 CPU's) they will suspend your account, however if you are quick and get the vm's setup before that happens, they do not terminate them, so even if your account is suspended, your miners will keep on mining.

As it happens I spoke to ProgrammerDan about hashrate and he gave me a little tip for getting the best hashrate you can, so many thanks to him. On average I was increasing my hashrate by 45%. These instructions are also on his Github link for the java miner.

When you ssh into your virtual machine, carry out the following commands 1 by 1, it's important you do exactly as it says -

Do a 'sudo apt-get update' first of all.

1. sudo apt-get install -y openjdk-8-jdk maven git make gcc
2. git clone git://github.com/ProgrammerDan/arionum-java
3. cd arionum-java/arionum-miner
4. mvn clean package
5. chmod +x build-argon.sh
6. ./build-argon.sh
7. ./run.sh

Remember, this needs to be done on the Virtual machine, however you can do the same on your local computer, just that it won't affect the Virtual machines, just your own personal setups. If you already have the newest java miner installed then this will not affect your local machine h/s.

If you get disconnected from a vm you will have to repeat steps 3-7 again, do not just run the java miner as soon as the VM restarts or you will have the old hashrate.

For managing multiple VM's, I definitely recommend a program called PAC if you are using Linux, or MtPutty if you are using windows. You can load all your VM's into either program and send commands to all, execute scripts etc, very handy little tools.

Hopefully this will help some of you guys considering a cloud mining setup, but please, be ethical, don't abuse it!

Happy hashing!