Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: soumikr on April 01, 2015, 08:42:42 PM



Title: how to install bitcoind on linux for CryptoDic
Post by: soumikr on April 01, 2015, 08:42:42 PM
now i set all but same issue


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: pedrog on April 01, 2015, 09:00:02 PM
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.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 01, 2015, 09:29:21 PM
sir can you tell me full process for this?
and here is lot of download type https://bitcoin.org/en/choose-your-wallet



Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: sagarus on April 01, 2015, 09:34:58 PM
for which linux OS ?? cent OS ??


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: pedrog on April 01, 2015, 09:45:07 PM
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'.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 01, 2015, 09:56:59 PM
sir i am totall new in all this
i am running centros
here is the server config pic http://i.gyazo.com/c65c7c82ed8f2ee5238d0a6dce2c56bf.png

and sir i am using it by putty

so tell me how to do with putty


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 01, 2015, 10:12:26 PM
i am also can give you this type of server for free if anyone help me to do this


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: jonnybravo0311 on April 01, 2015, 11:37:18 PM
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.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 02, 2015, 12:38:29 AM
i can arrange any server its not issue, just tell me how to do it via putty


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: pedrog on April 02, 2015, 01:12:31 AM
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.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 02, 2015, 01:20:17 AM
sir i did as u said and here is the screenshot
http://i.gyazo.com/d3b93cbeb6f8d10fb7ccdb1f6c2168ef.png

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

and what is the error http://i.gyazo.com/098d46b2700f9e445b120f84a48b53df.png


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: pedrog on April 02, 2015, 01:30:25 AM
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'.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 02, 2015, 01:33:05 AM
sir i am really noob for all this plz tell me how to do it
thanks in advance


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: pedrog on April 02, 2015, 01:43:40 AM
To create the required file:

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

Change youruser and yourpass and execute the command.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 02, 2015, 01:51:19 AM
i did it sir but after wright the code its not show any msg
see image http://i.gyazo.com/cfb3befa309f04b51412e541cbd9d902.png

and what will be my port and host?


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: pedrog on April 02, 2015, 01:55:39 AM
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.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 02, 2015, 01:59:43 AM
sir i dont think localhost can do it
bez i host the script in my cpanel and i install the bitcoind on my linux


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: pedrog on April 02, 2015, 02:02:48 AM
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?


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 02, 2015, 02:08:34 AM
ya sir your last code working see here http://i.gyazo.com/ae54c949751516c169c5e029c1590692.png

and sir for the hostname wallet cant connect see here http://i.gyazo.com/78c8db7eadad3b291d8becb3cadd5850.png


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: pedrog on April 02, 2015, 02:11:40 AM
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.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 02, 2015, 02:18:07 AM
here is the picture http://i.gyazo.com/87c44a32cecd7fd538e94e3d92928441.png
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


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: pedrog on April 02, 2015, 02:24:36 AM
It seems bitcoind isn't running...

Execute:

$ ./bitcoin-0.10.0/bin/bitcoind &


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 02, 2015, 02:28:45 AM
done sir and after that i again type top
see this http://i.gyazo.com/a56ae49424baefc6be595291f81b86ce.png
 but same issue


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: sdp on April 02, 2015, 02:29:54 AM
Don't post your passwords here!   ::)

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.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: pedrog on April 02, 2015, 02:32:52 AM
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.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 02, 2015, 02:52:02 AM
so have to host the cryptodice 3.3 also in that linux server?


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: jonnybravo0311 on April 02, 2015, 03:54:00 PM
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.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: cr1776 on April 02, 2015, 05:06:34 PM
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.  ;-)


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: jonnybravo0311 on April 02, 2015, 05:24:28 PM
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.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: SarcasmMe on April 02, 2015, 05:36:46 PM
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


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 02, 2015, 08:15:42 PM
now this state working well for me

but now here its say me how to do this http://i.gyazo.com/7fe0fd446ea213fb831bfedbf907f4e3.png

i right this command ( $ crontab -e )but its show me this http://i.gyazo.com/9ab2ac648e8e1e806fc05574e2facafd.png
http://i.gyazo.com/f33497cf8455eda2b0bddbd3829e0a90.png


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: pedrog on April 02, 2015, 08:20:42 PM
now this state working well for me

but now here its say me how to do this http://i.gyazo.com/7fe0fd446ea213fb831bfedbf907f4e3.png

Ok, great!

Just follow those steps.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 02, 2015, 08:27:13 PM

i right this command ( $ crontab -e )but its show me this http://i.gyazo.com/9ab2ac648e8e1e806fc05574e2facafd.png
http://i.gyazo.com/f33497cf8455eda2b0bddbd3829e0a90.png


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: pedrog on April 02, 2015, 08:33:35 PM
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.


Title: Re: how to install bitcoind on linux for CryptoDice 3.3
Post by: soumikr on April 03, 2015, 10:51:23 AM
i did all now its said (Do Not Share This URL!)
http://i.gyazo.com/f26330604e198abac2021f071764b7e8.png

but my admin panel is working well


Title: Re: how to install bitcoind on linux for CryptoDic
Post by: soumikr on April 04, 2015, 10:40:44 AM
help me guys


Title: Re: how to install bitcoind on linux for CryptoDic
Post by: emrebey on April 04, 2015, 11:33:03 AM
you need to just edit the crontab. crontab -e opens the file for editing, just copy paste the command.


Title: Re: how to install bitcoind on linux for CryptoDic
Post by: shorena on April 04, 2015, 11:50:25 AM
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.


Title: Re: how to install bitcoind on linux for CryptoDic
Post by: tspacepilot on April 08, 2015, 07:58:34 AM
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).