E
E
Ethernity Docs
Search…
Installation

Install ansible

1
sudo apt update
2
sudo apt -y install software-properties-common
3
sudo apt-add-repository --yes --update ppa:ansible/ansible
4
sudo apt -y install ansible
Copied!

Clone the repository

1
git clone https://github.com/ethernity-cloud/mvp-pox-node.git
Copied!

Install the kernel with SGX support

1
cd mvp-pox-node
2
sudo ansible-galaxy collection install crivetimihai.virtualization
3
sudo ansible-galaxy install uoi-io.libvirt
4
sudo ansible-playbook -i localhost, playbook.yml \
5
-e "ansible_python_interpreter=/usr/bin/python3"
Copied!
After the first run of the script, the new kernel is installed and the following message will be displayed:
1
ok: [localhost] => {
2
"msg": "The kernel has been updated, a reboot is required"
3
}
Copied!
Reboot the system as requested.
1
sudo reboot
Copied!
Reconnect via SSH and resume the installation. Change to repository directory.
1
cd mvp-pox-node
Copied!

Create the config file

Write the blockchain wallets keypairs inside the config file if you have not done so already.
1
cat << EOF > config
2
ADDRESS=0xf17f52151EbEF6C7334FAD080c5704D77216b732
3
PRIVATE_KEY=AE6AE8E5CCBFB04590405997EE2D52D2B330726137B875053C36D94E974D162F
4
RESULT_ADDRESS=0xC5fdf4076b8F3A5357c5E395ab970B5B54098Fef
5
RESULT_PRIVATE_KEY=0DBBE8E4AE425A6D2687F1A7E3BA17BC98C673636790F1B8AD91193C05875EF1
6
EOF
Copied!
If you do not have two wallet keypairs, please follow up with the section of generating wallet keypairs:

Deploy the node

1
sudo ansible-galaxy collection install crivetimihai.virtualization
2
sudo ansible-galaxy install uoi-io.libvirt
3
sudo ansible-playbook -i localhost, playbook.yml \
4
-e "ansible_python_interpreter=/usr/bin/python3"
5
sudo cp -rf ~/.vagrant.d /root
Copied!

Start the node

1
systemctl start etny-vagrant
Copied!
Last modified 9mo ago