[openssl]openssl特定版本安裝


卸載舊版本 OpenSSL
1. apt-get purge openssl
2. rm -rf /etc/ssl #刪除配置文件
編譯與安裝 OpenSSL
prefix 是安裝目錄,openssldir 是配置文件目錄,另外建議安裝兩次,shared 作用是生成動態連接庫。

第一次:

./config --prefix=/usr/local --openssldir=/usr/local/ssl
make depend

make && make install

第二次:
./config shared --prefix=/usr/local --openssldir=/usr/local/ssl

make depend
make clean

make && make install


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM