It’s pretty straight forward to install AMD drivers on Ubuntu.

Do a fresh installation of Ubuntu 16.04

Download the latest AMD drivers and from the AMD website and perform the following steps.

cd ~/Downloads/

wget --referer http://support.amd.com/ https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.50-511655.tar.xz

Now that the drivers are download we need to tar and uncompress the archive

tar xvf amdgpu-pro-17.50-511655.tar.xz 

cd amdgpu-pro-17.50-511655/

sudo ./amdgpu-pro-install -y --opencl=legacy

Next run the installation

sudo ./amdgpu-pro-install -y --opencl=legacy

Once the installation is completed you should reboot the server to activate the drivers.

You can also read more about install Claymore Dual Miner.