Bitcoin mining debian squeeze
Once cloned down, you should now be able to enter the directory and run the client. I can tell you that so far, my experience with this has been riddled with questions and problems that have sucked hours to research. I've tried to provide as much information as I can on this. One of the biggest problesm that I've run into is an error as follows:.
What I can tell you is that I have yet to get a solid explaination from another site or IRC on this message. One thing to keep in mind is that passwords with control characters or things that exist in shell syntax can be risky to use. Oh, and if this helped and you feel so inclined as to donate, I will happily accept: This article assumes the following: You are proficient with Debian You are looking to mine in a pool of miners, this does not describe setup for solo mining You have already researched basic bitcoin information and have a general familiarity with it You have a bitcoin wallet You have setup an account with a miner pool First, you need to make sure you have contrib in your sources list or this won't be particularly easy.
As an example, see below: Installing WX Tools apt-get install python-wxtools Installing jsonrpc git clone https: One of the biggest problesm that I've run into is an error as follows: Good luck and happy mining! If you really want to use Berkeley DB v4. Continuing on, lets add a parameter for the build process to just use the newer version of Berkeley DB we already have.
The flag above will allow the binary to compile but any wallets created on the system will not be portable. If you are not planning on using the wallet functionality and simply want to run a P2P node.
You can go one step further and simply disable the functionality altogether by appending the flag below instead. With the Berkeley DB issue fixed its time to run the actual build process.
On completion of the build process you should have a freshly made. Up to this point you have probably been logged into your machine as root either natively or using sudo to elevate you privileges for the build process. So lets add dedicated user account to run the service under so its not running with root privileges:. In this file at a minimum add two lines see below for example defining a user and password for the JSON RPC web service that allows you to interact with the node.
For an example file config file showing some of the other possible parameters I recommend taking a look at the Bitcoin Wiki to see all of the options available. If you look in the same directory as the config file you created for the service you should also see a log file named debug.
If you use the tail command to follow the log file i. The log will show your node syncing with the blockchain, running through all the old blocks to bring itself up to speed with where things are now.
This is a slow process and could take up to a few days to fully sync with the network depending on the connection speed. Hardening your new node with some firewall rules is also a pretty good idea to help things secure. Create yourself a script in an editor, with some iptables rules similar to below. If you are not planning on running a web server on the node then I recommend removing the two rules that allow HTTP traffic through on port After entering your firewall rules save the file, add change the file permissions so it can be executed.
Then simply run to activate your firewall rules. If you want to see how much bandwidth your node is using I also recommend installing the vnstat package. This will give you some basic information on the amount of traffic your node is consuming on a daily, weekly, monthly basis.
Replace eth0 with the interface you would like to track on your machine. The last command will just display a brief summary of what is happening traffic wise. But you can pull this information in a number of different formations for the full options run vnstat —help. Are you still awake after reading all that? Are you feeling rich? Beer money is always greatly appreciated! The Offical home of Bitcoin. The Bitcoin project on GitHub. Mastering Bitcoin a solid book containing most of the things you need to know about Bitcoin and the Blockchain while still remaining easy enough to read.