CentOS 6.3 源码安装新版本 openssl、git、curl

本文介绍了如何在CentOS 6.3系统中通过源码方式安装最新版的openssl、curl和git。首先,详细讲述了openssl的安装过程,然后说明了在安装curl时如何配置使其使用新版本的openssl,避免编译错误。最后,提到了安装git的步骤,特别是指定了curl和openssl的路径以解决可能出现的SSL连接错误问题。
摘要由CSDN通过智能技术生成

0x01. 安装最新版 openssl

不多说,直接操作:

wget https://www.openssl.org/source/openssl-1.1.1c.tar.gz
tar zxvf openssl-1.1.1c.tar.gz
cd openssl-1.1.1c
./config --prefix=/usr/local/openssl
make && make install

# 备份旧版本openssl

mv -f /usr/bin/openssl /usr/bin/openssl.old
mv -f /usr/include/openssl /usr/include/openssl.old

# 修改软链接,使其指向新版本的openssl路径

ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值