> For the complete documentation index, see [llms.txt](https://docs.roomit.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roomit.xyz/mainnet/planq/installation-node/installation-validator.md).

# Installation Validator

**Chain ID**: planq\_7070-2 | **Latest Binary Version**: v1.0.8

Update and install packages for compiling

```
sudo apt update
sudo apt install curl git jq lz4 build-essential zsh -y
```

#### User Management

{% hint style="info" %}
**Running in user** (Assume) : *salinem*
{% endhint %}

Create User, Please Refer to [Broken mention](broken://pages/ymV0m2TBiK3EBy7fI1X9)

Login as User salinem

```bash
su - salinem
```

or

```bash
sudo su - salinem
```

and make sure we are in directory

```bash
pwd

/mainnet/salinem
```

{% hint style="info" %}
**Running in user** : *salinem*
{% endhint %}

#### FHS of PlanQ

Create FHS for application

```bash
echo "Install FHS"
mkdir -p ${HOME}/tmp
mkdir -p ${HOME}/lib
mkdir -p ${HOME}/bin
mkdir -p ${HOME}/conf
mkdir -p ${HOME}/systemd
```

#### Install PlanQ

```bash
cd ~
apt install jq -y
apt install unzip -y
wget https://github.com/planq-network/planq/releases/download/v1.0.2/planq_1.0.2_Linux_x86_64.tar.gz
tar xvf planq_1.0.2_Linux_x86_64.tar.gz
```

#### Environment

{% hint style="info" %}
In this case, RoomIT used zsh, if you used bash just direct to ${HOME}/.bashrc or ${HOME}/.profile
{% endhint %}

```
echo 'export PATH="${PATH}:${HOME}/bin"' >> ${HOME}/.zshrc
source ~/.zshrc
```

#### Intialize Node

```bash
planqd init <your_custom_moniker> --chain-id planq_7070-2
```

#### Add Genesis

```bash
wget https://raw.githubusercontent.com/planq-network/networks/main/mainnet/genesis.json
mv genesis.json ~/.planqd/config/
```

Validate Genesis

```
planqd validate-genesis
```

Edit config, You can refer to [Edit Configuration Node](/mainnet/planq/installation-node/edit-configuration-node.md)

Apply State Sync, refer to [State Sync](/mainnet/planq/infrastructures/statesync.md)
