办公设备维修网
资讯中心 您所在的位置:网站首页 资讯中心 Centos 6.5安装OpenSSL

Centos 6.5安装OpenSSL

2024-05-13 10:44:17| 来源: 网络整理

方法一、直接安装

yum install openssl 

方法二、下载源码编译安装

1.下载

wget https://www.openssl.org/source/openssl-1.0.2h.tar.gz

2.解压

tar zxf openssl-1.0.2h.tar.gz

3.安装

cd openssl-1.0.2h./config shared zlib

because of configuration changes, you MUST do the following before*** building:

提醒需要在build之前做make dependmake depend

4.

   make

   make install mv /usr/bin/openssl /usr/bin/openssl.bak mv /usr/include/openssl /usr/include/openssl.bak ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl ln -s /usr/local/ssl/include/openssl /usr/include/openssl echo “/usr/local/ssl/lib” >> /etc/ld.so.conf ldconfig -v

4.检测安装是否成功

openssl version -a



【本文地址】 转载请注明 

最新文章

推荐文章

CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备16040606号-1