我要评分
获取效率
正确性
完整性
易理解

Installing OpenSSL

  1. Check the OpenSSL version.
    1
    openssl version
    
  2. Determine whether an upgrade is required.

Obtaining the Source Code

  1. Obtain the OpenSSL source code.

    Download the OpenSSL source package using a local browser.

  2. Copy the OpenSSL source code to the /home directory on the server.

    If the server can access the Internet, you can also run the wget command on the server to download the source code.

    1
    2
    3
    cd /home
    wget https://codeload.github.com/openssl/openssl/tar.gz/OpenSSL_1_1_1d --no-check-certificate
    mv OpenSSL_1_1_1d openssl-OpenSSL_1_1_1d.tar.gz
    

Compiling and Installing OpenSSL

  1. Decompress the OpenSSL package.
    1
    tar -xvf openssl-OpenSSL_1_1_1d.tar.gz
    

  2. Go to openssl-OpenSSL_1_1_1d and view files in it.
    1
    2
    cd openssl-OpenSSL_1_1_1d/
    ls
    

  3. Configure OpenSSL.
    1
    ./config --prefix=/opt/openssl
    

  4. Perform compilation.
    1
    make -j20
    

  5. Perform installation.
    1
    make install