Update the installer readme
This commit is contained in:
parent
27500f0461
commit
bcb3396622
@ -14,7 +14,7 @@ To evaluate Occlum in non-docker environment, installers are needed. Occlum prov
|
|||||||
|
|
||||||
Normally, Occlum installers should be provided together with release. However, users can also build them on their own.
|
Normally, Occlum installers should be provided together with release. However, users can also build them on their own.
|
||||||
|
|
||||||
To build RPM packages, a docker container with Occlum CentOS image (based on CentOS 8.1) is needed. Execute below commands under the occlum directory:
|
To build RPM packages, a docker container with Occlum CentOS image (based on CentOS 8.2) is needed. Execute below commands under the occlum directory:
|
||||||
```
|
```
|
||||||
cd tools/installer/rpm
|
cd tools/installer/rpm
|
||||||
make
|
make
|
||||||
@ -42,11 +42,11 @@ yum install -y ocaml ocaml-ocamlbuild
|
|||||||
```
|
```
|
||||||
|
|
||||||
**Step 2. Install Intel® SGX driver and Intel® SGX PSW**
|
**Step 2. Install Intel® SGX driver and Intel® SGX PSW**
|
||||||
Please follow [Intel SGX Installation Guide](https://download.01.org/intel-sgx/sgx-linux/2.9.1/docs/Intel_SGX_Installation_Guide_Linux_2.9.1_Open_Source.pdf) to install SGX driver and SGX PSW. SGX SDK is not required. Using RPM installer is recommanded.
|
Please follow [Intel SGX Installation Guide](https://download.01.org/intel-sgx/sgx-linux/2.13/docs/Intel_SGX_Installation_Guide_Linux_2.13_Open_Source.pdf) to install SGX driver and SGX PSW. SGX SDK is not required. Using RPM installer is recommanded.
|
||||||
|
|
||||||
Also, UAE service libraries are needed but may not installed together with SGX PSW if SGX PSW installer is used. Go to SGX RPM local repo and run:
|
Also, UAE service libraries are needed but may not installed together with SGX PSW if SGX PSW installer is used. Go to SGX RPM local repo and run:
|
||||||
```
|
```
|
||||||
rpm -i libsgx-uae-service-2.9.101.2-1.el7.x86_64.rpm
|
rpm -i libsgx-uae-service-*.rpm
|
||||||
```
|
```
|
||||||
|
|
||||||
**Step 3. Install enable_RDFSBASE Kernel Module**
|
**Step 3. Install enable_RDFSBASE Kernel Module**
|
||||||
@ -121,7 +121,7 @@ apt-get install -y --no-install-recommends libcurl4-openssl-dev libssl-dev libpr
|
|||||||
```
|
```
|
||||||
|
|
||||||
**Step 2. Install Intel® SGX driver and Intel® SGX PSW**
|
**Step 2. Install Intel® SGX driver and Intel® SGX PSW**
|
||||||
Please follow [Intel SGX Installation Guide](https://download.01.org/intel-sgx/sgx-linux/2.9.1/docs/Intel_SGX_Installation_Guide_Linux_2.9.1_Open_Source.pdf) to install SGX driver and SGX PSW. SGX SDK is not required. Using PSW installer is recommanded.
|
Please follow [Intel SGX Installation Guide](https://download.01.org/intel-sgx/sgx-linux/2.13/docs/Intel_SGX_Installation_Guide_Linux_2.13_Open_Source.pdf) to install SGX driver and SGX PSW. SGX SDK is not required. Using PSW installer is recommanded.
|
||||||
|
|
||||||
To install PSW, follow the guide to add Intel® SGX repository to apt source. And then run:
|
To install PSW, follow the guide to add Intel® SGX repository to apt source. And then run:
|
||||||
```
|
```
|
||||||
@ -131,7 +131,7 @@ apt-get install -y libsgx-epid libsgx-urts libsgx-quote-ex libsgx-uae-service
|
|||||||
|
|
||||||
After installing PSW, please make sure that the aesm service is running:
|
After installing PSW, please make sure that the aesm service is running:
|
||||||
```
|
```
|
||||||
service status aesmd
|
service aesmd status
|
||||||
```
|
```
|
||||||
|
|
||||||
**Step 3. Install enable_RDFSBASE Kernel Module**
|
**Step 3. Install enable_RDFSBASE Kernel Module**
|
||||||
|
Loading…
Reference in New Issue
Block a user