Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: cryptohunter on July 17, 2013, 03:23:50 PM



Title: Any Centos experts out there that can make this work?
Post by: cryptohunter on July 17, 2013, 03:23:50 PM
Hi,

I am trying to follow this guide for unbutu however none of my servers run that only centos 6.3 64bit

Some people have this working on Centos, but i can't get it to work at all. Seems some of the commands are different and also this module libssl-dev libboost-all-dev libdb5.3++-dev -y  seems not to exist for centos??

----------------------------------------------------------------------------------
If you are running Ubuntu 12.10, run this extra command line:
apt-get install make

Then copy and paste these command lines one by one (hint – if you use PuTTY as mentioned above, simply copy each line here with Ctrl+C and then right click your mouse inside PuTTY Connection Manager window, to save you from manual typing and errors):
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile
wget -O primecoin-0.1.1-hp4.tar.bz2 "http://sourceforge.net/projects/primecoin-hp/files/0.1.1-hp4/primecoin-0.1.1-hp4.tar.bz2"
tar -xvjf primecoin-0.1.1-hp4.tar.bz2
mv primecoin-0.1.1-hp4 primecoin
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
apt-get install libgmp-dev
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=ANYUSERNAMEYOUSET
rpcpassword=YOURRANDOMVERYLONGPASSWORD
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.
primecoind --daemon
watch -n 5 'primecoind getmininginfo & primecoind getbalance & primecoind getconnectioncount'


---------------------------------------------------


can anyone write a guide that will work on centos? many people use centos and not unbuntu i would think?


Title: Re: Any Centos experts out there that can make this work?
Post by: cryptohunter on July 17, 2013, 05:32:10 PM
nobody here is using centos at all ? terrible news :( have to get a new server with ubuntu now i guess.


Title: Re: Any Centos experts out there that can make this work?
Post by: cp1 on July 17, 2013, 06:16:50 PM
It's tough without the actual error, but from what you wrote I guess the libraries aren't available for that distribution.  So just download and compile them.


Title: Re: Any Centos experts out there that can make this work?
Post by: RichG on July 17, 2013, 06:19:16 PM
*AHEM*

Trying to follow this.

Why are you using APT on CentOS? Shouldn't you be using YUM?


Title: Re: Any Centos experts out there that can make this work?
Post by: Raoul Duke on July 17, 2013, 06:24:21 PM
The libraries packages have different names on CentOs - Google is your friend
Try this:
Code:
yum install libdb-devel libboost-devel openssl-devel


Title: Re: Any Centos experts out there that can make this work?
Post by: Raoul Duke on July 17, 2013, 06:25:58 PM
*AHEM*

Trying to follow this.

Why are you using APT on CentOS? Shouldn't you be using YUM?

The apt command is a copy/paste from the Bitcoin readme or install file


Title: Re: Any Centos experts out there that can make this work?
Post by: RichG on July 17, 2013, 06:41:47 PM
*AHEM*

Trying to follow this.

Why are you using APT on CentOS? Shouldn't you be using YUM?

The apt command is a copy/paste from the Bitcoin readme or install file
Oh... Thank you.