{"id":113,"date":"2023-02-03T12:17:12","date_gmt":"2023-02-03T04:17:12","guid":{"rendered":"http:\/\/39.104.58.144\/?p=113"},"modified":"2023-02-07T19:43:23","modified_gmt":"2023-02-07T11:43:23","slug":"openssl-3-0-7","status":"publish","type":"post","link":"http:\/\/www.algmain.com\/index.php\/2023\/02\/03\/openssl-3-0-7\/","title":{"rendered":"\u5347\u7ea7\u81f3OpenSSL-3.0.7"},"content":{"rendered":"\n<p>\u9996\u5148<a href=\"https:\/\/www.openssl.org\/source\/openssl-3.0.7.tar.gz\">\u4e0b\u8f7dOpenSSL-3.0.7<\/a>\u6570\u636e\u5305\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n#cd \/usr\/local\/src\n......\n#wget https:\/\/www.openssl.org\/source\/openssl-3.0.7.tar.gz\n......\n<\/pre><\/div>\n\n\n<p>\u89e3\u538b\u7f29\u6570\u636e\u5305\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n#tar xf openssl-3.0.7.tar.gz\n......\n<\/pre><\/div>\n\n\n<p>\u8bbe\u7f6e\u7f16\u8bd1\u73af\u5883\u548c\u9009\u9879\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n#cd openssl-3.0.7\n......\n#.\/configure\n......\n<\/pre><\/div>\n\n\n<p><em>\u6ce8\u610f\uff1a\u8fd9\u91cc\u4f7f\u7528\u7684\u662f\u7f3a\u7701\u76ee\u5f55\u9879\u914d\u7f6e\u3002\u5982\u679c\u5bf9Linux\u4e0d\u719f\u6089\uff0c\u8bf7\u5c3d\u91cf\u4f7f\u7528\u7f3a\u7701\u914d\u7f6e\u3002<\/em><\/p>\n\n\n\n<p>\u5f00\u59cb\u7f16\u8bd1\u548c\u5b89\u88c5\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n#make\n......\n#make install\n......\n<\/pre><\/div>\n\n\n<p>\u76f8\u5173\u7684\u6587\u4ef6\u4f1a\u5b89\u88c5\u81f3\uff1a\/usr\/local\/bin\u3001\/usr\/local\/ssl\u548c\/usr\/local\/lib64\u76ee\u5f55\u4e0b\u3002<\/p>\n\n\n\n<p>\u5b8c\u6210\u7f16\u8bd1\u548c\u5b89\u88c5\u4e4b\u540e\uff0c\u8fd8\u9700\u8981\u8c03\u6574\u8f6f\u94fe\u63a5\u3002<\/p>\n\n\n\n<p>\u5148\u5efa\u7acb\u4e00\u4e2a\u5907\u4efd\u76ee\u5f55\uff0c\u5c06\u539f\u6709\u7684\u6307\u4ee4\u79fb\u52a8\u5230\u5907\u4efd\u76ee\u5f55\u4e2d\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n#mkdir \/usr\/bin\/backup\n......\n#mv \/usr\/bin\/openssl \/usr\/bin\/backup\/\n......\n<\/pre><\/div>\n\n\n<p>\u5efa\u7acb\u8f6f\u94fe\u63a5\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n#ln -s \/usr\/local\/bin\/openssl \/usr\/bin\/openssl\n......\n<\/pre><\/div>\n\n\n<p>\u4e3a\u4e86\u4f7f\u5e93\u6587\u4ef6\u751f\u6548\uff0c\u9700\u8981\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n#echo &quot;\/usr\/local\/lib64&quot; &gt;&gt; \/etc\/ld.so.conf\n......\n#ldconfig -v\n......\n<\/pre><\/div>\n\n\n<p><em>\u6ce8\u610f\uff1a\u5982\u679c\u7f3a\u5c11\u8fd9\u4e2a\u6b65\u9aa4\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u90e8\u5206\u8f6f\u4ef6\u8fd0\u884c\u7684\u65f6\u5019\u63d0\u793a\u627e\u4e0d\u5230libssl.so.*\u6587\u4ef6\u3002<\/em><\/p>\n\n\n\n<p>\u68c0\u67e5\u8f6f\u94fe\u63a5\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# openssl version\nOpenSSL 3.0.7 1 Nov 2022 (Library: OpenSSL 3.0.7 1 Nov 2022)\n<\/pre><\/div>\n\n\n<p>\u6b64\u65f6\u6253\u5370\u7684\u7248\u672c\u53f7\uff0c\u5e94\u662f\u6700\u65b0\u7684OpenSSL\u7248\u672c\u53f7\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148\u4e0b\u8f7dOpenSSL-3.0.7\u6570\u636e\u5305\uff1a \u89e3\u538b\u7f29\u6570\u636e\u5305\uff1a \u8bbe\u7f6e\u7f16\u8bd1\u73af\u5883\u548c\u9009\u9879\uff1a \u6ce8\u610f\uff1a\u8fd9\u91cc\u4f7f\u7528\u7684\u662f\u7f3a\u7701\u76ee\u5f55\u9879 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[11,10,17],"class_list":["post-113","post","type-post","status-publish","format-standard","hentry","category-technology","tag-centos","tag-linux","tag-openssl"],"_links":{"self":[{"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/posts\/113"}],"collection":[{"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/comments?post=113"}],"version-history":[{"count":4,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/posts\/113\/revisions"}],"predecessor-version":[{"id":745,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/posts\/113\/revisions\/745"}],"wp:attachment":[{"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/media?parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/categories?post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/tags?post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}