Linux OpenSSL upgrade to openssl1.0.1g version

Source: Internet
Author: User
Tags openssl openssl version

Below, the blacksmith uses a pure version of the system to give everyone a simple upgrade tutorial. Because it is pure version, so some gcc, wget have to be downloaded again. This also gives the novice a better practice opportunity, Daniel do not spray.

First we go to download the OpenSSL package, here it is for the convenience of everyone to download, the blacksmith put the update package in the Baidu Cloud disk share, the need can be directly to download.
Download address: HTTP://PAN.BAIDU.COM/S/1I3FUIPV Download Password: A3VL
One: Install some of the required environments
The code is as follows Copy Code
[Root@localhos/]# yum-y Install gcc-c++
Second: Decompression installation
The code is as follows Copy Code
[Root@localhos/]# TAR-ZXVF openssl-1.0.1g.tar.gz
[Root@localhos/]# CD openssl-1.0.1g
[Root@localhos openssl-1.0.1g]#./config
[Root@localhos openssl-1.0.1g]# make && make install
Three: Configure
The code is as follows Copy Code
[Root@localhos openssl-1.0.1g]# Mv/usr/bin/openssl/usr/bin/openssl.old
[Root@localhos openssl-1.0.1g]# ln-s/usr/local/ssl/bin/openssl/usr/bin/openssl
[Root@localhos openssl-1.0.1g]# ln-s/usr/local/ssl/include/openssl//usr/include/openssl
[Root@localhos openssl-1.0.1g]# echo "/usr/local/ssl/lib/" >>/etc/ld.so.conf
[Root@localhos openssl-1.0.1g]# Ldconfig-v
Four: View version validation
[Root@localhos openssl-1.0.1g]# OpenSSL version-a
If you see the version of OpenSSL is 1.0.1g, the version upgrade is successful.

V: frequently Asked questions

Problem: When performing./config, Warning:file ' config ' has modification time 1.6e+05 s in the future

Reason: Generally will only appear in the virtual machine, time is not synchronized, so it is time to sync it!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.