# Ethernity Node Quick Start

To run an Ethernity NODE there are some requirements. Please review the requirements carefully.

### Hardware and BIOS

{% content-ref url="ethernity-node-quickstart/hardware" %}
[hardware](https://docs.ethernity.cloud/ethernity-node-quickstart/hardware)
{% endcontent-ref %}

{% content-ref url="ethernity-node-quickstart/bios-settings" %}
[bios-settings](https://docs.ethernity.cloud/ethernity-node-quickstart/bios-settings)
{% endcontent-ref %}

### Platform Software

{% content-ref url="ethernity-node-quickstart/platforms" %}
[platforms](https://docs.ethernity.cloud/ethernity-node-quickstart/platforms)
{% endcontent-ref %}

### Blockchain and Wallets Settings

{% content-ref url="ethernity-node-quickstart/blockchain" %}
[blockchain](https://docs.ethernity.cloud/ethernity-node-quickstart/blockchain)
{% endcontent-ref %}

### Installation

{% content-ref url="ethernity-node-quickstart/ethernity-node-installation" %}
[ethernity-node-installation](https://docs.ethernity.cloud/ethernity-node-quickstart/ethernity-node-installation)
{% endcontent-ref %}

## Quick Start

### Install ansible

```
sudo apt update
sudo apt -y install software-properties-common
sudo apt-add-repository --yes --update ppa:ansible/ansible
sudo apt -y install ansible
```

### Clone the repository

```
git clone https://github.com/ethernity-cloud/mvp-pox-node.git
```

### Install the kernel with SGX support

```
cd mvp-pox-node
sudo ansible-galaxy collection install crivetimihai.virtualization
sudo ansible-galaxy install uoi-io.libvirt
sudo ansible-playbook -i localhost, playbook.yml \
  -e "ansible_python_interpreter=/usr/bin/python3"
```

After the first run of the script, the new kernel is installed and the following message will be displayed:

```
ok: [localhost] => {
    "msg": "The kernel has been updated, a reboot is required"
}
```

Reboot the system as requested.

```
sudo reboot
```

Reconnect via SSH and resume the installation. Change to repository directory.

```bash
cd mvp-pox-node
```

### Create the config file

Write the blockchain wallets keypairs inside the config file if you have not done so already.

```
cat << EOF > config
ADDRESS=0xf17f52151EbEF6C7334FAD080c5704D77216b732
PRIVATE_KEY=AE6AE8E5CCBFB04590405997EE2D52D2B330726137B875053C36D94E974D162F
RESULT_ADDRESS=0xC5fdf4076b8F3A5357c5E395ab970B5B54098Fef
RESULT_PRIVATE_KEY=0DBBE8E4AE425A6D2687F1A7E3BA17BC98C673636790F1B8AD91193C05875EF1
EOF
```

### Deploy the node

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

### Start the node

```bash
systemctl start etny-vagrant
```
