Guide Installation Instructions — Moonriver Node v0.9.2 by Docker 19.03.13 with Google Cloud Platform
- Machine type vCPU 4 Memory 16 GB
- Operating System Ubuntu 18.04 LTS
- Boot Disk Size 30 GB
- Allow HTTP traffic
- Allow HTTPS traffic
Create an instance at console.cloud.google.com (own approved google acc)
Get External IP
Connect by Apple Terminal to Google Cloud via SSH
ssh external_ip
Create password for superuser
sudo passwd
Create a local directory to store the chain data Moonriver:
sudo mkdir /var/lib/moonriver-data
Chown to a specific user
sudo chown Docker_User /var/lib/moonriver-data
Chown to current user
sudo chown -R $(id -u):$(id -g) /var/lib/moonriver-data
Compile Docker 19.03.13 installation by Ubuntu 18.04
sudo snap install docker
Update the existing package list and insert each command on a new line:
sudo apt updatesudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo systemctl status docker
#Compile Full Moonriver Node v0.9.2
sudo docker run --network="host" -v "/var/lib/moonriver-data:/data" \
-u $(id -u ${USER}):$(id -g ${USER}) \
purestake/moonbeam:v0.9.2 \
--base-path=/data \
--chain moonriver \
--name="YOUR_NODE_NAME" \
--execution wasm \
--wasm-execution compiled \
--pruning archive \
--state-cache-size 1 \
-- \
--pruning archive \
--name="YOUR_NODE_NAME (Embedded Relay)"
Moonbeam Parachain Collator
✌️ version 0.9.2-c25242f-x86_64-linux-gnu
❤️ by PureStake, 2019-2021
π Chain specification: Moonriver
π· Node name: moonriver-Tony-node
π€ Role: FULL
πΎ Database: RocksDb at /data/chains/moonriver/db
⛓ Native runtime: moonriver-155 (moonriver-0.tx2.au3)
Parachain id: Id(2023)
Parachain Account: 5Ec4AhPZYgv9Q1KUajtv2RieJJmhPdn9cnvKxjpxuJHVoGFt
Parachain genesis state: 0x000000000000000000000000000000000000000000000000000000000000000000a6345aff162d4e6c6633d91adf9b21a3f84da5e90e587668f16539d4ce496d0803170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c11131400
[Relaychain] π· Local node identity is: 12D3KooWJaUgnCwi62SRTpHdbGzeJz9QyUAUgLBab5XTS9z8eVgs
[π] π· Local node identity is: 12D3KooWRwWziC7Q7HYz9bb9snJx5Rmsyx8nufEQheLkb5qitajm
Comments
Post a Comment