Installation Validator

Install Node Producer

Chain ID: gitopia | Latest Binary Version: v3.3.0

Update and install packages for compiling

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

User Management

Running in user (Assume) : salinem We never used this username in our production !

Create User, Please Refer to User and Group Management

Login as User salinem

su - salinem

or

sudo su - salinem

and make sure we are in directory

pwd

/mainnet/salinem

Running in user : salinem

FHS of Gitopia

Create FHS for application

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

Install Gitopia

cd ~
apt install jq -y
apt install unzip -y
wget https://server.gitopia.com/releases/Gitopia/gitopia/v3.3.0/gitopiad_3.3.0_linux_amd64.tar.gz
tar xvf gitopiad_3.3.0_linux_amd64 -C ${HOME}/bin/

Environment

In this case, RoomIT used zsh, if you used bash just direct to ${HOME}/.bashrc or ${HOME}/.profile

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

Intialize Node

gitopiad init <your_custom_moniker> --chain-id gitopia

Add Genesis

wget https://github.com/gitopia/mainnet/raw/master/genesis.tar.gz && tar xvf genesis.tar.gz
mv genesis.json ~/.gitopia/config/

Validate Genesis

gitopiad validate-genesis

Edit config, You can refer to Edit Configuration Node

Apply State Sync, refer to State Sync

Last updated