# Light node

### Server specifications

<table><thead><tr><th width="317">Specification</th><th>Requirement</th></tr></thead><tbody><tr><td>CPU</td><td>2+ VCPU</td></tr><tr><td>RAM</td><td>4+ GB</td></tr><tr><td>Storage</td><td>40+ GB SSD</td></tr><tr><td>UBUNTU</td><td>20</td></tr></tbody></table>

### **Installing essentials components**&#x20;

Before diving into the installation of your node, it's essential to update your VPS. To do this, simply run the following command in your VPS terminal :

```
sudo apt-get update && sudo apt-get upgrade -y
```

### Install the necessary libraries

```
sudo apt install make clang pkg-config curl protobuf-compiler libssl-dev build-essential -y
```

### Install essential components for the light node

```
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source ~/.cargo/env
rustup default stable
rustup update
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
```

### Clone the Avail Github

```
git clone https://github.com/availproject/avail-light.git
cd avail-light
```

### Launch the installation of the Avail Light Node folder

```
cargo build --release
```

### Create a service

```
nano /etc/systemd/system/availd.service
```

```
[Unit] 
Description=Avail Light Client
After=network.target
StartLimitIntervalSec=0
[Service] 
User=root 
ExecStart= /root/avail-light/target/release/avail-light --network goldberg
Restart=always 
RestartSec=120
[Install] 
WantedBy=multi-user.target
```

### Launching the light node

```
systemctl enable availd.service
systemctl start availd.service
```

### Check the status of your light node

```
systemctl status availd.service
```

### Check the light node logs

```
journalctl -f -u availd
```

###


---

# 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://docs.starlightnode.com/services/testnets/avail/light-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.
