# Deployment

## Hardware

### Minimum

```
4core
8g
ssd iops>5k
```

### Recommended

```
8core
16g
ssd iops>5k
```

### Network & Port

```
External IP Address
Port TCP/UDP 32668
```

### Automatic Restarts and Monitoring <a href="#automatic-restarts-and-monitoring" id="automatic-restarts-and-monitoring"></a>

{% hint style="info" %}
to get koisan-chian node running as a background service on Ubuntu can use supervisor for monitoring
{% endhint %}

* Install supervisor on ubuntu

```
$ apt-get install supervisor
```

Finally we have to add a configuration file to supervisor to let it know that it should run geth, Create /etc/supervisor/conf.d/geth.conf and fill it with:

```
[program:geth]
command=/path/to/koisan-chain/build/bin/geth --fast --http --http.addr 127.0.0.1 --http.port 8545 --http.corsdomain * --http.api admin,db,eth,debug,miner,net,shh,txpool,personal,web3
autostart=true  
autorestart=true  
stderr_logfile=/var/log/supervisor/koisan.err.log  
stdout_logfile=/var/log/supervisor/koisan.out.log  
```

* Now just restart supervisor to startup geth:

```
$ supervisorctl reload  
```

Boom! You can now attach a console to your running geth instance by typing geth attach. You can then query it using the standard [commands](https://geth.ethereum.org/docs/interface/javascript-console).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://worldkoisan.gitbook.io/koisan-international-coin/koisan-chain/node/deployment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
