Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Nrcewker on March 14, 2018, 02:54:59 PM



Title: Request Install Bitcoin Daemon on Centos 7 64Bit
Post by: Nrcewker on March 14, 2018, 02:54:59 PM
Hello i am using Centos 7 64bit + Cpanel WHM

please post here full instructions of installing Bitcoind securly and step by step i tried lot of but most of them are out dated

thank you


Title: Re: Request Install Bitcoin Daemon on Centos 7 64Bit
Post by: jrian on March 15, 2018, 01:08:34 PM
at first, you have to use ssh, not cpanel

here is "quick" manual
Code:

wget https://bitcoin.org/bin/bitcoin-core-0.16.0/bitcoin-0.16.0-x86_64-linux-gnu.tar.gz
wget https://bitcoin.org/bin/bitcoin-core-0.16.0/SHA256SUMS.asc
wget https://bitcoin.org/laanwj-releases.asc
gpg --import laanwj-releases.asc
gpg < SHA256SUMS.asc | sha256sum -c
tar -zxvf bitcoin-0.16.0-x86_64-linux-gnu.tar.gz
sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-0.16.0/bin/*


then, you have to create directory for bitcoin and config

Code:
mkdir ~/.bitcoin
vi ~/.bitcoin/bitcoin.conf

use your preferred settings for bitcoin.conf. then, just run bitcoin core as daemon

Code:
bitcoind -daemon


thats all


Title: Re: Request Install Bitcoin Daemon on Centos 7 64Bit
Post by: Nrcewker on April 02, 2018, 05:21:35 AM
Thank you its works for me
can you help me little bit more

How can i check bitcoind status if its running or on which port ?


Title: Re: Request Install Bitcoin Daemon on Centos 7 64Bit
Post by: starmyc on April 02, 2018, 07:30:08 AM
Thank you its works for me
can you help me little bit more

How can i check bitcoind status if its running or on which port ?

Using ps & netstat commands:

Code:
# ps auxww|grep bitcoind|grep -v grep
testaroo  20756  0.6  1.2 1771772 406756 ?      Ssl  Mar20 122:54 /opt/bitcoin/bin/bitcoind -server -daemon
testaroo  22954  0.2  1.5 2047436 504568 ?      Ssl  Mar29  13:22 /opt/bitcoin/bin/bitcoind -server -testnet -daemon -debug -conf=/home/testaroo/.bitcoin/testnet3/bitcoin.conf

# netstat -laputen|grep LISTEN |grep bitcoind
tcp        0      0 127.0.0.1:8332          0.0.0.0:*               LISTEN      1000       7210937    20756/bitcoind     
tcp        0      0 0.0.0.0:8333            0.0.0.0:*               LISTEN      1000       7210950    20756/bitcoind     
tcp        0      0 0.0.0.0:18332           0.0.0.0:*               LISTEN      1000       16433556   22954/bitcoind     
tcp        0      0 0.0.0.0:18333           0.0.0.0:*               LISTEN      1000       16433624   22954/bitcoind     
tcp6       0      0 ::1:8332                :::*                    LISTEN      1000       7210935    20756/bitcoind     
tcp6       0      0 :::8333                 :::*                    LISTEN      1000       7210949    20756/bitcoind     
tcp6       0      0 :::18333                :::*                    LISTEN      1000       16433623   22954/bitcoind     


Title: Re: Request Install Bitcoin Daemon on Centos 7 64Bit
Post by: Nrcewker on April 02, 2018, 02:40:27 PM
but  i am getting empty response from bitcoind


Title: Re: Request Install Bitcoin Daemon on Centos 7 64Bit
Post by: Nrcewker on April 02, 2018, 02:54:52 PM
also getting following error
https://i.imgur.com/M375Pbn.png

here is some of my outputs

https://i.imgur.com/UyPPfVd.png


Title: Re: Request Install Bitcoin Daemon on Centos 7 64Bit
Post by: starmyc on April 02, 2018, 06:02:09 PM
bitcoind is listening on 8332 (rpc port) & 8333 (protocol port). The strange thing is that it doesn't listen on 8332 using ipv4. You should chech logs (.bitcoin/debug.log). It should
have print something relative to 8332.


Title: Re: Request Install Bitcoin Daemon on Centos 7 64Bit
Post by: Nrcewker on April 03, 2018, 11:15:03 AM
can you develop Payment profile for Xenforo 2