Last active
October 6, 2023 00:29
-
-
Save alexgurrola/db0736378d565bab3b2e35a66e7d9e50 to your computer and use it in GitHub Desktop.
Revisions
-
alexgurrola revised this gist
Oct 6, 2023 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ # usage: wget https://gist.github.com/alexgurrola/db0736378d565bab3b2e35a66e7d9e50/raw/install-openssl-3.1.3.sh && chmod +x install-openssl-3.1.3.sh && ./install-openssl-3.1.3.sh # display current version openssl version # install prerequisites sudo apt update @@ -35,4 +35,4 @@ echo "/usr/local/ssl/lib64" | sudo tee -a /etc/ld.so.conf.d/openssl-3.1.3.conf > sudo ldconfig -v | grep -A 2 "/usr/local/ssl/lib64" # display current version openssl version -
alexgurrola revised this gist
Oct 5, 2023 . 1 changed file with 7 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,10 +23,15 @@ sudo make sudo make test sudo make install # install binary sudo chmod 755 -R /usr/local/ssl/ sudo cp /usr/local/ssl/bin/openssl /usr/bin/ sudo chmod 755 /usr/bin/openssl # install link library echo "/usr/local/ssl/lib64" | sudo tee -a /etc/ld.so.conf.d/openssl-3.1.3.conf > /dev/null # display link library sudo ldconfig -v | grep -A 2 "/usr/local/ssl/lib64" # display current version -
alexgurrola revised this gist
Oct 5, 2023 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,10 +24,10 @@ sudo make test sudo make install # create link library echo "/usr/local/ssl/lib64" | sudo tee -a /etc/ld.so.conf.d/openssl-3.1.3.conf > /dev/null # check config sudo ldconfig -v | grep -A 2 "/usr/local/ssl/lib64" # display current version openssl version -a -
alexgurrola revised this gist
Oct 5, 2023 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ #!/bin/bash # usage: wget https://gist.github.com/alexgurrola/db0736378d565bab3b2e35a66e7d9e50/raw/install-openssl-3.1.3.sh && chmod +x install-openssl-3.1.3.sh && ./install-openssl-3.1.3.sh # display current version openssl version -a -
alexgurrola created this gist
Oct 5, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,31 @@ #!/bin/bash # display current version openssl version -a # install prerequisites sudo apt update sudo apt install build-essential checkinstall zlib1g-dev -y # enter directory cd /usr/local/src/ # extract sudo wget https://www.openssl.org/source/openssl-3.1.3.tar.gz sudo tar -xf openssl-3.1.3.tar.gz cd openssl-3.1.3 # configure, compile, and install sudo ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib sudo make sudo make test sudo make install # create link library echo "/usr/local/ssl/lib64" | sudo tee -a > /etc/ld.so.conf.d/openssl-3.1.3.conf # check config sudo ldconfig -v # display current version openssl version -a