Thứ Năm, 7 tháng 4, 2016

[Centos][lib] Hướng dẫn cài đặt OpenSSL

1.Download lib

http://mirrors.ibiblio.org/openssl/source/

2.Setup

/config --prefix=/usr --openssldir=/usr/local/openssl shared
Try that config line instead to overwrite the default. It installs to prefix /usr/local/ssl by default in your setup when you leave off the prefix. You probably have /usr/local/ssl/bin/openssl instead of overwriting /usr/bin/openssl. You can also use /usr/local for prefix instead, but you would need to adjust your path accordingly if that is not already on your path. Here is the INSTALL documentation:
  $ ./config
  $ make
  $ make test
  $ make install

 [If any of these steps fails, see section Installation in Detail below.]

This will build and install OpenSSL in the default location, which is (for
historical reasons) /usr/local/ssl. If you want to install it anywhere else,
run config like this:

  $ ./config --prefix=/usr/local --openssldir=/usr/local/openssl

Không có nhận xét nào:

Đăng nhận xét