7

I want to run a Bitcoin client on a command-line-only system (Amazon EC2). Is there some specific command-line parameters I should use in order to run the main client without the GUI, or will it run properly without any parameters? How do I later check the status of the client (check number of connections, balance, etc)?

ThePiachu
  • 42,931
  • 25
  • 138
  • 347

1 Answers1

7

To run it as a daemon type:

$ bitcoind -daemon
bitcoin server starting
$

You can then use the API calls to do whatever you want:

$ bitcoind getblockcount
153407
$ bitcoind getconnectioncount
20
nmat
  • 11,479
  • 14
  • 50
  • 78
  • 1
    When I run that, I get "error: incorrect rpcuser or rpcpassword (authorization failed)". Do I need to pass those values on the command line? – posit labs May 14 '14 at 04:00