Linux之编译安装openssl来升级系统openssl

  • A+
所属分类:Linux  Linux基础
[root@DS-VM-Node250 ~]# mkdir /tmp/openssl
[root@DS-VM-Node250 ~]# curl -Lk https://www.openssl.org/source/openssl-1.0.2h.tar.gz|gunzip |tar x -C /tmp/openssl --strip-components=1
[root@DS-VM-Node250 ~]# cd /tmp/openssl/
[root@DS-VM-Node250 /tmp/openssl]# ./config --prefix=/usr shared zlib
[root@DS-VM-Node250 /tmp/openssl]# make -j $(awk '/processor/{i++}END{print i}' /proc/cpuinfo) && make install && cd
[root@DS-VM-Node250 ~]# \rm -rf /tmp/openssl/
[root@DS-VM-Node250 ~]# openssl version
OpenSSL 1.0.2h  3 May 2016
[root@DS-VM-Node250 ~]# \rm -rf /tmp/openssl/
lookback

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: