天天看點

dogecoind在CentOS安裝參考Compiling dogecoind on CentOSHeadless Dogecoind on CentOS 6.5 x86_64

There seems to be some collective difficulty installing altcoin programs on CentOS. This shouldn‘t come as a surprise to anybody who has used CentOS on even a semi-regular basis. Compiling from source can be frustrating in its own right, but doing so on

Cent can often lead to experiencing new levels of !

Dogecoin (?) is but one of the many open-source cryptocurrencies that have cropped up in this new era of electronic money. Doge is a fork of LiteCoin (arguably the second most traded cryptocurrency presently) and isscrypt based instead of beingsha

based like Bitcoin. You may ask yourself... "Ok, but what does this all mean?" The high-level meaning is you can still actually mine Dogecoin with your CPU or Graphics Card. You don‘t have to go out and get a specialized mining asic to have a shot at mining

your own doggy coins.

If you are still confused, I recommend watching the video below. It is very informative and will tell you everything you need to know about ?oge.

Or maybe reading the and the site.

Now, without further delay... to the moon!

Dogecoind is the daemon program for Dogecoin. The daemon allows you to interact with the dogecoin blockchain to do many different things like create a wallet, send and receive ? and even mine for new coins. The daemon usually comes in two different, but

functionally identical, forms; a headless interface known as <code>dogecoind</code> and a graphical interface commonly referred to as<code>dogecoin-qt</code>. This guide will cover installing the headless version system-wide.

I always recommend ensuring your existing packages are up to date before installing anything new. You can install available updates with<code>yum</code>. If there are no updates available theupdate will inform you of such and do nothing.

Now we will install the some of the dependencies required that do not need to be compiled from source.

The current version of in CentOS is <code>1.0.1e</code>. This is actually pretty good for CentOS. It is only one release behind at the time of writing this. Unfortunately this versionwill not work with dogecoind. This is due to required components being

excluded upstream with RedHat due to potential IP concerns. This crippled version of OpenSSL is the bane of many people trying to install many different modern programs on RHEL-Based distributions (such as CentOS). You can read all about it in thisentry

and the entries referenced within it. The version that comes with CentOS supports only two curves. The version that we are building from source supports 73.

Not caring about anything other than rolling in the ?oge; we will install the current version, in all its full-flavored glory, concurrently with the system version.

is a collection of C++ libraries.

is a library that provides high-performance database functionality.

Again, is the daemon used to interact with Dogecoin.

The system should now compile the <code>dogecoind</code> binary and place it in the current directory. You will most likely want to<code>strip</code> debugging symbols out of the binary and move it somewhere in your<code>$PATH</code>. This allows<code>dogecoind</code>

to be easily executed without specifying the absolute path to the binary each time.

It seems like 99% of the cryptocurrencies use the same style configuration file. Doge is nearly functionally identical to LiteCoin. It is generally safe to use litecoin documentation when looking up.

&lt; OPTIONAL &gt; - If you do not have a regular, non-root, user then you can create one using the<code>useradd</code> command. Remember to substitute<code>username</code> for the actual username you wish to create.

Now you will want to assume the identity of a non-privileged user. For example, the userdoge.

Once you‘ve assumed the identity of a non-privileged user you will want to run<code>dogecoind</code>.

You should be presented with text similar to:

The first run creates the required directory structure and puts necessary files in place within that structure.

We will now fetch a basic configuration file and modify it to suit our needs.

This file has nothing more than some current nodes in it so we will need to modify it some. Open<code>~/.dogecoin/dogecoin.conf</code> in your linux text editor of choice and add the following options:

There is a more complete list of available options and what they do in the .

附上 centos-install.sh