目录
centos7安装python3.12.5,0报错安装 你们可能会有一些软件包依赖问题,可自行下载相关依赖包
1、安装openssl
1.1安装之前需要把本地openssl版本更新
[root@ces-235 openssl-1.1.1w]# openssl version
OpenSSL 1.0.2k-fips 26 Jan 2017
[root@ces-235 ope]# tar -xvf openssl-1.1.1w.tar.gz -C /usr/local/
[root@ces-235 ope]# cd /usr/local/openssl-1.1.1w/
1.2配置并编译安装
[root@ces-235 openssl-1.1.1w]# ./config --prefix=/usr/local/openssl shared
Operating system: x86_64-whatever-linux2
Configuring OpenSSL version 1.1.1w (0x1010117fL) for linux-x86_64
Using os-specific seed configuration
Creating configdata.pm
Creating Makefile
**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem while building, please open an ***
*** issue on GitHub <https://github.com/openssl/openssl/issues> ***
*** and include the output from the following command: ***
*** ***
*** perl configdata.pm --dump ***
*** ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL file first) ***
*** ***
**********************************************************************
[root@ces-235 openssl-1.1.1w]# make
[root@ces-235 openssl-1.1.1w]# make install
1.3安装后把本地的openssl备份一下
[root@ces-235 openssl-1.1.1w]# mv /