-
Hardware requirements: CPU must contain SGX module, and make sure the SGX function is turned on in the bios, please click this page to check if your machine supports SGX
-
Other configurations
- Secure Boot in BIOS needs to be turned off
- Need use ordinary account, cannot support root account
-
Ensure that you have one of the following required operating systems:
- Ubuntu* 16.04 LTS Desktop 64bits (just for docker mode)
- Ubuntu* 16.04 LTS Server 64bits (just for docker mode)
- Ubuntu* 18.04 LTS Desktop 64bits
- Ubuntu* 18.04 LTS Server 64bits
-
SGX Driver
- Install SGX driverIntel SGX driver 2.9.1 for Linux
-
Clone project
git clone https://github.com/crustio/crust-sworker-teaclave.git
use 'sudo ./docker/build.sh' to build docker
Please refer to this page
```
cd docker/build
sudo docker-compose up -d crust-sworker-teaclave
```
run 'sudo ./scripts/install.sh', this command will install crust-sworker-teaclave to /opt/crust/crust-sworker. Then run '/opt/crust/crust-sworker/bin/crust-sworker-t' to start crust-sworker