Tonynode's Blog

Tonynode's Blog

πŸ‡ΊπŸ‡Έ Guide Installation Instructions β€” Moonriver Node v0.9.2 by Docker 19.03.13 with Google Cloud Platform

πŸ‡ΊπŸ‡Έ Guide Installation Instructions β€” Moonriver Node v0.9.2 by Docker 19.03.13 with Google Cloud Platform

Create an instance at console.cloud.google.com (own approved google acc)

Screenshot 2021-07-12 at 12.35.25.png

- Machine type vCPU 4 Memory 16 GB

- Operating System Ubuntu 18.04 LTS

- Boot Disk Size 30 GB

- Allow HTTP traffic

- Allow HTTPS traffic

Screenshot 2021-07-12 at 12.36.42.png

Get External IP

external_ip.png

Connect by Apple Terminal to Google Cloud via SSH

ssh external_ip

Screenshot 2021-07-12 at 12.39.53.png

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 update
sudo 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

Screenshot 2021-07-12 at 12.41.47.png

Screenshot 2021-07-12 at 12.42.18.png

Screenshot 2021-07-12 at 12.42.58.png

Screenshot 2021-07-12 at 12.43.47.png

#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)"

Screenshot 2021-07-12 at 12.45.27.png

Thanks a lot:

Best regards Tonymoon (Discord maestroit8#7777)

Β 
Share this