当前位置:网站首页>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
边栏推荐
- Vscode Chinese plug-in doesn't work. Problem solving
- What is the effect of Zhongfu Jinshi wealth class 29800? Walk with professional investors to make investment easier
- Little red book timestamp2 (2022 / 04 / 22)
- Leetcode151 - invert words in string - String - simulation
- What is the main purpose of PCIe X1 slot?
- Swift protocol Association object resource name management multithreading GCD delay once
- 8.2 text preprocessing
- JS - implémenter la fonction de copie par clic
- 分布式事务Seata介绍
- 封面和标题中的关键词怎么写?做自媒体为什么视频没有播放量
猜你喜欢
Sword finger offer II 019 Delete at most one character to get palindrome (simple)
Leetcode167 - sum of two numbers II - double pointer - bisection - array - Search
[untitled]
LeetCode162-寻找峰值-二分-数组
What is the main purpose of PCIe X1 slot?
OC to swift conditional compilation, marking, macro, log, version detection, expiration prompt
Comment eolink facilite le télétravail
eolink 如何助力远程办公
Leetcode149 - maximum number of points on a line - Math - hash table
冰冰学习笔记:一步一步带你实现顺序表
随机推荐
[untitled]
免费在upic中设置OneDrive或Google Drive作为图床
Set onedrive or Google drive as a drawing bed in upic for free
Resolve the conflict between computed attribute and input blur event
8.4 realization of recurrent neural network from zero
[proteus simulation] automatic range (range < 10V) switching digital voltmeter
Basic operation of sequential stack
nuxt项目:全局获取process.env信息
How do I open the win10 startup folder?
On the day of entry, I cried (mushroom street was laid off and fought for seven months to win the offer)
Advanced application of I / O multiplexing: Processing TCP and UDP services at the same time
3、 Gradient descent solution θ
Llvm - generate for loop
[thymeleaf] handle null values and use safe operators
like和regexp差别
How to upload large files quickly?
【thymeleaf】处理空值和使用安全操作符
Three uses of kprobe
Openfaas practice 4: template operation
Basic operation of circular queue (Experiment)