Home> Topics> Pagoda Panel> body text

Pagoda Linux panel upgrade OpenSSL tutorial

藏色散人
Release: 2020-09-10 09:17:06
forward
5455 people have browsed it

The following is a tutorial on upgrading OpenSSL from thePagodapanel tutorial column. I hope it will be helpful to friends in need!

Pagoda Linux panel upgrade OpenSSL tutorial

Tutorial on upgrading OpenSSL (available for personal testing)

Currently, the OpenSSL of some servers is still version 1.0.1e. We will conduct server vulnerability analysis today. If a vulnerability in OpenSSL is detected, the only option is to upgrade OpenSSL. 1. Log in to SSH and check the OpenSSL version

openssl version
Copy after login

2. Download the source code

wget https://github.com/openssl/openssl/archive/
Copy after login

3. Unzip the source code package and enter the OpenSSL directory

tar zxvf OpenSSL_1_1_0c.tar.gz
Copy after login

4. Precompile

./config --prefix=/usr/local/openssl
Copy after login

5. OpenSSL is officially compiled.

make && make install
Copy after login

6. Move related files to the corresponding directory.

mv /usr/bin/openssl /usr/bin/openssl.OFF mv /usr/include/openssl /usr/include/openssl.OFF ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl ln -s /usr/local/openssl/include/openssl /usr/include/openssl echo "/usr/local/openssl/lib">>/etc/ld.so.conf ldconfig -v
Copy after login

At this point, the compilation of OpenSSL is completed. Hurry and check it out. Check to see if the version is correct! ! !

The above is the detailed content of Pagoda Linux panel upgrade OpenSSL tutorial. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:bt.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!