How to mine Bitcoin in Ubuntu using OpenCL and Bitcoinminer.py

Bitcoin is a form of decentralize digital currency, so unlike other digital currency services (like e-gold), bitcoin is not susceptible to be frozen, seized or invalidated. Bitcoin can be transfered transfered directly from person to person directly without intermediaries.

Bitcoin are generated over the internet by application called bitcoin miners using a set of algorithm to ensure that the number of generated bitcoin is within predictable and limited range. Though with the numbers of bitcoin in circulation today means that it would require significant processing power to generate bitcoins, it doesn’t stop anybody who are willing to try and mine them.

For a brief introduction to Bitcoin, please watch :

Bitcoin Miner on Ubuntu ?
Enter OpenCL and Bitcoinminer.py which allows bitcoin to be mined using a much more efficient GPU power (certain models of Nvidia and ATI graphic cards only, with appropriate drivers).

Step 1: To install the miner, you need to “install python-pyopencl subversion.

Step 2: Then you need to use subversion to obtain python-jsonrpc, by running:

svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc
cd python-jsonrpc/
sudo python setup.py install

Step 3: Then you need to generate bitcoin.conf file:

cd ..
mkdir .bitcoin
echo "rpcuser=username" > .bitcoin/bitcoin.conf
echo "rpcpassword=password" >> .bitcoin/bitcoin.conf

Step 4: After that, download BitcoinMiner files

wget --no-check-certificate https://github.com/m0mchil/poclbm/raw/master/BitcoinMiner.cl
wget --no-check-certificate https://github.com/m0mchil/poclbm/raw/master/BitcoinMiner.py
wget --no-check-certificate https://github.com/m0mchil/poclbm/raw/master/poclbm.py

Step 5: Download bitcoin server for linux

wget http://iweb.dl.sourceforge.net/project/bitcoin/Bitcoin/bitcoin-0.3.19/bitcoin-0.3.19-linux.tar.gz
tar xvf bitcoin-0.3.19-linux.tar.gz
~/bitcoin-0.3.19/bin/64/bitcoin -server&

Step 6: Then finally, running the miner

python poclbm.py -d 0 --user username --pass password

The parameter -d 0 denotes that the miner will use GPU #1 for its bitcoin mining generation, increment it to -d 1 for GPU #2 and so forth. Change the “password” and “username” parameter from Step 3 and Step 6 appropriately to keep people from reaping the fruits (read: steal bitcoins) of your mining operation.

For more information about mining bitcoins and about Bitcoin in general, please visit : WeUseCoins website

Tweaking Ubuntu with Ubuntu Tweak!

Ubuntu Tweak

Ubuntu Tweak is an application that makes it easier for user to configure their Ubuntu computer.

Among the features of Ubuntu Tweak are :

  • Display Basic System Information
  • Tweaks GNOME Session Control
  • Edit Application Auto Start setting
  • Clean cache and temporary files
  • Change Default Splash Screen (or hides them!)
  • Easy to configure System Security Settings
  • Panel Tweaking
  • Tweaks Power Management Settings (useful for netbook!)
  • And many more

Visit Ubuntu Tweak website for more information!

Ubuntu 11.04 Natty Narwhal Tutorial Video

The tutorial video is largely aimed for those who are new to Ubuntu. It covers topic ranging from:

  • Installation (Dual boot & Slideshow)
  • Pre-Installed Software (LibreOffice 3.3, Firefox 4, Banshee Media Player, Ubuntu One, Software Centre, Puzzle Games, and a 3D shooter)
  • Desktop & Unity Features (inc Compiz)
  • Installing Software (few apps to try)
  • Conclusion

The video is easy to follow and comprehensive. Moreover, its Youtube page contains Chapter Timing bookmarks, which enables user to skip to appropriate chapter without going through the video serially.

How to remove user name from MeMenu in Unity (Ubuntu Natty)

The newly released Ubuntu 11.04 (Natty Narwhal) features Unity shell interface which displays the current user name the top right of the panel (MeMenu) that adds a personalized feeling to desktop users.

However some users might not be comfortable to have their username appears on the computer screen, especially when they are working on a publicly accessible computer or when they do not want their username to appear on screenshots or screen-casts of their desktop.

So to remove the username, one only need to open a console, and run the following command:
gconftool -s /system/indicator/me/display –type int 0

Before

Before

After

Before

Alternatively, you can also choose to display your own fullname on MeMenu. You can do that by running the following command:
gconftool -s /system/indicator/me/display –type int 2

You return to the default setting of displaying your current username, by running:
gconftool -s /system/indicator/me/display –type int 1

.
.
.
[via Chicomonte]