Author

Topic: Noob help with rpc bitcoind (Read 1114 times)

hero member
Activity: 504
Merit: 501
November 04, 2015, 12:37:22 AM
#25
I dont think i installed bitcoind right or not sure if im using right command to run bitcoind

What error are you getting?
   Not enough file descriptors available.
when i use this command  ./bitcoin-0.11.1/bin/bitcoind &
You need more RAM. You need set least 4Gb of RAM to run bitcoind decently well. I suggest that you upgrade your server.
oh i see  thank you. is there a way around it using my computer at home like the other guy said with vpn?
staff
Activity: 3458
Merit: 6793
Just writing some code
November 04, 2015, 12:21:12 AM
#24
I dont think i installed bitcoind right or not sure if im using right command to run bitcoind

What error are you getting?
   Not enough file descriptors available.
when i use this command  ./bitcoin-0.11.1/bin/bitcoind &
You need more RAM. You need set least 4Gb of RAM to run bitcoind decently well. I suggest that you upgrade your server.
hero member
Activity: 504
Merit: 501
November 04, 2015, 12:19:35 AM
#23
I dont think i installed bitcoind right or not sure if im using right command to run bitcoind

What error are you getting?
    Not enough file descriptors available.
when i use this command  ./bitcoin-0.11.1/bin/bitcoind &
staff
Activity: 3458
Merit: 6793
Just writing some code
November 04, 2015, 12:09:45 AM
#22
I dont think i installed bitcoind right or not sure if im using right command to run bitcoind

What error are you getting?
hero member
Activity: 504
Merit: 501
November 03, 2015, 11:36:12 PM
#21
Thankyou very much i guess now i setup a blockchain account and get private key
Your welcome. If you'd like, you can tip my address in my signature.
I dont think i installed bitcoind right or not sure if im using right command to run bitcoind
staff
Activity: 3458
Merit: 6793
Just writing some code
November 03, 2015, 11:24:36 PM
#20
Thankyou very much i guess now i setup a blockchain account and get private key
Your welcome. If you'd like, you can tip my address in my signature.
hero member
Activity: 504
Merit: 501
November 03, 2015, 11:22:59 PM
#19
ok bitcoind is not starting up...what is the command line?
hero member
Activity: 504
Merit: 501
November 03, 2015, 11:16:35 PM
#18
ok i confirmed, it is saved
newbie
Activity: 16
Merit: 0
November 03, 2015, 11:06:34 PM
#17
i have tried many different system instructions and none work so i guess this is my first problem

Like I said...You have the wrong type of hosting. You have cpanel hosting when you instead need a VPS.

If the script you purchased allows for remote connections to bitcoind you can install bitcoin on your home pc (or any other server) and allow remote connections so that your cpanel host can connect to your bitcoind node at home OR you can buy a VPS and install bitcoin and a web server on that.
That is wrong. The hosting service has the option for a VPS with cpanel also installed. Since he has ssh access, he can do the stuff I posted above.

Ah didn't see that you can choose to have your VPS come preinstalled with cpanel. I guess we will need clarification on which plan OP picked from https://www.thcservers.com.
staff
Activity: 3458
Merit: 6793
Just writing some code
November 03, 2015, 11:04:34 PM
#16
i have tried many different system instructions and none work so i guess this is my first problem

Like I said...You have the wrong type of hosting. You have cpanel hosting when you instead need a VPS.

If the script you purchased allows for remote connections to bitcoind you can install bitcoin on your home pc (or any other server) and allow remote connections so that your cpanel host can connect to your bitcoind node at home OR you can buy a VPS and install bitcoin and a web server on that.
That is wrong. The hosting service has the option for a VPS with cpanel also installed. Since he has ssh access, he can do the stuff I posted above.
staff
Activity: 3458
Merit: 6793
Just writing some code
November 03, 2015, 11:03:43 PM
#15
cat: /etc/*-release: No such file or directory

Well that's a problem.

I just checked the website and I think you are using CentOS 6 since that is the default linux version for vps with cpanel.

Type the following commands:
Code:
yum install nano
nano ~/.bitcoin/bitcoin.conf

This will open up an interactive window where you can edit text.

Add the following lines:
Code:
server=1
rpcuser=
rpcpassword=
where and is the username and password you want for the rpc server. The password should be hard to guess and a random string of letters and numbers because knowing the user and pass means that someone could potentially send commands to the rpc server and steal all of the bitcoin there.

Then hit Ctrl+x and follow the prompts to save the file. Once that is done, start up bitcoind (or restart it). In the config file for the gambling script, set the RPC_Login and RPC_password to and respectively. Make sure to keep the single quotes around each one so that it recognizes the strings.
hero member
Activity: 504
Merit: 501
November 03, 2015, 11:02:16 PM
#14
i have tried many different system instructions and none work so i guess this is my first problem

Like I said...You have the wrong type of hosting. You have cpanel hosting when you instead need a VPS.

If the script you purchased allows for remote connections to bitcoind you can install bitcoin on your home pc (or any other server) and allow remote connections so that your cpanel host can connect to your bitcoind node at home OR you can buy a VPS and install bitcoin and a web server on that.
 Ok, thats sound good...how do i do this? i do have vps already installed on my computer
hero member
Activity: 504
Merit: 501
November 03, 2015, 11:01:10 PM
#13
Ok i'm using     CentOS
newbie
Activity: 16
Merit: 0
November 03, 2015, 11:00:24 PM
#12
i have tried many different system instructions and none work so i guess this is my first problem

Like I said...You have the wrong type of hosting. You have cpanel hosting when you instead need a VPS.

If the script you purchased allows for remote connections to bitcoind you can install bitcoin on your home pc (or any other server) and allow remote connections so that your cpanel host can connect to your bitcoind node at home OR you can buy a VPS and install bitcoin and a web server on that.
hero member
Activity: 504
Merit: 501
November 03, 2015, 10:56:04 PM
#11
i have tried many different system instructions and none work so i guess this is my first problem. let me ask my server help window, now waiting for respond.
hero member
Activity: 504
Merit: 501
November 03, 2015, 10:52:59 PM
#10
-bash: lsb_release: command not found

That's odd, it should work. Try
Code:
cat /etc/*-release
cat: /etc/*-release: No such file or directory
staff
Activity: 3458
Merit: 6793
Just writing some code
November 03, 2015, 10:51:22 PM
#9
-bash: lsb_release: command not found

That's odd, it should work. Try
Code:
cat /etc/*-release
hero member
Activity: 504
Merit: 501
November 03, 2015, 10:50:00 PM
#8
What is the server OS? You will probably need to do it through ssh, and it is actually easier that way.
linux
What linux distro? Ubuntu? Debian? Fedora? Mint? etc.
How do i find out??  in the cpanel it just says linux
Open up an ssh session and type
Code:
lsb_release -a
into the console. Post the output here.
  -bash: lsb_release: command not found
newbie
Activity: 16
Merit: 0
November 03, 2015, 10:49:34 PM
#7
What is the server OS? You will probably need to do it through ssh, and it is actually easier that way.
linux
What linux distro? Ubuntu? Debian? Fedora? Mint? etc.
How do i find out??  in the cpanel it just says linux

What you have is website hosting which more than likely denies you root access and wont allow you to install bitcoin. Does the script allow remote connections to bitcoind?
staff
Activity: 3458
Merit: 6793
Just writing some code
November 03, 2015, 10:47:36 PM
#6
What is the server OS? You will probably need to do it through ssh, and it is actually easier that way.
linux
What linux distro? Ubuntu? Debian? Fedora? Mint? etc.
How do i find out??  in the cpanel it just says linux
Open up an ssh session and type
Code:
lsb_release -a
into the console. Post the output here.
hero member
Activity: 504
Merit: 501
November 03, 2015, 10:45:42 PM
#5
What is the server OS? You will probably need to do it through ssh, and it is actually easier that way.
linux
What linux distro? Ubuntu? Debian? Fedora? Mint? etc.
How do i find out??  in the cpanel it just says linux
staff
Activity: 3458
Merit: 6793
Just writing some code
November 03, 2015, 10:42:41 PM
#4
What is the server OS? You will probably need to do it through ssh, and it is actually easier that way.
linux
What linux distro? Ubuntu? Debian? CentOS? FreeBSD? etc.
hero member
Activity: 504
Merit: 501
November 03, 2015, 10:41:02 PM
#3
What is the server OS? You will probably need to do it through ssh, and it is actually easier that way.
linux, i have been trying through ssh but its new to me
staff
Activity: 3458
Merit: 6793
Just writing some code
November 03, 2015, 10:40:16 PM
#2
What is the server OS? You will probably need to do it through ssh, and it is actually easier that way.
hero member
Activity: 504
Merit: 501
November 03, 2015, 10:38:55 PM
#1
Hi, I am new to bitcoind and linux and i'm trying to learn. I have recently Bought a gambling script from someone and i thought i could install myself to learn.

In the config file it asks

$rpc = array(
      'login' => 'RPC_login',
      'password' => 'RPC_password',

Ive searched google and have found so many confusing instructions or out of date.

Im using thcservers.com that i bought with bitcoin  and i have access to ssh but do i really need ssh or can i upload and configure manualy.Does the server have to download the blockchain through shell?




If anyone can tell me what to do step by step that would be great. Smiley
Jump to: