-
Notifications
You must be signed in to change notification settings - Fork 2
Node setup
stefa2k edited this page Jul 21, 2020
·
5 revisions
- Computer with any Linux distribution supporting
apt
, e. g. Ubuntu, Debian - Docker & docker-compose
- Ansible
- Basic knowledge of IT (SSH, container, networking, shell, ...)
- Ubuntu LTS
- 2 computers (1 node, 1 to run ansible scripts on)
- Knowledge of IT security
This is split up between the node and the script-running ansible machine (alias mgmt-pc).
Required packages:
apt install python
Depending on your linux distribution install python3
instead of python
.
apt install ansible
git clone https://github.com/stefa2k/prysm-ansible.git
Create a file in the prysm-ansible
directory with the following content (e. g. inventory.eth2.yaml
):
all:
hosts:
eth2node: # below are the connection settings of the node you want to set up
ansible_port: 22 # this is the SSH port
ansible_host: 1.2.3.4 # put your IP here
ansible_user: deploy # user to log in to your node, needs to have sudo capabilities, or root itself
ansible_password: secret # user's password
Take a look at the prysm-ansible/vars/vars.yaml
and modify the settings to your needs.
Jump into the prysm-ansible
directory. To install prysm-docker-compose & ethdo simply run:
ansible-playbook -i inventory.eth2.yaml eth2node.yaml
This starts geth
(ETH1) and after successful syncing also beacon-chain
(ETH2).