CentOS安装OpenSSL1.1.1
openssl
传输层安全性/安全套接层及其加密库
项目地址:https://gitcode.com/gh_mirrors/ope/openssl
免费下载资源
·
编译安装Python3.10时需要openssl1.1.1
1.查看当前版本
openssl version
2. 删除openssl1.0
yum remove openssl
3.切换目录
cd /opt
4.下载安装包
wget https://www.openssl.org/source/openssl-1.1.1n.tar.gz --no-check-certificate
5.解压并进入目录
tar -zxf openssl-1.1.1n.tar.gz
cd openssl-1.1.1n
6.安装依赖
yum install gcc-c++
yum install -y pcre pcre-devel
yum install -y zlib zlib-devel
7.安装perl-CPAN
1. yum install -y perl-CPAN
2. perl -MCPAN -e shell
3. cpan[1]> install IPC/Cmd.pm
8.设置配置
./config --prefix=/usr/local/openssl
9.编译
make -j 2
10.安装
make install
11.创建软连接
ln -sf /usr/local/openssl/bin/openssl /usr/bin/openssl
12.配置环境变量
vim /etc/ld.so.conf
在文件末尾添加一行代码:
/usr/local/openssl/lib
13.使配置生效
ldconfig -v
14.验证,任意路径下输入命令
openssl version
GitHub 加速计划 / ope / openssl
25.13 K
9.99 K
下载
传输层安全性/安全套接层及其加密库
最近提交(Master分支:1 个月前 )
fd39d1c8
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/25095)
3 个月前
ae87c488
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/25095)
3 个月前
更多推荐
已为社区贡献3条内容
所有评论(0)