<p>To run it as a daemon type:</p>

<pre><code>$ bitcoind -daemon
bitcoin server starting
$
</code></pre>

<p>You can then use the <a href="https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list">API calls</a> to do whatever you want:</p>

<pre><code>$ bitcoind getblockcount
153407
$ bitcoind getconnectioncount
20
</code></pre>

CC BY-SA 3.0
2014-05-14T04:00:58.880Z
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
CC BY-SA 3.0
2011-11-15T13:32:19.787Z
2011-11-15T13:32:19.787Z
nmat
<p>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)?</p>

<bitcoin-core><websites>
Running Bitcoin on command-line-only system
ThePiachu
# Running Bitcoin on command-line-only system

(Asked by: username_0 on 2011-11-15)

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)?

**Tags:** bitcoin-core, websites


---

## 1 answers

### Answer by username_1 on 2011-11-15. Score: 7 | Accepted answer

To run it as a daemon type:

```
$ bitcoind -daemon
bitcoin server starting
$

```

You can then use the [API calls](https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list) to do whatever you want:

```
$ bitcoind getblockcount
153407
$ bitcoind getconnectioncount
20

```

> **Comments:**
> **username_2**: When I run that, I get "error: incorrect rpcuser or rpcpassword (authorization failed)". Do I need to pass those values on the command line?  

---

