Installation Environment:
Operating system: CentOs6.3
OpenSSL version:openssl-1.0.0e.tar.gz
The current version of the latest SSL address is http://www.openssl.org/source/openssl-1.0.0e.tar.gz
1. Place the downloaded compressed package in the root directory,
2, under the folder decompression, command: Tar-xzf openssl-openssl-1.0.0e.tar.gz, get openssl-openssl-1.0.0e folder
3. Enter the extracted directory: CD openssl-1.0.0e
4, set the OpenSSL installation, ( --prefix ) parameters for the installation of the directory, that is, the installed files will appear in this directory:
Execute command:./config--prefix=/usr/local/openssl
5. Execute the order./config-t
6. Execute make to compile OpenSSL
The error that occurred here
MAKE[1]: Gcc:command not found
Surf the internet to find out I installed the CentOS6.3 in the GCC compiler
Ensure the system network unblocked, execute the command yum-y install GCC (note, must forget the smooth, otherwise not installed)
7. Installing OPENSSL:
Make install
8. Execute the following command
[Email protected]/]# cd/usr/local
[Email protected] local]# Ldd/usr/local/openssl/bin/openssl
A message similar to the following will appear:
9.
View Path
...] # which OpenSSL
View version
...] # OpenSSL version
http://blog.csdn.net/maryzhao1985/article/details/8874483
Linux under OpenSSL installation