当前位置:网站首页>Compiling OpenSSL
Compiling OpenSSL
2022-04-23 15:05:00 【Small ash pier】
compile Openssl
openssl-3.0.2.tar.gz
Experimental environment
# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
1、 Install the dependent package
# yum install gcc
# yum install perl-CPAN
# yum install perl-YAML perl-Term-ReadLine perl-version perl-libs perl-devel perl-Test-* perl-Pod-* perl-ExtUtils-* perl-CGI
2、 Upload source code package
Official download address :http://www.openssl.org/
# cd /usr/local/src
# rz -b
# ls /usr/local/src/
openssl-3.0.2.tar.gz
3、 decompression
# pwd
/usr/local/src
# tar xvf openssl-3.0.2.tar.gz
4、 compile && install
# pwd
/usr/local/src
# cd openssl-3.0.2/
# ./Configure --prefix=/opt/openssl
# make && make install
5、 Create a soft connection
# ln -sv /opt/openssl/lib64/libssl.so.3 /lib64/libssl.so.3
# ln -sv /opt/openssl/lib64/libcrypto.so.3 /lib64/libcrypto.so.3
6、 Back up and reset the new openssl
# mv /usr/bin/openssl /usr/bin/openssl_old
# ln -sv /opt/openssl/bin/openssl /usr/bin/openssl
7、 verification
# openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
版权声明
本文为[Small ash pier]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231409158301.html
边栏推荐
- Will golang share data with fragment append
- Fill in the next right node pointer II of each node [classical hierarchy traversal | regarded as linked list]
- 你還不知道責任鏈模式的使用場景嗎?
- 分布式事务Seata介绍
- One of the advanced applications of I / O reuse: non blocking connect -- implemented using select (or poll)
- js——实现点击复制功能
- Three uses of kprobe
- Leetcode162 - find peak - dichotomy - array
- Basic operation of sequential stack
- eolink 如何助力遠程辦公
猜你喜欢
Leetcode151 - invert words in string - String - simulation
We reference My97DatePicker to realize the use of time plug-in
Tencent has written a few words, Ali has written them all for a month
Svn detailed use tutorial
Bingbing learning notes: take you step by step to realize the sequence table
Thread synchronization, life cycle
8.5 concise implementation of cyclic neural network
Nuxt project: Global get process Env information
QT Detailed explanation of pro file
How to design a good API interface?
随机推荐
When splicing HQL, the new field does not appear in the construction method
Subnet division of flannel principle
Introduction to dirty reading, unrepeatable reading and phantom reading
分布式事务Seata介绍
The life cycle of key value in redis module programming
Thinkphp5 + data large screen display effect
Llvm - generate if else and pH
Fill in the next right node pointer II of each node [classical hierarchy traversal | regarded as linked list]
ffmpeg安装遇错:nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.
LeetCode153-寻找旋转排序数组中的最小值-数组-二分查找
Swift - literal, literal protocol, conversion between basic data types and dictionary / array
多语言通信基础 06 go实现grpc的四种数据流模式实现
Design of digital temperature monitoring and alarm system based on DS18B20 single chip microcomputer [LCD1602 display + Proteus simulation + C program + paper + key setting, etc.]
What is the main purpose of PCIe X1 slot?
2-Go变量操作
UML学习_day2
Detailed explanation of C language knowledge points - data types and variables [2] - integer variables and constants [1]
JUC learning record (2022.4.22)
免费在upic中设置OneDrive或Google Drive作为图床
Async keyword