[Assignment-7] setup script
This commit is contained in:
parent
c1b780e41f
commit
00b8bf74af
1 changed files with 16 additions and 0 deletions
16
7-SGX_Hands-on/src/setup
Executable file
16
7-SGX_Hands-on/src/setup
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# download latest release
|
||||||
|
wget -O /tmp/openssl-3.3.1.tar.gz https://github.com/openssl/openssl/releases/download/openssl-3.3.1/openssl-3.3.1.tar.gz
|
||||||
|
|
||||||
|
# unpack source
|
||||||
|
tar -xzvf /tmp/openssl-3.3.1.tar.gz -C /home/syssec/
|
||||||
|
cd /home/syssec/openssl-3.3.1
|
||||||
|
|
||||||
|
# build from source with static linking options
|
||||||
|
./config --prefix=/usr/local/openssl-3.3.1 --static -static -fPIC
|
||||||
|
make -j6
|
||||||
|
|
||||||
|
# install openssl
|
||||||
|
sudo make install
|
||||||
|
|
Loading…
Reference in a new issue