Bitcoin mining for Ubuntu – Command line and Software

Bitcoin mining for Ubuntu - Command line and Software

Bitcoin Mining For Ubuntu – This guide describes the steps you need to take to install a miner on Linux, in particular, Ubuntu. It is intended to install AMD SDK version 2.1 or 2.4. All commands are entered into the console. 
Using the terminal window or SSH connections, the following commands are executed:

1. sudo add-apt-repository ppa: ubuntu-x-swat / x-updates

2. Enter your password if requested by the system.

3. sudo apt-get update

4. sudo apt-get install screen

5. First, we will install the packages we need. To parallel installation we could download a few files, run the installation using the command screen: 

screen -S the update sudo the apt-the get the install the fglrx vim The openssh-server g ++ libboost-all-dev a subversion the git-core for python-numpy 

This command will create a separate console window where updates will be performed.

6. When the updates start to install, press CTRL-A, then “d”. This will disconnect from the window created using the screen command and return you to your command prompt.

7. wget 
For version 2.4, you do not need to download this archive, since it will be located inside the archive, which will be downloaded further.

8. wget

9. Download the SDK application:For a 32-bit system, execute:
If you install the AMD SDK version 2.1: 
wget http : //download2-developer.amd/amd/Stream20GA/ati-stream-sdk-v2.1-lnx32.tgz 
if 2.4, then execute : 

Read This Now:   NVIDIA GTX 1660 Ti GPU Mining: Ethereum Hashrate| Overclocking| Benchmark

For a 64-bit system, do this:
Version 2.1: 
wget http: // download2-developer. 
Version 2.4: 
wget -lnx64.tgz 
And wait for the download to complete.

10. If the 32-bit version is downloaded:
sudo tar xvfz ati-stream-sdk-v2.1-lnx32.tgz -C / opt 
sudo tar xvfz AMD-APP-SDK-v2.4-lnx32.tgz – C / opt 

For 64-bit:
sudo tar xvfz ati-stream-sdk-v2.1-lnx64.tgz -C / opt 
sudo tar xvfz AMD-APP-SDK-v2.4-lnx64.tgz -C / opt

11. Unpack icd-registration.tgz. As the path, specify the / – root directory, then the folder with configs will be added to / etc. For program version 2.1: 
sudo tar xvfz icd-registration.tgz -C / 
For 2.4: 
sudo tar xvfz /opt/AMD-APP-SDK-v2.4-lnx32/icd-registration.tgz -C / 
or, depending on the program 
bits : sudo tar xvfz /opt/AMD-APP-SDK-v2.4-lnx64/icd-registration.tgz -C /

12. sudo tar zxfv pyopencl-0.92.tar.gz -C / opt

13. screen -r update

13a. If you get the message “There is no screen to be resumed” go to the next step. Otherwise, wait until the update is complete. When it is over, press Ctrl + d to delete the created screen.

14. wget

15. sudo tar xvfz python-jsonrpc.tar.gz -C / opt

16. svn checkout

17. git clone git: // poclbm

18. mv trunk phoenix

19. echo export DISPLAY =: 0 >> ~ / .bashrc

20. cd /opt/pyopencl-0.92

Read This Now:   15 Best Cryptocurrency Mining Programs - Pros |Cons

21. In the case of 32-bit: 

For program version 2.1: 
sudo sh -c ‘echo “/opt/ati-stream-sdk-v2.1-lnx32/lib/x86/” >> /etc/ .d / local.conf ‘ 
./ –cl-inc-dir = / opt / ati-stream-sdk-v2.1-lnx32 / include / –cl-lib-dir = / opt / ati- stream-sdk-v2.1-lnx32 / lib / x86 

Version 2.4: 
sudo sh -c ‘echo “/opt/AMD-APP-SDK-v2.4-lnx32/lib/x86/” >> / etc / ld. so.conf.d / local.conf ‘ 
./ –cl-inc-dir = / opt / AMD-APP-SDK-v2.4-lnx32 / include / –cl-lib-dir = / opt /AMD-APP-SDK-v2.4-lnx32/lib/x86 


For program version 2.1: 
sudo sh -c ‘echo “/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64 / “>> /etc/ ‘
./ –cl-inc-dir = / opt / ati-stream-sdk-v2.1-lnx64 / include / –cl-lib-dir = / opt / ati-stream-sdk-v2.1 -lnx64 / lib / x86_64 

Version 2.4: 
sudo sh -c ‘echo “/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/” >> /etc/ .conf 
’64-bit 22. ./ –cl-inc-dir = / opt / AMD-APP-SDK-v2.4-lnx64 / include / –cl-lib-dir = / opt / AMD -APP-SDK-v2.4-lnx64 / lib / x86_64

22. sudo ldconfig

23. source ~ / .bashrc

24. make -j3

25. sudo make install

26. cd ../python-jsonrpc

27. sudo python install

28. cd ~

29. chmod + x phoenix / poclbm /

30. sudo aticonfig –initial -f –adapter = all

31. Restart the computer:

sudo reboot

That’s all. Now you have a fully working Phoenix miner with poclbm installed. To check the performance you should go to the poclbm directory:

cd poclbm

and run poclbm:


You should see your CPU and your graphics availability graphical cores. 
There are some more useful commands for working with video cards:

To display temperatures on your cores , run:

aticonfig –odgt –adapter = all

To display the clock frequency on your cores:aticonfig –odgc –adapter = all

Read This Now:   20 + Best amd mining motherboard: Comparison| Price | Specs | Reasons To buy

Display or set the rotation speed of the cooler. 

Show cooler rotation speed: 

aticonfig –pplib-cmd “get fanspeed 0” 

Set the rotational speed of the cooler 100%: 

aticonfig –pplib-cmd “set fanspeed 0 100”

Show the speed of the cooler on the second map: 

export DISPLAY =: 0.1; aticonfig –pplib-cmd “get fanspeed 0” 

You can replace 1 with 2, 3, etc. in accordance with the number of video cards in the system.

Clock change. To set the core clock frequency level of 900MHz and the memory clock frequency of 1000MHz on all cards (you can change according to your desire): 

aticonfig –od-setclocks = 900,1000 –adapter = all 

To set these values ​​for a single card, change –adapter = all to the number of the adapter, the change in which you want to make.

Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/gamefeve/ on line 5373

Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/gamefeve/ on line 5373