You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Ensure that you have the following required operating systems:
39
39
* Ubuntu\* Desktop-16.04-LTS 64bits
40
40
* Red Hat Enterprise Linux Server release 7.2 64bits
@@ -65,7 +65,7 @@ Build the Intel(R) SGX SDK and Intel(R) SGX PSW Package
65
65
$ ./download_prebuilt.sh
66
66
```
67
67
68
-
###Build the Intel(R) SGX SDK and Intel(R) SGX PSW
68
+
###Build the Intel(R) SGX SDK and Intel(R) SGX PSW
69
69
The following steps describe how to build the Intel SGX SDK and PSW. You can build the project according to your requirement.
70
70
- To build both Intel SGX SDK and PSW with default configuration, enter the following command:
71
71
You can find the tools and libraries generated in the `build/linux` directory.
@@ -95,14 +95,14 @@ The following steps describe how to build the Intel SGX SDK and PSW. You can bui
95
95
$ make
96
96
```
97
97
98
-
###Build Intel(R) SGX SDK Installer
98
+
###Build Intel(R) SGX SDK Installer
99
99
To build Intel(R) SGX SDK installer, enter the following command:
100
100
```
101
101
$ make sdk_install_pkg
102
102
```
103
103
You can find the generated Intel SGX SDK installer ``sgx_linux_x64_sdk_${version}.bin`` located under `linux/installer/bin/`, where `${version}` refers to the version number.
104
104
105
-
###Build Intel(R) SGX PSW Installer
105
+
###Build Intel(R) SGX PSW Installer
106
106
To build Intel(R) SGX PSW installer, enter the following command:
107
107
```
108
108
$ make psw_install_pkg
@@ -111,7 +111,7 @@ You can find the generated Intel SGX PSW installer ``sgx_linux_x64_psw_${version
111
111
112
112
Install Intel(R) SGX SDK
113
113
------------------------
114
-
###Prerequisites
114
+
###Prerequisites
115
115
- Ensure that you have the following required operating systems:
116
116
* Ubuntu\* Desktop-16.04-LTS 64bits
117
117
* Red Hat Enterprise Linux Server release 7.2 64bits
@@ -127,13 +127,13 @@ Install Intel(R) SGX SDK
127
127
$ sudo yum install python
128
128
```
129
129
130
-
###Install Intel(R) SGX SDK
130
+
###Install Intel(R) SGX SDK
131
131
To install Intel(R) SGX SDK, execute the installer with root privilege:
132
132
```
133
133
$ cd linux/installer/bin
134
134
$ sudo ./sgx_linux_x64_sdk_${version}.bin
135
135
```
136
-
###Test Intel(R) SGX SDK Package with the Sample Codes
136
+
###Test Intel(R) SGX SDK Package with the Sample Codes
137
137
- Copy the sample codes installed by Intel(R) SGX SDK package into your work folder, such as:
$ cmake .;make;sudo make install;sudo systemclt enable jhi
196
199
```
197
200
198
-
###Install Intel(R) SGX PSW
201
+
###Install Intel(R) SGX PSW
199
202
To install Intel(R) SGX PSW, execute the installer with root privilege:
200
203
```
201
204
$ cd linux/installer/bin
202
205
$ sudo ./sgx_linux_x64_psw_${version}.bin
203
206
```
207
+
**Note**: On Red Hat Enterprise Linux 7.2 and CentOS 7.3, after Intel(R) SGX PSW installation, execute the following command to update the shared library cache additionally:
208
+
```
209
+
$ sudo ldconfig
210
+
```
211
+
204
212
205
-
###Start or Stop aesmd Service
213
+
###Start or Stop aesmd Service
206
214
The Intel(R) SGX PSW installer installs an aesmd service in your machine which is running in a special linux account aesmd.
207
215
To stop the service: `$ sudo service aesmd stop`
208
216
To start the service: `$ sudo service aesmd start`
209
217
To restart the service: `$ sudo service aesmd restart`
210
218
211
-
###Configure the Proxy for aesmd Service
219
+
###Configure the Proxy for aesmd Service
212
220
The aesmd service uses HTTP protocol to initialize some services.
213
221
If proxy is required for HTTP protocol, you may need manually setup the proxy for aesmd service.
214
222
You should manually edit file `/etc/aesmd.conf` (refer the comment in the file) to set the proxy for aesmd service.
0 commit comments