DEVTOME.COM HOSTING COSTS HAVE BEGUN TO EXCEED 115$ MONTHLY. THE ADMINISTRATION IS NO LONGER ABLE TO HANDLE THE COST WITHOUT ASSISTANCE DUE TO THE RISING COST. THIS HAS BEEN OCCURRING FOR ALMOST A YEAR, BUT WE HAVE BEEN HANDLING IT FROM OUR OWN POCKETS. HOWEVER, WITH LITERALLY NO DONATIONS FOR THE PAST 2+ YEARS IT HAS DEPLETED THE BUDGET IN SHORT ORDER WITH THE INCREASE IN ACTIVITY ON THE SITE IN THE PAST 6 MONTHS. OUR CPU USAGE HAS BECOME TOO HIGH TO REMAIN ON A REASONABLE COSTING PLAN THAT WE COULD MAINTAIN. IF YOU WOULD LIKE TO SUPPORT THE DEVTOME PROJECT AND KEEP THE SITE UP/ALIVE PLEASE DONATE (EVEN IF ITS A SATOSHI) TO OUR DEVCOIN 1M4PCuMXvpWX6LHPkBEf3LJ2z1boZv4EQa OR OUR BTC WALLET 16eqEcqfw4zHUh2znvMcmRzGVwCn7CJLxR TO ALLOW US TO AFFORD THE HOSTING.

THE DEVCOIN AND DEVTOME PROJECTS ARE BOTH VERY IMPORTANT TO THE COMMUNITY. PLEASE CONTRIBUTE TO ITS FURTHER SUCCESS FOR ANOTHER 5 OR MORE YEARS!

How to Install Primecoin on Ubuntu

This I am posting here for reference as it has been asked of me by a few people how to do this, as some seem to be having trouble getting primecoin built on Ubuntu.

For this guide I used the Ubuntu 12.04 version.

Using Sunnykings sourcecode version of Primecoin from the github here https://github.com/primecoin/primecoin

Install Git on the linux machine you are dealing with by running the command

sudo apt-get install git

Now that you have git installed on Ubuntu use the command in the terminal:

git clone https://github.com/primecoin/primecoin.git

Once the download has finished change directory into the src folder:

cd ./primecoin/src

You will need to install some dependencies for this to compile for starters

sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libglib2.0-dev libglibmm-2.4-dev
sudo apt-get install libboost-all-dev libdb-dev libdb++-dev libminiupnpc-dev libwxgtk2.8-dev

Please note that I have already installed a number of dependencies for other crypto currency builds and there may be a specific one that is missing from your machine, please let me know if this is the case and I will update this document. But these dependencies are the standard ones for most cryptocoin related clients.

Now just compile in the terminal using the makefile command, I did the compile without UPNP activated

make -f makefile.unix 

I have been looking into various other flags as well to pass into the make command as some people seem to suggest that there is further optimisation that can be achieved this way for the mining. One thing that someone did mention to me was that by adding the flag -mtune=generic to compile the code with the most optimization to the most common CPU's, but give it a try and see if it makes a difference for you.

make -mtune=generic -f makefile.unix 

It will now take some time to compile the code and you will see a number of lines being shown in the terminal. Wait till it has finished and you have control of the terminal again. If at any point it throws an error you may be missing a dependency or something (copy and paste the error message in the discussion on this page or contact FuzzyBear on http://www.devcointalk.org, http://www.ppccointalk.org or http://www.bitcointalk.org if you still having issues.

You have now created the primecoind.exe which you can start by typing

./primecoind --daemon

You will need to set a username and password in the config file located in your home directory .primecoin (this directory may be hidden, so do the show hidden folders) so open that directory and set a username and passwords in a primecoin.conf. I had to create a file which i called primecoin.conf and is identical to the bitcoin conf i have for this test purpose, though i changed port to 9000.

The primecoin.conf should look something like this

# bitcoin.conf configuration file. Lines beginning with # are comments.
# server=1 tells Bitcoin to accept JSON-RPC commands.
server=1

# You must set rpcuser and rpcpassword to secure the JSON-RPC api
rpcuser=USERNAME
rpcpassword=PASSWORD

# Listen for RPC connections on this TCP port:
rpcport=9000

# You can use Bitcoin or bitcoind to send commands to Bitcoin/bitcoind
# running on another host using this option:
rpcconnect=127.0.0.1

# Set gen=1 to attempt to generate bitcoins
gen=1

Restart the primecoind daemon again and this time it should start downloading the blockchain, and boom that's it!!

open another terminal and cd into the src directory again..

cd ./primecoin/src

or right click in the terminal and open new tab (opens in same directory Smiley)

now run various commands against the devcoind such as:

./primecoind getinfo
./primecoind help

if all is well u will get a readout from getinfo command something like:

{
    "version" : "v0.1.0xpm-1-g338e615-beta",
    "protocolversion" : 70001,
    "walletversion" : 60000,
    "balance" : 19.60000000,
    "blocks" : 8729,
    "moneysupply" : 163887.12000000,
    "timeoffset" : 0,
    "connections" : 0,
    "proxy" : "",
    "testnet" : false,
    "keypoololdest" : 1373225667,
    "keypoolsize" : 102,
    "paytxfee" : 0.00000000,
    "errors" : ""
}

so there we go, that's it, congratulations on successfully compiling a program from source code on a Linux machine!! Hope this was helpful all primecoin donations are very much appreciated: AShfbFKbrWPeHmRuJXyskhYaaHauQVHF4b

Computing How_To CryptoCurrency


QR Code
QR Code install_primecoin_ubuntu (generated for current page)
 

Advertise with Anonymous Ads