Build: Ubuntu 17.01
cpuminer: yes
gpuminer: AMD
Here's the quick steps all in one spot. My build is based on getting the basics installed locally and then doing the rest from my desk
1. Install Ubuntu 17.10
2. Boot up
3. Ctrl-alt-t (opens a terminal window)
sudo apt-get install ssh
4. Back at your desk...
ssh user@miner
5. I like using webmin on my boxes..so install this first
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.860_all.deb
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
sudo dpkg --install webmin_1.860_all.deb
6. Do some basic maintenance
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get autoclean
sudo apt-get autoremove
7. Somehow transfer the AMD linux driver and AMD SDK. I use the upload/download feature in webmin to move the files. Download them from here:
AMD Pro beta miner linux driver:
http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-Pro-Beta-Mining-Driver-for-Linux-Release-Notes.aspx
AMD SDK
http://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/
8. Install the AMD components:
tar -Jxvf amdgpu-pro-17.40-483984.tar.xz
sudo ./amdgpu-pro-17.40-483984/amdgpu-pro-install
tar -jxvf AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2
sudo ./AMD-APP-SDK-v3.0.130.136-GA-linux64.sh
sudo nano /etc/default/grub
edit the following line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.vm_fragment_size=9"
sudo update-grub
sudo usermod -a -G video $LOGNAME
Fix a problem with sympolic links:
9. Install components for xmr-stak and compile
10. Run it!
------- Optional Extras ------------
Temperature sensor:
Was this helpful? Consider sending a small thank you to me:
xmr: 43nmCDSy9NBeFhdQQJLb3n5gdPzJPWviq2jCviBkJPovC7uWJ7Dj76o6ruqAvKRfCfJza3ZDFdQpUhe19TfCVHA27awvfdd
cpuminer: yes
gpuminer: AMD
Here's the quick steps all in one spot. My build is based on getting the basics installed locally and then doing the rest from my desk
1. Install Ubuntu 17.10
2. Boot up
3. Ctrl-alt-t (opens a terminal window)
sudo apt-get install ssh
4. Back at your desk...
ssh user@miner
5. I like using webmin on my boxes..so install this first
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.860_all.deb
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
sudo dpkg --install webmin_1.860_all.deb
6. Do some basic maintenance
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get autoclean
sudo apt-get autoremove
7. Somehow transfer the AMD linux driver and AMD SDK. I use the upload/download feature in webmin to move the files. Download them from here:
AMD Pro beta miner linux driver:
http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-Pro-Beta-Mining-Driver-for-Linux-Release-Notes.aspx
AMD SDK
http://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/
8. Install the AMD components:
tar -Jxvf amdgpu-pro-17.40-483984.tar.xz
sudo ./amdgpu-pro-17.40-483984/amdgpu-pro-install
tar -jxvf AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2
sudo ./AMD-APP-SDK-v3.0.130.136-GA-linux64.sh
sudo nano /etc/default/grub
edit the following line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.vm_fragment_size=9"
sudo update-grub
sudo usermod -a -G video $LOGNAME
Fix a problem with sympolic links:
cd $AMDAPPSDKROOT/lib/x86_64sudo ln -sf sdk/libOpenCL.so.1 libOpenCL.so
9. Install components for xmr-stak and compile
sudo apt install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev gitgit clone https://github.com/fireice-uk/xmr-stak.gitmkdir xmr-stak/buildcd xmr-stak/buildcmake .. -DCUDA_ENABLE=OFFmake installcd ..mkdir bincp ./build/bin/* ./bin
10. Run it!
or run it in the background!./bin/xmr-stak
nohup ./bin/xmr-stak &
------- Optional Extras ------------
Temperature sensor:
sudo apt-get install lm-sensors
sudo sensors-detect
sudo service kmod start
sensors
Was this helpful? Consider sending a small thank you to me:
xmr: 43nmCDSy9NBeFhdQQJLb3n5gdPzJPWviq2jCviBkJPovC7uWJ7Dj76o6ruqAvKRfCfJza3ZDFdQpUhe19TfCVHA27awvfdd
Hey thanks for this, I'm running into a problem. I don't have a directory
ReplyDelete$AMDAPPSDKROOT/lib/x86_64
I have a $AMDAPPSDKROOT/lib/x86_64-linux-gnu
but if I do the sudo ln -sf sdk/libOpenCL.so.1 libOpenCL.so in that directory I get...
make[2]: *** No rule to make target '/lib/x86_64-linux-gnu/libOpenCL.so', needed by 'bin/libxmrstak_opencl_backend.so'. Stop.
CMakeFiles/Makefile2:142: recipe for target 'CMakeFiles/xmrstak_opencl_backend.dir/all' failed
make[1]: *** [CMakeFiles/xmrstak_opencl_backend.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Any ideas?