First Login on Ubuntu 18.04
How To Update the OS During The First Login
Login to the server and run the following commands
sudo bash
apt-get update && apt-get upgrade && apt-get dist-upgrade -y
Operating System / OS Information, How-To’s, Tips, Tools, and Guides for a variety of systems
Login to the server and run the following commands
sudo bash
apt-get update && apt-get upgrade && apt-get dist-upgrade -y
NVidia 1080TI Drivers on Ubuntu 18.04
How to guide for installing drivers for the NVidia 1080TI Video Card
sudo bash
echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf
echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf
update-initramfs -u
reboot
Login and then:
sudo bash
dpkg – -add-architecture i386
apt-get update
apt-get install build-essential libc6:i386 -y
apt-get install pkg-config
apt-get install xorg -y
reboot
Login and then
sudo bash
mkdir /installs && mkdir /installs/drivers && mkdir /installs/drivers/nvidia && cd /installs/drivers/nvidia
Find the drivers from here:
http://www.nvidia.com/Download/index.aspx
Make sure you select the drivers for the Linux 64-bit operating system
Then run
wget and the link that was provided above
Once it is downloaded you will need to run
chmod 755 ./NVI*
./NV*.run
This will begin the installation
Install the 32-bit compatibility libraries
Install and Overwrite with the full version of libglvnd if prompted
Select Yes to run the nvidia-xconfig utility to automatically update your X configuration
Click OK when the installation has completed
reboot
Login as your normal user
Type nvidia-smi to verify all of your adapters show up
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
Once you have installed Ubuntu Server 18.04 onto your cracking station, you can run the following commands to install and configure hashcat.
sudo bash
apt install ocl-icd-libopencl1 git build-essential
mkdir /installs && mkdir /installs/apps && cd /installs/apps
git clone https://github.com/hashcat/hashcat
cd hashcat
git submodule update –init
make
cd ../
git clone https://github.com/hashcat/hashcat-utils
cd hashcat-utils/src
make
cp *.bin ../bin
Now you want to download your wordlists
mkdir /installs/apps/wordlists && cd /installs/apps/wordlists
wget https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt
Assuming you already have a WPA2 file to crack, you will now need to move the hccapx file to a directory on the cracking system
cd /installs/apps/hashcat
Cracking the WPA2 file with a wordlist:
./hashcat -m 2500 /crack/wpa2/wpa.hccapx /installs/apps/wordlists/rockyou.txt
Cracking with
To crack up to 8 digits :
./hashcat -m 2500 /crack/wpa2/wpa.hccapx -a 3 ?d,?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d –increment-min 1 –increment-max 16 –increment
./hashcat -m 2500 -r rules/best64.rule /crack/wpa2/wpa.hccapx /installs/apps/wordlists/rockyou.txt
Open a terminal and type:
sudo usermod -G admin username
or
sudo usermod -a -G admin username
iwconfig
ifconfig wlan2 down
macchanger -a wlan2
ifconfig wlan2 up
Burn the iso to a DVD
(if you need instructions for this please visit this page:)
Insert the XUbuntu 13.04 x64 DVD into the PC
Insert the USB Drive that you will be running the OS on
Power on the computer
Select DVD Drive to boot from
The PC will boot from the DVD
Select Install XUbuntu
Make sure it is connected to the internet and click Continue
Select Something Else and click Continue
Hit the Drop Down menu and Select the USB Drive
My USB drive shows up as /dev/sdb1
Select the USB Drive and click the – symbol to delete all partitions
Select the USB Drive now and click the + symbol
Set the size to 1024, Set the USE AS to SWAP AREA, and click OK
Click on the Free Space on the USB Drive again and select the + symbol
Set the Mount Point to / and click OK
Click on the USB drive one last time and select Install Now
Select your timezone and click Continue
Select your keyboard layout and click continue
Set your name, computer name, password, confirm the password, login automatically, and click Continue
The OS will now install to the USB Drive
After the Installation completes, click Restart Now
Remove the DVD
Boot from the USB Drive
From the command prompt, type:
sudo bash
apt-get install openssh-server
nano /etc/ssh/sshd_config
uncomment the # from the line that says
#Listen 0.0.0.0
and set it to
Listen 192.168.1.10 or whatever the ip address is on your Ubuntu system
Press:
CTRL and O at the same time to save the file
Press:
CTRL and X together to exit
sudo /etc/init.d/ssh restart
Now try to connect to your Ubuntu system from another computer over ssh and it will work
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 seed. DO NOT LOSE THIS
Click the next Arrow
Create a strong Password. DO 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
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
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
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