# Avail

## Avail's Clash of Nodes Testnet

System: Ubuntu 22.04

## Server preparation

```
sudo apt update
sudo apt install wget curl make clang pkg-config libssl-dev build-essential -y
```

## **Download the binary file**

<pre><code>sudo mkdir -p $HOME/avail-node &#x26;&#x26; cd $HOME/avail-node
sudo wget https://github.com/availproject/avail/releases/download/v1.8.0.3/x86_64-ubuntu-2204-data-avail.tar.gz
<strong>sudo tar xvzf x86_64-ubuntu-2204-data-avail.tar.gz
</strong>sudo chmod +x data-avail
</code></pre>

## Create a service&#x20;

```
yourname=<NodeName> 
```

Ex: <mark style="color:red;">**yourname=NodeSyncTop**</mark>

```
sudo tee /etc/systemd/system/availd.service > /dev/null << EOF
[Unit]
Description=Avail Validator
After=network.target
StartLimitIntervalSec=0
[Service]
User=$USER
Type=simple
Restart=always
RestartSec=120
ExecStart=${HOME}/avail-node/data-avail \
 -d ${HOME}/avail-node/data \
 --chain goldberg --port 30333 \
 --validator \
 --name $yourname

[Install]
WantedBy=multi-user.target
EOF
```

```
sudo systemctl daemon-reload
sudo systemctl enable availd
sudo systemctl restart availd && sudo journalctl -u availd -f -o cat
```

## Check service & logs:

```
sudo systemctl status availd
```

```
sudo journalctl -u availd -f -o cat
```

<figure><img src="/files/x5zjXOBCQk6ZGsMrvEYG" alt=""><figcaption><p>Sync</p></figcaption></figure>

Now our node has started to synchronize. Your NodeName will show on [telemetry](https://telemetry.avail.tools/#list/0x6f09966420b2608d1947ccfb0f2a362450d1fc7fd902c29b67c906eaa965a7ae)

<figure><img src="/files/UCiyHypT7NSwcV96ShXh" alt=""><figcaption></figcaption></figure>

## Upgrade version v1.9.0.0

```
cd $HOME && sudo systemctl stop availd.service && cd $HOME/avail-node &&\
rm -rf data-avail && rm -rf x86_64-ubuntu-2204-data-avail.tar.gz &&\
wget https://github.com/availproject/avail/releases/download/v1.9.0.0/x86_64-ubuntu-2204-data-avail.tar.gz &&\
tar xvzf x86_64-ubuntu-2204-data-avail.tar.gz && cd $HOME &&\
sudo systemctl restart availd.service
```

Check version

```
${HOME}/avail-node/data-avail --version
```

Check logs

```
 sudo journalctl -f -u availd.service
```

## NodeSync on Avail Goldberg Testnet

<figure><img src="/files/VXUO0mghFfYQRGINa4Gw" alt=""><figcaption></figcaption></figure>


---

# 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://services.nodesync.top/testnet-running/avail.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.
