{"id":13,"date":"2022-12-24T11:32:10","date_gmt":"2022-12-24T03:32:10","guid":{"rendered":"https:\/\/www.book2022.top\/?p=8"},"modified":"2022-12-24T11:32:10","modified_gmt":"2022-12-24T03:32:10","slug":"ubuntu-debian%e5%ae%89%e8%a3%85%e6%9b%b4%e6%96%b0openssl3","status":"publish","type":"post","link":"https:\/\/txt.book2020.top\/?p=13","title":{"rendered":"ubuntu\/Debian\u5b89\u88c5\u66f4\u65b0openssl3"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li>\u67e5\u770bopenssl\u7248\u672c<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>openssl version<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u66f4\u65b0\u5b89\u88c5\u4f9d\u8d56<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update &amp;&amp; apt -y install build-essential libpcre3 libpcre3-dev zlib1g-dev git dbus manpages-dev aptitude g++ wget curl unzip gcc<\/code><\/pre>\n\n\n\n<p><strong>\u66f4\u65b0openssl\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -nc --no-check-certificate https:\/\/www.openssl.org\/source\/openssl-3.0.8.tar.gz<\/code><\/pre>\n\n\n\n<p><strong>\u89e3\u538bopenssl\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tar -xzvf openssl-3.0.8.tar.gz<\/code><\/pre>\n\n\n\n<p><strong>cd\u8fdb\u5165\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rm -rf openssl-3.0.8.tar.gz &amp;&amp; cd openssl-3.0.8 &amp;&amp; .\/config<\/code><\/pre>\n\n\n\n<p><strong>\u7f16\u8bd1\u5b89\u88c5\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>make &amp;&amp; make install<\/code><\/pre>\n\n\n\n<p><strong>\u6dfb\u52a0\u8f6f\u8fde\u63a5\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ln -s \/usr\/local\/lib64\/libssl.so.3 \/usr\/lib64\/libssl.so.3<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>ln -s \/usr\/local\/lib64\/libcrypto.so.3 \/usr\/lib64\/libcrypto.so.3<\/code><\/pre>\n\n\n\n<p><strong>\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5373\u53ef\u3002<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ldconfig<\/code><\/pre>\n\n\n\n<p><strong>\u67e5\u770bdebian\u7248\u672c<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/etc\/issue<\/code><\/pre>\n\n\n\n<p><strong>\u66f4\u65b0\u7cfb\u7edf<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get update  &amp;&amp; apt-get upgrade<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6dfb\u52a0\u8f6f\u8fde\u63a5\uff1a<\/strong><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>ldconfig \/usr\/local\/lib64\/<\/code><\/pre>\n\n\n\n<p><strong>\u91cd\u542f\u7cfb\u7edf<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>shutdown -r now<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u66f4\u65b0openssl\uff1a \u89e3\u538bopenssl\uff1a cd\u8fdb\u5165\uff1a \u7f16\u8bd1\u5b89\u88c5\uff1a \u6dfb\u52a0\u8f6f\u8fde\u63a5\uff1a \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5373\u53ef\u3002 \u67e5\u770bde&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/txt.book2020.top\/index.php?rest_route=\/wp\/v2\/posts\/13","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/txt.book2020.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/txt.book2020.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/txt.book2020.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/txt.book2020.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13"}],"version-history":[{"count":0,"href":"https:\/\/txt.book2020.top\/index.php?rest_route=\/wp\/v2\/posts\/13\/revisions"}],"wp:attachment":[{"href":"https:\/\/txt.book2020.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/txt.book2020.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/txt.book2020.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}