Install Ubuntu 16.04 :
You can use another operating system such as Xubuntu, EthOS or even the latest version of Ubuntu 18.04. However, for this tutorial, we will use Ubuntu 16.04.
Download Ubuntu 16.04 by clicking here. Then, put the ISO on a bootable USB. After preparing the installation support, install Ubuntu on the hard disk of your RIG.
Follow the instructions, and as soon as the installation is finished, the session will automatically open with Ubuntu. Remember to remove the bootable USB after the installation.
Disable the lock mode :
Disabling the lock mode is extremely important as it avoids your machine to lock during mining.
To change these values, go to Ubuntu settings, then to Brightness & Lock tab. Then, disable Lock and uncheck Require my password when waking from suspend.
Disable Ubuntu sleeping mode
Disabling the sleeping mode is very important because it avoids your computer to enter sleep mode or to switch off, which stops mining activity.
To change these values, go to Ubuntu settings and then to Power tab. Then, set Don’t suspend to Suspend when inactive for.
Open your Ubuntu terminal
To configure your settings, open the terminal and press Ctrl + Alt + T.
Install AMD graphic card’s drivers :
AMD offers graphics drivers that are optimized for mining and offer superior performance over their standard drivers. To install the AMD drivers, download the AMD GPU-PRO driver for Linux 16.04 via this link. Then insert these command lines :
tar -Jxvf amdgpu-pro-17.40-492261.tar.xz
In case the last command does not launch, you must give permissions for it to run. To do this, insert this command line :
sudo chmod -R a+x amdgpu-pro
This may take time as drivers are downloading and installing. When the installation is complete, insert this command line :
sudo usermod -a -G video $LOGNAME
Then install the ROCm component. To do this, insert this command line :
sudo apt install -y rocm-amdgpu-pro
echo 'export LLVM_BIN=/opt/amdgpu-pro/bin' | sudo tee /etc/profile.d/amdgpu-pro.sh
Finally, insert this command line :
Install Claymore on Linux :
To download Claymore, go to this link. We advise you to rename the downloaded archive, in our case we have renamed it claymore. Then insert these command lines :
sudo mkdir /usr/local/claymore
sudo tar -xvf claymore.tar.gz -C /usr/local/claymore
Then, go to the installation directory and create a startup script with the following command lines :
sudo mv * /usr/local/claymore
sudo rm -r Clay*
sudo chown root:root ethdcrminer64
sudo chmod 755 ethdcrminer64
sudo chmod u+s ethdcrminer64
sudo nano mine.sh
A new window will appear and you will set up Claymore. In this window, choose your Cruxpool server according to your location :
Then, put your wallet address in place of YOUR_WALLET. As for the other features to add to the software, check them out on this link. Once you have set up Claymore, press Ctrl + X to save and confirm with (Y)es.
Then, give the file permission to execute, using this command line :
sudo chmod a+x mine.sh
Finally, launch mining operation using this command line :