> For the complete documentation index, see [llms.txt](https://torok84.gitbook.io/ananos/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://torok84.gitbook.io/ananos/installing-ananos-representative-node.md).

# Installing Ananos representative node

This guide has been tested on Ubuntu 18.

Create a user for ananos server

```
useradd -m ananos
passwd ananos
su ananos
```

Download pre-compiled Ananos node [here](https://cdn.discordapp.com/attachments/875771260083257366/897922579728330873/nano_node), or use the following commands

```
mkdir ~/ananos
cd ~/ananos
curl https://cdn.discordapp.com/attachments/875771260083257366/897922579728330873/nano_node --output ananos_node
chmod o+x ananos_node
```

Run the daemon

```
nohup ~/ananos/ananos_node --daemon > ~/ananos/ananos_daemon &
```

Set-up a wallet, and show the seed (both to be copied and kept secret and in a super-safe place)

```
WALLET_ID=$(./ananos_node --wallet_create)
echo $WALLET_ID
ABC123......
./ananos_node --wallet_decrypt_unsafe --wallet ABC123_PUT_REAL_ID_HERE
Seed: 123THESEED
```

Generate configuration for the node

```
cd ~/Ananos
../ananos/ananos_node --generate_config node > config-node.toml
../ananos/ananos_node --generate_config rpc > config-rpc.toml
```

Edit both files according to your needs. **Read carefully** [**this**](https://docs.nano.org/running-a-node/voting-as-a-representative/) for more details.

👉As an alternative you can use these config files

```
cd ~/Ananos
curl https://cdn.discordapp.com/attachments/902407980572610570/902409796240703509/config-node.toml -o config-node.toml
curl https://cdn.discordapp.com/attachments/902407980572610570/902409798010691634/config-rpc.toml -o config-rpc.toml
```

Create an account

```
$ACCOUNT=$(curl -d '{
  "action": "account_create",
  "wallet": "'$WALLET_ID'"
}' http://[::]:7176)
echo $WALLET
```

Send some funds to your newly created `ananos_` account (at least 0.01 Ananos)

Receive funds, and verify the account is correctly set-up

```
curl -d '{
  "action": "search_pending",
  "wallet": "'$WALLET_ID'"
}' http://[::]:7176
```

```
curl -d '{
  "action": "account_info",
  "account": "'$ACCOUNT'"
}' http://[::]:7176
```

Restart the server


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://torok84.gitbook.io/ananos/installing-ananos-representative-node.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.
