Author

Topic: how to install bitcoind on linux for CryptoDic (Read 3047 times)

legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
To see if bitcoind is running:

Code:
$ ps -ef | grep bitcoind

If you get back a process running bitcoind then all is running.  You should be able to send RPC commands to it as well.

To find out about cron

Code:
$ man cron

and

Code:
$ man crontab

As was said earlier however, you are really going to have to learn some the basics of how to use a linux shell if you want to get anywhere on this.  Or, alternatively, hire someone who does (know how to use a linux shell).
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
help me guys

Your bitcoin client is fully synced and running (I checked) if you need further help with your script you should probably contact the person you got it from. This is certainly not the section for this. It might also be wise to do these experiments in a more protected environment, e.g. locally or virtualized. On the other hand the worst that could happen is that someone uses your machine for something illegal and you get problems with the hoster.
sr. member
Activity: 476
Merit: 250
you need to just edit the crontab. crontab -e opens the file for editing, just copy paste the command.
member
Activity: 75
Merit: 10
help me guys
member
Activity: 75
Merit: 10
i did all now its said (Do Not Share This URL!)


but my admin panel is working well
legendary
Activity: 2786
Merit: 1031
Dude, you need to learn at least the minimum to work with linux.

You should not be using root to do that, even if it's only for educational purposes.

Now you paste the task config and save it like it's described in dice script installation.
member
Activity: 75
Merit: 10

i right this command ( $ crontab -e )but its show me this
legendary
Activity: 2786
Merit: 1031
now this state working well for me

but now here its say me how to do this

Ok, great!

Just follow those steps.
member
Activity: 75
Merit: 10
now this state working well for me

but now here its say me how to do this

i right this command ( $ crontab -e )but its show me this
newbie
Activity: 28
Merit: 0
sir i dont think localhost can do it
bez i host the script in my cpanel and i install the bitcoind on my linux
interest i same situation

specific
/.run i think
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
You need to be really careful if you are running a bitcoin/crypto dice site and are having this much trouble even getting it installed.  There are a lot of potential security issues - like posting the rpc password up thread.

Hot wallets are drained all the time when there is just a tiny security item that was overlooked.  ;-)
I was going to write something similar... OP really has no business even attempting this with so little knowledge of what's going on behind the scenes.  Posting the contents of his bitcoin configuration files including passwords, his IP address... might as well just leave the door open to his house.  Hopefully this is nothing more than an academic exercise to learn and not intended to ever be utilized in a public venue.
legendary
Activity: 4228
Merit: 1313
You need to be really careful if you are running a bitcoin/crypto dice site and are having this much trouble even getting it installed.  There are a lot of potential security issues - like posting the rpc password up thread.

Hot wallets are drained all the time when there is just a tiny security item that was overlooked.  ;-)
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
so have to host the cryptodice 3.3 also in that linux server?
Where are you trying to install crypto-dice?  You'll have to make it so that machine can talk to the machine running bitcoind.
member
Activity: 75
Merit: 10
so have to host the cryptodice 3.3 also in that linux server?
legendary
Activity: 2786
Merit: 1031
Ok, now it's running.

Then install the script in the same machine you have bitcoind, if you cannot do it, you need to insert the IP address of the machine running bitcoind.
sdp
sr. member
Activity: 469
Merit: 281
Don't post your passwords here!   Roll Eyes

once you get everything working run this code and then update to the new long password in CryptoDice.
Code:
rm ~/.bitcoin/bitcoin.conf
bitcoind -server 2>&1 | grep ^rpc | tee ~/.bitcoin/bitcoin.conf
chmod 600 ~/.bitcoin/bitcoin.conf

The command should create a program generated password which will have more entropy (aka randomness) than what will ever come out of our heads.  You won't need to type in this password but it will be used by bitcoin-cli to talk with bitcoind.

Check your firewalls:  You need 8332 open for RPC. Port 8333 is for bitcion peer to peer communication.
Make sure the host in your configuration matches your host (ip address) where you are running bitcoind.
member
Activity: 75
Merit: 10
done sir and after that i again type top
see this
 but same issue
legendary
Activity: 2786
Merit: 1031
It seems bitcoind isn't running...

Execute:

$ ./bitcoin-0.10.0/bin/bitcoind &
member
Activity: 75
Merit: 10
here is the picture
and sir how it can be localhost bez i am not using that linix for hosting my website

i try with localhost but same error cant connect
legendary
Activity: 2786
Merit: 1031
To check if bitcoind is running:

$ top

You should see it at the top processes, press 'q' to exit.

Your host is 'localhost' not 'assa'.

Also, use port 8332.
member
Activity: 75
Merit: 10
ya sir your last code working see here

and sir for the hostname wallet cant connect see here
legendary
Activity: 2786
Merit: 1031
sir i dont think localhost can do it
bez i host the script in my cpanel and i install the bitcoind on my linux

Have you tried it?

Did you check bitcoind is running?
member
Activity: 75
Merit: 10
sir i dont think localhost can do it
bez i host the script in my cpanel and i install the bitcoind on my linux
legendary
Activity: 2786
Merit: 1031
It's fine, to verify if the file is correct use 'cat .bitcoin/bitcoin.conf'.

Your host should be localhost and port I believe is 8332.
member
Activity: 75
Merit: 10
i did it sir but after wright the code its not show any msg
see image

and what will be my port and host?
legendary
Activity: 2786
Merit: 1031
To create the required file:

$ (echo rpcuser=youruser && echo  rpcpassword=yourpass) > .bitcoin/bitcoin.conf

Change youruser and yourpass and execute the command.
member
Activity: 75
Merit: 10
sir i am really noob for all this plz tell me how to do it
thanks in advance
legendary
Activity: 2786
Merit: 1031
Do not use user root, use your normal user for everything you've done.

To edit the file:

$ vim .bitcoin/bitcoin.conf

If you don't know how to use vim, try nano, if nano not available, install with 'yum install nano'.
member
Activity: 75
Merit: 10
sir i did as u said and here is the screenshot


id and pass is showing here but what i have to wright in host and post?

and what is the error
legendary
Activity: 2786
Merit: 1031
Like it was pointed above you need more disk space, bitcoin blockchain is now around 35GB and counting.

Here's the step by step, just copy-paste:

Download Bitcoin Core:

$ wget https://bitcoin.org/bin/bitcoin-core-0.10.0/bitcoin-0.10.0-linux64.tar.gz

Extract:

$ tar -zxvf bitcoin-0.10.0-linux64.tar.gz

Run bitcoind:

$ ./bitcoin-0.10.0/bin/bitcoind &

If you get any error when trying to run bitcoind, post here, you'll need to install some dependencies.
member
Activity: 75
Merit: 10
i can arrange any server its not issue, just tell me how to do it via putty
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
You're going to have a problem with only 30GB of disk space.  Wow, and you've only got 512M of RAM?  Yeah, you're not going to have any luck whatsoever installing bitcoin.
member
Activity: 75
Merit: 10
i am also can give you this type of server for free if anyone help me to do this
member
Activity: 75
Merit: 10
sir i am totall new in all this
i am running centros
here is the server config pic

and sir i am using it by putty

so tell me how to do with putty
legendary
Activity: 2786
Merit: 1031
sir can you tell me full process for this?
and here is lot of download type https://bitcoin.org/en/choose-your-wallet


Choose your system here (probably linux 64 bit): https://bitcoin.org/en/download

In folder bin, extract bitcoind, then run it with ':~$./bitcoind'.
newbie
Activity: 21
Merit: 0
for which linux OS ?? cent OS ??
member
Activity: 75
Merit: 10
sir can you tell me full process for this?
and here is lot of download type https://bitcoin.org/en/choose-your-wallet

legendary
Activity: 2786
Merit: 1031
Download Bitcoin Core here: https://bitcoin.org/en/choose-your-wallet

Unpack and run bitcoind, bear in mind it will take quite a few time synchronizing.

You may also need to install a few dependencies.
member
Activity: 75
Merit: 10
now i set all but same issue
Jump to: