Zcash AMD GPU Mining Tutorial Ubuntu 16.04 LTS
I just recently decided to mine some Zcash.
So I thought I would post the code I used.
It is Super easy!
(If anyone wants an ethereum mining post just let me know)
=============================================================
Install 16.04 LTS (I usually use a Usb stick. A simple google search will do.)
=============================================================
Make a free account at the suprnova zcash mining pool
https://zec.suprnova.cc/index.php?page=register
Login to suprnova account and create a worker with a password
We will use the worker and password to point our miner to the pool.
Also you will be able to use the suprnova account to monitor your hash rate etc.
This is the pool address that we will use later.
US Mining Node: stratum+tcp://zec-us.suprnova.cc:2142
=============================================================
Setting up
Install and Enable SSH by opening terminal and typing the following:
sudo apt-get update
sudo apt-get install openssh-server
From this point you can choose to either proceed on the local machine, or remotely on a Windows machine using PUTTY (I USE TEAMVIEWER! IT IS AWESOME AND EASY TO INSTALL)
Create a new usergroup called video and append the current user to it by typing the following:
sudo usermod -a -G video $LOGNAME
sudo reboot
=============================================================
Installing AMD Drivers
If you plan to use an AMD card in your rig, you will need to install the AMD drivers
Install the AMD drivers by typing the following:
cd ~/Downloads
wget --referer=http://support.amd.com https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.30-458935.tar.xz
tar -Jxvf amdgpu-pro-17.30-458935.tar.xz
cd amdgpu-pro-17.30-458935
./amdgpu-pro-install -y
=============================================================
After install type this command (MUST DO THIS)
./amdgpu-pro-install --px
This issue is caused when the AMD graphics card conflicts with the inbuilt or on-motherboard graphics driver. This command will first uninstall the previous installation and then reinstall with --px parameter.
=============================================================
Install the dependencies typing the following:. On Debian/Ubuntu-based systems:
sudo apt-get install \build-essential pkg-config libc6-dev m4 g++-multilib \autoconf libtool ncurses-dev unzip git python \zlib1g-dev wget bsdmainutils automake opencl-headers \mesa-common-dev
=============================================================
Install GIT
apt-get install git
=============================================================
Install Zogminer
Fetch the repository with git and run fetch-params.sh like so:
git clone https://github.com/nginnever/zogminer.git
cd zogminer/
./zcutil/fetch-params.sh
Ensure you have successfully installed all system dependencies as described above. Then run the build.
./zcutil/build.sh -j$(nproc)
This should compile our dependencies and build zcash-miner.
=============================================================
Now to start the miner you have to navigate to the zogminer folder.
cd ~/zogminer
Then run this command (you must modify this command as explained below)
./src/zcash-miner -G -stratum="stratum+tcp://<address>:<port>" -user=<user> -password=<pass>
=====CHANGE THIS PART OF THE TEXT stratum+tcp://<address>:<port>
=====TO THIS stratum+tcp://zec-us.suprnova.cc:2142
=====CHANGE THIS PART OF THE TEXT -user=<user> -password=<pass>
=====USING YOUR SUPRNOVA LOGIN AND WORKER NAME AND WORKER PASS
===== -login=worker -password=workerpass
=====MINE LOOKS LIKE THIS
./src/zcash-miner -G -stratum="stratum+tcp://zec.suprnova.cc:2142" -user=jeramy.worker1 -pass=5823
============== RUN THE ABOVE COMMAND TO START THE MINER ==============
You can always message me if you have issues I dont mind helping.
If you found this useful then you can donate to one of my wallets.
Zcash
t1VjWwuJwZaXmVGDrzG2pWeS5eUzrQcEa7B
Ethereum
0xBACbD62753C2Fb09AcB05c0aaAC040Dc1505bF31
Bitcoin
3Kxzm7HiBBJqpHBFdmPacjfQsvttydaGmp