Skip to content
Home » Mining » Page 4

Mining

Cryptocurrency Mining Information, How-To’s, Tips, Tools, and Guides

Installing Teamviewer on Ubuntu

Enable Remote Access Through Teamviewer

Quick and dirty guide on how to install Teamviewer so you can remote into your mining rigs from anywhere.

sudo bash

mkdir /home/miner/teamviewer

cd /home/miner/teamviewer

wget https://download.teamviewer.com/download/linux/teamviewer-host_amd64.deb

dpkg -i teamviewer-host_amd64.deb

It will fail and that’s ok because we will fix it here

apt-get -f install

y

After it installs then run

teamviewer setup

Enter your teamviewer username (email@domain.com) and teamviewer password

You are now ready to go.  Try connecting remotely.

Raven Mining on Ubuntu 18.04

Configuring NVidia 1080TI Cards and ccminer on Ubuntu 18.04

This is a Raw guide, assuming that Ubuntu Server 18.04 is already installed.

Login

reboot

Login

sudo bash

add-apt-repository universe

add-apt-repository ppa:graphics-drivers/ppa

apt-get udpate

apt-get -y dist-upgrade

apt-get -y install gcc libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev screen git python-dev freeglut3-dev libx11-dev libgl1-mesa-glx gcc make libcurl4-openssl-dev autoconf libncurses5-dev opencl-headers build-essential protobuf-compiler libprotoc-dev libboost-all-dev libleveldb-dev hdf5-tools libhdf5-serial-dev libopencv-core-dev libopencv-highgui-dev libsnappy-dev libsnappy1v5 libatlas-base-dev cmake libgoogle-glog0v5 libgoogle-glog-dev libgflags-dev liblmdb-dev python-pip gfortran libjansson-dev uthash-dev autogen libtool pkg-config gcc-multilib dkms libxml2-dev libxslt1-dev zlib1g-dev linux-image-extra-virtual libopencv-dev python-numpy libssl-dev automake autotools-dev openssl libssl1.0.0 libssl-dev

reboot

Login

sudo bash

lspci | grep -i NVIDIA

Note NVIDIA has to be capital or no results will show, and now you should see all of your video cards listed here

apt-get install linux-headers-$(uname -r)

mkdir /miner && mkdir /miner/drivers/ && mkdir /miner/drivers/ewbf && mkdir /miner/drivers/intel && mkdir /miner/drivers/nvidia && cd /miner/drivers/nvidia

apt-key adv –fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub

sudo bash -c ‘echo “deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 /” > /etc/apt/sources.list.d/cuda.list’

apt update

apt install nvidia-driver-410

wget https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda_10.0.130_410.48_linux

mv cuda_10.0.130_410.48_linux cuda_10.0.130_410.48_linux.run

chmod +x cuda_10.0.130_410.48_linux.run

screen sh cuda_10.0.130_410.48_linux.run

Select No to the driver update

Yes to the toolkit install

cd /home/miner/ && nano .bashrc

Add this to the end of the file:
# add cuda tools to command path
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64:$LD_LIBRARY_PATH
export PATH=/usr/local/cuda-10.0/bin:$PATH

nano /etc/ld.so.conf.d/cuda-10.0-x86_64

Put only one line:
/usr/local/cuda-10.0/lib64

CTRL X to Save and Exit the file

ldconfig

cd /miner/drivers

git clone https://github.com/tpruvot/ccminer.git

cd ccminer

nano Makefile.am

Remove comment on line which refers to “61”

CTRL X

Yes

cd /miner/drivers/ccminer

./build.sh

make install

nano Start-Raven.sh

Fill the file with the following:

#!/bin/sh
nvidia-smi -pm 1
nvidia-smi -acp 0
#nvidia-smi -pl 300
sleep 2
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
./ccminer -a x16r -i 20 -o stratum+tcp://us.ravenminer.com:4567 -u RMzHAFgqgjV5qLkajBjLQ325V7HWBpG3d9 -p c=RVN

Save the file

CTRL + X

Y

chmod +x Start-Raven.sh

reboot

Log back in

sudo bash

cd /miner/drivers/ccminer

screen ./Start-Raven.sh

Raven will begin to mine

Permanently Disable Windows Defender

Disable Windows Defender on Windows 10

Quick How-To on disabling Windows Defender.

In the Type here to search box, type in RUN and hit Enter

Type regedit and hit Enter

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender

In the window pane on the right, you will see one value only called Default

Right click and select New > DWORD (32-bit) Value

Name it DisableAntiSpyware

Open up the entry, and change Value Data from 0 to 1

Click OK and Reboot.  Defender will now be disabled

HUSH Wallet UI – Waiting for Daemon to Start

HUSH Wallet Continually Fails to Start

Updating the wallet to the latest version 0.72 causes an error where the daemon continually fails to start and you can wait or close the wallet.  To fix the error on Windows 10, perform the following:

Open up your Windows Explorer and navigate to the root of C:\

In the Search Box, type hushd.exe and hit Enter

When the file is found, right click on it and select Open Folder Location

Select the full path in the bar at the top and copy it.  It will be something like C:\Program Files\hush\etc…..

Now open a command prompt

Type cd C:\Program Files\hush\etc….. (here you will put your actual path in instead of mine C:\Program Files\hush\etc…..)

Once you are there type in the following:

start hushd.exe -daemon -reindex

Now leave the black boxes open, and Open your HUSH Wallet.

You should see the blockchain begin to download all over again.  This will allow you to get access to the wallet, once everything is synchronized

 

MinexBank Coin Parking Renewal Process

How to Re-Park Your Minex Coins

Once you have your wallet setup to park, the renewal is pretty easy and quick.  The guide below walks you through the process

Go to

Login using your wallet address and your previously setup minexbank password

Calculate the best return rate over the course of 1 year, and park the coins for that long, even though you are not going to park them for 1 year.  For example the Weekly percentage is 1% (1% x 52 Weeks = 52% Return) and the Quarterly return is 27% (27% x 4 Quarters = 108% Return)

Select the amount of time you want the coins parked (ex: Quarterly)

Click Park All button

Click Create, and the coins are parked

Now take a look under the Active Parkings section of the web page, you will see the time left (89 days and whatever hours). Put a reminder in your calendar for when the parking return is paid, so 90 days from now, and then park the coins again.

Follow this process over and over for the greatest return.

LOKI Wallet – Windows Installation

How-To guide for installing the LOKI Desktop Wallet

This is a guide to installing the Windows version of the Loki Desktop Wallet.  Save your Wallet Seed and Password in a secure place.  Do NOT keep them on the same computer as your wallet.

Download the Loki-Gui-Win64 wallet from

https://github.com/loki-project/

Unzip/Extract the zipped folder loki-gui-win64 to your Desktop

Navigate to the Desktop of your computer

Open the new loki-gui-win64 folder

Double click on the start-low-graphics-mode.bat file

Loki will start

Select your Language

Click Create a New Wallet

Copy down your wallet seedDO NOT LOSE THIS

Click the next Arrow

Create a strong PasswordDO NOT LOSE THIS

Click the next Arrow

Click the next Arrow again

Click Use LOKI

Your wallet is now installed

To find out your wallet address, click Receive.  Once you have that, you can use that in your miners to receive payments

 

 

Installing Teamviewer on Ubuntu Server

How-To guide for installing and running Teamviewer on your Ubuntu Mining Rig

This is the quick and dirty to get it up and running.  I find that running Teamviewer on my Ubuntu Mining Rigs helps me manage them on the fly.  For this guide you will replace the home directory named tacticalware with the name of your home directory.  The rest of the commands will work as they are listed.

From a command prompt run the following commands:

sudo bash

mkdir /home/tacticalware/teamviewer

cd /home/tacticalware/teamviewer

wget https://download.teamviewer.com/download/linux/teamviewer-host_amd64.deb

dpkg -i teamviewer-host_amd64.deb

The installation will fail

Now run:

apt-get -f install

y

After it installs then run

teamviewer setup

Enter your username

Enter your password

Log into your email, and find the Teamviewer email

Allow/Add the device

And now you can log into your server using Teamviewer

 

Installing XMR-STAK on Ubuntu with NVidia 1080TI

How-To guide for installing XMR-STAK on Ubuntu 16.04.04 for Mining LOKI

I prefer linux (more specifically Ubuntu) for mining, and have preferred linux since I began mining in 2012/2013.  I was finally fed up with Windows 10 mining of Loki after the most recent set of Windows updates broke several of my rigs.  So I used a small ubuntu rig that I used for testing, and was able to install the XMR-STAK app onto it.  As happy as ever to be able to mine Loki now with Ubuntu, I thought I should put together this quick guide and hope that it may be beneficial to others.  Some of the steps are from github, some are from other sites, some I had found myself.  This is a central place to get you up and running without having to look too far.

For this guide I am assuming you already have a mining rig built with the following:

Ubuntu 16.04.04

NVidia 1080TI Cards

Loki Wallet already downloaded, installed, and the wallet address ready

I am going to run the commands logged in as sudo to make this quick and easy

Now, onto the guide:

sudo bash

apt-get install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev screen

mkdir /miner && mkdir /miner/drivers

git clone https://github.com/fireice-uk/xmr-stak.git

mkdir xmr-stak/build

cd xmr-stak/build

cmake ..

make install

cd /miner/drivers/xmr-stak/build/bin/

./xmr-stak

You will need to insert a port for monitoring the progress.  I use port 30131 and press Enter

Next type in cryptonight_heavy and press Enter

For the pool address, I use loki.ingest.cryptoknight.cc:7733  press Enter

Your username will be your wallet address, for example

LChtjHqr29p5FojLdMtcUW5ApLWyQHH5j4366V78YECEjUkgK99Y7uLDVLpHjXpYM3UcZ39FFL5Gvd4debF95mcJHbnx5ke

The password will be your worker name.  For example mine is Miner23

Your Rig Identifier can be empty, so just press Enter

Input N for TLS and press Enter

Insert N for Nicehash and press Enter

Input N for multiple pools and press Enter

Select Yes when prompted

Mining will begin!

Once you see it mining properly, hit CTRL + C to cancel the mining.  You will want to run it in screen, so you can disconnect from the terminal and the miner will continue to run. To do that run:

screen ./xmr-stak

It will run and you can now disconnect from your putty session or whatever way you are logged in.  If you want to reconnect to your terminal at any time, run the following and you can see your miner running

screen -r

That’s it!  Thanks for reading!

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk

Mining with the Z270X Ultra-Gaming Motherboard

How-To Enable all 6 GPUs with the Z270X Ultra-Gaming Motherboard

I use a fair amount of the Gigabyte Z270X motherboards in my rigs, and have run into an issue where only 5 of the 6 GPUs will be seen by Microsoft Windows 10.  To get the 6th one to display there are a few steps, that I can list below.  The good news is your system will see the GPUs…Windows just doesnt know how to allow the OS to access them all.

First thing….install the latest BIOS for the motherboard.  You can get this from the Gigabyte manufacturer site.

Next, configure the bios by performing the following:

Reboot

Press DEL

Enter Setup

On the M.I.T Tab, navigate to Miscellaneous Settings and select it.

Then select Max Link Speed

Scroll down to Gen 2 and select that option

Next you want to Navigate to the BIOS tab

Scroll down to Windows 8/10 Features and select that option

Make sure Windows 8/10 is selected, not Other OS

Scroll down to CSM Support and select that option

Set it to Disabled

You can now Save and Exit your Bios, reboot your rig, and all of your video cards will be functional.  If you find that you cannot boot your Windows installation, it may be that you need to install the OS using UEFI support.  If that is the case and you do not want rebuild at this time, simply undo the changes above and you are back to where you began.

Hardware I used in this build:
Motherboard (QTY 1):
https://amzn.to/2JqGJZ7

CPU (QTY 1):
https://amzn.to/3qevp2X

Memory (QTY 1):
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):
https://amzn.to/3lic3X5

Risers (QTY 6):
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

GPUs (QTY 6):
https://amzn.to/2JqvXC8

Power Switch (QTY 1):
https://amzn.to/3ljmNVk