Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 1.9 KB

prerequisites.md

File metadata and controls

72 lines (46 loc) · 1.9 KB

SKALE sgxwallet Prerequisites

sgxwallet depends on several freely available software components. These must be installed and configured before running sgxwallet. This document describes how to install and configure these required components.

Recommended host system

sgxwallet has been tested and should be run on Ubuntu 18.04.

Sgxwallet may run on other Linux distributions, but the installation process is likely to be more complicated, and the use of other distributions is not supported by their respective communities at this time.

Install Docker engine

Docker engine is pre-installed on Ubuntu 18.04. You can re-install it as described below

sudo apt-get install -y docker.io

To verify a correct installation, run sudo docker run hello-world

Install Docker Compose

sudo apt-get install -y docker-compose

To verify a correct installation, run docker-compose version

For details on Docker installation, see https://docs.docker.com/engine/installation/linux/ubuntu and https://docs.docker.com/compose/install/#install-compose

Verify Internet connection

Intel SGX automatically downloads enclave whitelist updates from

http://whitelist.trustedservices.intel.com/SGX/LCWL/Linux/sgx_white_list_cert.bin

Verify that your network and firewall configuration allows connections to this URL by running

curl  -I http://whitelist.trustedservices.intel.com/SGX/LCWL/Linux/sgx_white_list_cert.bin

If you need to set advanced options, such as outgoing network proxy, edit "/etc/aesmd.conf" file in the sgxwallet docker container.

Verify SGX support

Install cpuid and libelf-dev packages:

sudo apt-get install -y libelf-dev cpuid

Verify processor support of Intel SGX:

cpuid | grep SGX:

The printout should read: SGX: Software Guard Extensions supported = true