1. 程式人生 > >CentOs 6.5 安裝OpenSSL

CentOs 6.5 安裝OpenSSL

今天在搭建Tomcat +nginx 時,提示我沒有安裝OpenSSl。

提示的錯誤程式碼如下:

</pre><pre name="code" class="html">./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl=<path> option.


發現了問題,我們就得解決問題,CentOs 安裝OpenSSL 的詳細步驟如下:

1、安裝OpenSSL

# tar zxvf openssl-1.0.0a.tar.gz
# cd openssl-1.0.0a
# ./config --prefix=/usr/local/openssl
# make && make install