Skip to content

Mining Minex on Ubuntu 18.04 Using EWBF with NVIDIA 1080TI Cards

  • Mining

How To Install and Run EWBF 0.6 for MINEXCOIN on UBUNTU 18.04

login

sudo bash

apt-get update
apt-get dist-upgrade
apt-get install gcc libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev screen

lspci | grep -i nvidia

Check to see if all gpus are listed

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

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

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

apt-get update

apt-get install nvidia-driver-410

reboot

nvidia-smi

cd /miner/drivers/ewbf

wget

tar xf EWBF*.gz

cd EW*

nano start.sh

#!/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
./miner –algo 96_5 –server stratum.minexpool.eu –port 3333 –user XaaXTPw4UwL8xnkdStHTCCMRXAWB8Ek1er.tacticalware –pass x –templimit 85 –solver 0 –pec 0

Save, Exit, and then

chmod +x start.sh

screen ./start.sh

Now check your miner periodically to see if it is running, inserting your wallet address in place of my wallet   (XaaXTPw4UwL8xnkdStHTCCMRXAWB8Ek1er):

!miner/XaaXTPw4UwL8xnkdStHTCCMRXAWB8Ek1er

And you are done!

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

Thanks for reading!

Google Search Operators

Quick Reference

cache:site.com
allintext:
intext:
inposttitle:
allintitle:
intitle:
allinurl:
inurl:
allinanchor:
inanchor:
filetype:
related:
info:
daterange:
link:
around()
“search exact string”
-word
+word
word or word
word | word
“word * word” – acts as a wildcard rock * roll
word #..# – to display number ranges
word $ – searches prices
word in word – converts (10ft in cm)

Remove Duplicate Files Named “_conflict” in OwnCloud

  • General

Remove Files and Regain Space in OwnCloud

This is a quick how to on removing all of you “_conflict” files all at once

On the OwnCloud server open up a terminal

Type:
sudo bash

Enter your password

Type
cd /

Type
find ./* -name *_conflict*
this will list all of the files

find ./* -name *_conflict* -delete
this will delete all of the files

Thats it!

Installing VNC on XUBUNTU

This is a quick how to on installing VNC for XUbuntu on 12.04

Open a terminal

Type:
sudo bash, and press Enter

Enter your password when prompted and press Enter

Type:
apt-get install x11vnc vnc-java and press Enter

Press Y to install VNC

After the install completes type:
x11vnc -storepasswd and press Enter

Set your password and confirm it

Open your firewall now by typing:
iptables -A INPUT -i eth0 -p tcp -m tcp – -dport 5800 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp -m tcp – -dport 5900 -j ACCEPT
iptables -A INPUT -i ham0 -p tcp -m tcp – -dport 5800 -j ACCEPT
iptables -A INPUT -i ham0 -p tcp -m tcp – -dport 5900 -j ACCEPT

To start VNC type:
x11vnc -forever -httpdir /usr/share/vnc-java -httpport 5800

Now you can connect to the computer with the info listed on the screen

Hashcat Build and Benchmarking

Installing, Configuring, and Benchmarking Hashcat on a 6GPU NVIDIA 1080TI Rig

Ubuntu Server 18.04 has been installed, cards connected, and these directions pickup at your very first login

Login

sudo bash

apt-get update && apt-get upgrade

apt-get dist-upgrade

add-apt-repository universe

apt-get install gcc libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev screen

lspci | grep -i nvidia

You should see all of your video cards listed here

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

mkdir /installs && mkdir /installs/drivers/ && mkdir /installs/drivers/intel && mkdir /installs/drivers/nvidia && cd /installs/drivers/nvidia

sudo add-apt-repository ppa:graphics-drivers/ppa && sudo apt update && apt-get install nvidia-driver-410

reboot

Login

sudo bash

nvidia-smi

You will now see your NVidia cards listed

cd /installs/drivers/nvidia

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/yourusernamegoeshere/ && 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

apt-get install hashcat

Now for the OpenCL CPU drivers..I am using an Intel Celeron Processor, so these steps are needed for Hashcat to work properly.  These are not needed for the GPUs

sudo apt-get install ccache flex bison clang-4.0 cmake g++ git patch zlib1g-dev autoconf xutils-dev libtool pkg-config libpciaccess-dev

mkdir -p /installs/drivers/intel-compute-runtime/workspace

cd  /installs/drivers/intel-compute-runtime/workspace

git clone -b release_40 https://github.com/llvm-mirror/clang clang_source

git clone https://github.com/intel/opencl-clang common_clang

git clone https://github.com/intel/llvm-patches llvm_patches

git clone -b release_40 https://github.com/llvm-mirror/llvm llvm_source

git clone https://github.com/intel/gmmlib gmmlib

git clone https://github.com/intel/intel-graphics-compiler igc

git clone https://github.com/KhronosGroup/OpenCL-Headers khronos

git clone https://github.com/intel/compute-runtime neo

ln -s khronos opencl_headers

mkdir -p /installs/drivers/intel-compute-runtime/workspace/build_igc

cd /installs/drivers/intel-compute-runtime/workspace/build_igc

cmake -DIGC_OPTION__OUTPUT_DIR=../igc-install/Release \
-DCMAKE_BUILD_TYPE=Release -DIGC_OPTION__ARCHITECTURE_TARGET=Linux64 \
../igc/IGC

time make -j$(nproc) VERBOSE=1

Now you can generate Debian archives for installation:

time make -j$(nproc) package VERBOSE=1

Install:

sudo dpkg -i *.deb

nano /etc/environment

To the end of the first line (PATH), add the following:

:/usr/local/cuda/bin:/usr/lib/llvm-4.0/bin

Save and Exit

source /etc/environment

mkdir -p /installs/drivers/intel-compute-runtime/workspace/build_icr

cd /installs/drivers/intel-compute-runtime/workspace/build_icr

cmake -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release ../neo

time make -j$(nproc) package VERBOSE=1

sudo dpkg -i *.deb

apt-get install clinfo

clinfo

Now you should see that ICD is installed

And finally you can run

hashcat -b

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

 

Mount USB Drive

How to Mount a USB Drive on Ubuntu Server

Login

sudo bash

fdisk -l

Identify the usb drive by looking for the size/name/etc and then note the path (ex /dev/sdb)

mount /dev/sdb /mnt

cd /mnt

Now you should see your files!