Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
opcache committed Nov 8, 2020
1 parent 9711850 commit 67fe993
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions openssl/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

wget https://codeload.github.com/openssl/openssl/tar.gz/OpenSSL_1_1_1h

yum install -y gcc make perl

tar zxvf OpenSSL_1_1_1h.tar.gz

cd openssl-OpenSSL_1_1_1h
./config --prefix=/usr/local/openssl
make
make install


mv /usr/bin/openssl /usr/bin/openssl.old
mv /usr/lib64/openssl /usr/lib64/openssl.old
mv /usr/lib64/libssl.so /usr/lib64/libssl.so.old
ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/openssl/include/openssl /usr/include/openssl
ln -s /usr/local/openssl/lib/libssl.so /usr/lib64/libssl.so
echo "/usr/local/openssl/lib" >> /etc/ld.so.conf
ldconfig -v
openssl version

0 comments on commit 67fe993

Please sign in to comment.