Skip to content

Latest commit

 

History

History
76 lines (51 loc) · 2.23 KB

beacon-chain-only.md

File metadata and controls

76 lines (51 loc) · 2.23 KB

Running a Beacon Node (No Validator, No Keys, No Incentives, Only Blocks)

Get a server

Exoscale Medium (4GB, 2 x 2198 MHz, 50 GB)

Also maybe try Digital Ocean

Network Settings

Open the following ports in the firewall to allow INGRESS tcp connections:

  • 22 - to allow ssh connections
  • 13000 - to allow improved p2p connectivity
  • 3000 - to allow remote access to Grafana
  • 4000 - to allow remote access to the Beacon Node

Installation Commands

cd ~
sudo echo
sudo apt update -y
sudo apt upgrade -y

mkdir prysm && cd prysm 

curl https://raw.githubusercontent.com/prysmaticlabs/prysm/master/prysm.sh --output prysm.sh && chmod +x prysm.sh 

cd ~

wget https://raw.githubusercontent.com/chrishobcroft/prysmconfig/master/beacon.service
wget https://raw.githubusercontent.com/chrishobcroft/prysmconfig/master/prometheus.service
wget https://raw.githubusercontent.com/chrishobcroft/prysmconfig/master/grafana.service

sudo mv *.service /etc/systemd/system

sudo systemctl enable /etc/systemd/system/beacon.service
sudo systemctl enable /etc/systemd/system/prometheus.service
sudo systemctl enable /etc/systemd/system/grafana.service

wget https://github.com/prometheus/prometheus/releases/download/v2.18.1/prometheus-2.18.1.linux-amd64.tar.gz

tar -zxvf prometheus-2.18.1.linux-amd64.tar.gz
rm prometheus-2.18.1.linux-amd64.tar.gz

cd prometheus-2.18.1.linux-amd64
rm prometheus.yml
wget https://raw.githubusercontent.com/chrishobcroft/prysmconfig/master/prometheus.yml
cd ~

wget https://dl.grafana.com/oss/release/grafana-6.7.3.linux-amd64.tar.gz

tar -zxvf grafana-6.7.3.linux-amd64.tar.gz
rm grafana-6.7.3.linux-amd64.tar.gz

sudo reboot

Notes

  • TO DO: Telegram Bot Alerting stuff

  • Tail logs with

sudo journalctl -f --unit=beacon.service
sudo journalctl -f --unit=prometheus.service
sudo journalctl -f --unit=grafana.service