Components | Minimum Requirements |
---|---|
CPU | 4 Core |
RAM | 8 GB RAM |
Storage | 100 GB Nvme |
sudo apt update && sudo apt upgrade -y
sudo apt install jq -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
docker version
VER=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4)
curl -L "https://github.com/docker/compose/releases/download/"$VER"/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version
sudo apt-get install openssl
git clone https://github.com/vana-com/vana.git
cd vana
cp .env.example .env
nano .env
WITHDRAWAL_ADDRESS
Your EVM Wallet AddressDEPOSIT_PRIVATE_KEY
EVM Wallet Private KeyUSE_VALIDATOR
Should be TrueEXTERNAL_IP
Your Server IP Address. CommandX/CommandY=Enter
- If everything is complete, we will now create our validator key. This process may take some time.
docker compose --profile init --profile manual run --rm validator-keygen
(Do not forget the password and save it somewhere; you will need it later)
- Now enter the password you created earlier.
- You will be asked to set a password to secure your wallet. (I used the same password)
docker compose logs check-config
docker compose --profile init --profile validator up -d
docker compose --profile=init --profile=node logs -f geth
docker compose --profile=init --profile=node logs -f beacon
docker compose --profile=init --profile=node logs -f validator
docker compose --profile init --profile manual run --rm submit-deposits
You can perform similar operations one by one for a service. (In the last parts, it's sufficient to change the names)
docker compose --profile=init --profile=node up -d validator
docker compose --profile=init --profile=node stop validator
docker compose --profile=init --profile=node restart validator