{"id":37152,"date":"2025-05-14T08:51:06","date_gmt":"2025-05-14T00:51:06","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/37152.html"},"modified":"2025-05-14T08:51:06","modified_gmt":"2025-05-14T00:51:06","slug":"%e8%a7%a3%e5%86%b3vscode-%e8%bf%9e%e6%8e%a5%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%8a%a5%e9%94%99%ef%bc%9athe-remote-host-may-not-meet-vs-code-servers-prerequisites-for-glibc-and-libstdc-2","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/37152.html","title":{"rendered":"\u89e3\u51b3vscode \u8fde\u63a5\u670d\u52a1\u5668\u62a5\u9519\uff1aThe remote host may not meet VS Code Server\u2018s prerequisites for glibc and libstdc++"},"content":{"rendered":"<\/p>\n<p style=\"text-align:center\">\u00a0\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"70\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250514005105-6823e8f907cfa.jpg\" width=\"70\" \/><\/p>\n<p style=\"text-align:center\">&#x1f3ac; HoRain \u4e91\u5c0f\u52a9\u624b&#xff1a;\u4e2a\u4eba\u4e3b\u9875<\/p>\n<p style=\"text-align:center\">\u26fa\ufe0f\u751f\u6d3b\u7684\u7406\u60f3&#xff0c;\u5c31\u662f\u4e3a\u4e86\u7406\u60f3\u7684\u751f\u6d3b!<\/p>\n<hr \/>\n<h4 id=\"%E2%9B%B3%EF%B8%8F%20%E6%8E%A8%E8%8D%90\">\u26f3\ufe0f \u63a8\u8350<\/h4>\n<p>\u524d\u4e9b\u5929\u53d1\u73b0\u4e86\u4e00\u4e2a\u8d85\u68d2\u7684\u670d\u52a1\u5668\u8d2d\u4e70\u7f51\u7ad9&#xff0c;\u6027\u4ef7\u6bd4\u8d85\u9ad8&#xff0c;\u5927\u5185\u5b58\u8d85\u5212\u7b97&#xff01;\u5fcd\u4e0d\u4f4f\u5206\u4eab\u4e00\u4e0b\u7ed9\u5927\u5bb6\u3002\u70b9\u51fb\u8df3\u8f6c\u5230\u7f51\u7ad9\u3002<\/p>\n<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"%E2%9B%B3%EF%B8%8F%20%E6%8E%A8%E8%8D%90-toc\" style=\"margin-left:80px\">\u26f3\ufe0f \u63a8\u8350<\/p>\n<p id=\"%E4%B8%80%E3%80%81%E9%97%AE%E9%A2%98%E5%8E%9F%E5%9B%A0%E5%88%86%E6%9E%90-toc\" style=\"margin-left:80px\">\u4e00\u3001\u95ee\u9898\u539f\u56e0\u5206\u6790<\/p>\n<p id=\"%E4%BA%8C%E3%80%81%E9%AA%8C%E8%AF%81%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BE%9D%E8%B5%96%E7%89%88%E6%9C%AC-toc\" style=\"margin-left:80px\">\u4e8c\u3001\u9a8c\u8bc1\u670d\u52a1\u5668\u4f9d\u8d56\u7248\u672c<\/p>\n<p id=\"1.%20%E6%A3%80%E6%9F%A5%20glibc%20%E7%89%88%E6%9C%AC-toc\" style=\"margin-left:120px\">1. \u68c0\u67e5 glibc \u7248\u672c<\/p>\n<p id=\"2.%20%E6%A3%80%E6%9F%A5%20libstdc%2B%2B%20%E7%89%88%E6%9C%AC-toc\" style=\"margin-left:120px\">2. \u68c0\u67e5 libstdc&#043;&#043; \u7248\u672c<\/p>\n<p id=\"%E4%B8%89%E3%80%81%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88-toc\" style=\"margin-left:80px\">\u4e09\u3001\u89e3\u51b3\u65b9\u6848<\/p>\n<p id=\"%E6%96%B9%E6%B3%95%201%EF%BC%9A%E5%8D%87%E7%BA%A7%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BE%9D%E8%B5%96%EF%BC%88%E6%8E%A8%E8%8D%90%EF%BC%89-toc\" style=\"margin-left:120px\">\u65b9\u6cd5 1&#xff1a;\u5347\u7ea7\u670d\u52a1\u5668\u4f9d\u8d56&#xff08;\u63a8\u8350&#xff09;<\/p>\n<p id=\"%E5%8D%87%E7%BA%A7%20glibc-toc\" style=\"margin-left:160px\">\u5347\u7ea7 glibc<\/p>\n<p id=\"%E5%8D%87%E7%BA%A7%20libstdc%2B%2B-toc\" style=\"margin-left:160px\">\u5347\u7ea7 libstdc&#043;&#043;<\/p>\n<p id=\"%E6%96%B9%E6%B3%95%202%EF%BC%9A%E6%89%8B%E5%8A%A8%E5%AE%89%E8%A3%85%E9%AB%98%E7%89%88%E6%9C%AC%20libstdc%2B%2B-toc\" style=\"margin-left:120px\">\u65b9\u6cd5 2&#xff1a;\u624b\u52a8\u5b89\u88c5\u9ad8\u7248\u672c libstdc&#043;&#043;<\/p>\n<p id=\"%E6%96%B9%E6%B3%95%203%EF%BC%9A%E5%BC%BA%E5%88%B6%E4%BD%BF%E7%94%A8%E5%85%BC%E5%AE%B9%E7%9A%84%20VS%20Code%20Server%20%E7%89%88%E6%9C%AC-toc\" style=\"margin-left:120px\">\u65b9\u6cd5 3&#xff1a;\u5f3a\u5236\u4f7f\u7528\u517c\u5bb9\u7684 VS Code Server \u7248\u672c<\/p>\n<p id=\"%E5%9B%9B%E3%80%81%E9%AA%8C%E8%AF%81%E4%BF%AE%E5%A4%8D-toc\" style=\"margin-left:80px\">\u56db\u3001\u9a8c\u8bc1\u4fee\u590d<\/p>\n<p id=\"%E4%BA%94%E3%80%81%E5%A4%87%E9%80%89%E6%96%B9%E6%A1%88-toc\" style=\"margin-left:80px\">\u4e94\u3001\u5907\u9009\u65b9\u6848<\/p>\n<p id=\"%E5%85%AD%E3%80%81%E9%94%99%E8%AF%AF%E5%A4%84%E7%90%86%E7%A4%BA%E4%BE%8B-toc\" style=\"margin-left:80px\">\u516d\u3001\u9519\u8bef\u5904\u7406\u793a\u4f8b<\/p>\n<hr id=\"hr-toc\" \/>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"540\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250514005105-6823e8f95f843.png\" width=\"960\" \/><\/p>\n<p>\u00a0 <\/p>\n<hr \/>\n<h4 id=\"%E4%B8%80%E3%80%81%E9%97%AE%E9%A2%98%E5%8E%9F%E5%9B%A0%E5%88%86%E6%9E%90\">\u4e00\u3001\u95ee\u9898\u539f\u56e0\u5206\u6790<\/h4>\n<p>VS Code \u7684 Remote-SSH \u6269\u5c55\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u542f\u52a8\u540e\u53f0\u670d\u52a1&#xff08;vscode-server&#xff09;\u65f6&#xff0c;\u4f9d\u8d56\u4ee5\u4e0b\u7ec4\u4ef6&#xff1a;<\/p>\n<ul>\n<li>glibc&#xff1a;GNU C \u6807\u51c6\u5e93&#xff08;\u6700\u4f4e\u8981\u6c42 glibc 2.17 \u4ee5\u4e0a&#xff09;<\/li>\n<li>libstdc&#043;&#043;&#xff1a;GNU C&#043;&#043; \u6807\u51c6\u5e93&#xff08;\u6700\u4f4e\u8981\u6c42 libstdc&#043;&#043;.so.6.0.21 \u4ee5\u4e0a&#xff09;<\/li>\n<\/ul>\n<p>\u82e5\u670d\u52a1\u5668\u4e0a\u7684\u7248\u672c\u8fc7\u4f4e&#xff0c;\u4f1a\u5bfc\u81f4\u65e0\u6cd5\u542f\u52a8\u670d\u52a1\u3002<\/p>\n<hr \/>\n<h4 id=\"%E4%BA%8C%E3%80%81%E9%AA%8C%E8%AF%81%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BE%9D%E8%B5%96%E7%89%88%E6%9C%AC\">\u4e8c\u3001\u9a8c\u8bc1\u670d\u52a1\u5668\u4f9d\u8d56\u7248\u672c<\/h4>\n<h5 id=\"1.%20%E6%A3%80%E6%9F%A5%20glibc%20%E7%89%88%E6%9C%AC\">1. \u68c0\u67e5 glibc \u7248\u672c<\/h5>\n<p># \u767b\u5f55\u5230\u8fdc\u7a0b\u670d\u52a1\u5668\u540e\u6267\u884c&#xff1a;<br \/>\nldd &#8211;version | head -n1 | awk &#039;{print $NF}&#039;<\/p>\n<ul>\n<li>\u8f93\u51fa\u793a\u4f8b&#xff1a;2.17&#xff08;\u82e5\u7248\u672c\u4f4e\u4e8e 2.17&#xff0c;\u9700\u5347\u7ea7&#xff09;<\/li>\n<\/ul>\n<h5 id=\"2.%20%E6%A3%80%E6%9F%A5%20libstdc%2B%2B%20%E7%89%88%E6%9C%AC\">2. \u68c0\u67e5 libstdc&#043;&#043; \u7248\u672c<\/h5>\n<p># \u67e5\u627e libstdc&#043;&#043;.so.6 \u8def\u5f84<br \/>\nls -l \/usr\/lib64\/libstdc&#043;&#043;.so.6<\/p>\n<p># \u67e5\u770b\u5e93\u7248\u672c&#xff08;\u66ff\u6362\u8def\u5f84\u4e3a\u5b9e\u9645\u8def\u5f84&#xff09;<br \/>\nstrings \/usr\/lib64\/libstdc&#043;&#043;.so.6 | grep GLIBCXX_3.4.21<\/p>\n<ul>\n<li>\u5173\u952e\u8f93\u51fa&#xff1a;\u9700\u5b58\u5728 GLIBCXX_3.4.21&#xff08;\u5bf9\u5e94 libstdc&#043;&#043;.so.6.0.21&#xff09;<\/li>\n<li>\u82e5\u65e0\u8f93\u51fa&#xff0c;\u8bf4\u660e\u7248\u672c\u8fc7\u4f4e\u3002<\/li>\n<\/ul>\n<hr \/>\n<h4 id=\"%E4%B8%89%E3%80%81%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88\">\u4e09\u3001\u89e3\u51b3\u65b9\u6848<\/h4>\n<h5 id=\"%E6%96%B9%E6%B3%95%201%EF%BC%9A%E5%8D%87%E7%BA%A7%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BE%9D%E8%B5%96%EF%BC%88%E6%8E%A8%E8%8D%90%EF%BC%89\">\u65b9\u6cd5 1&#xff1a;\u5347\u7ea7\u670d\u52a1\u5668\u4f9d\u8d56&#xff08;\u63a8\u8350&#xff09;<\/h5>\n<h6 id=\"%E5%8D%87%E7%BA%A7%20glibc\">\u5347\u7ea7 glibc<\/h6>\n<p># CentOS\/RHEL<br \/>\nsudo yum update glibc<\/p>\n<p># Debian\/Ubuntu<br \/>\nsudo apt-get update &amp;&amp; sudo apt-get install libc6<\/p>\n<h6 id=\"%E5%8D%87%E7%BA%A7%20libstdc%2B%2B\">\u5347\u7ea7 libstdc&#043;&#043;<\/h6>\n<p># CentOS\/RHEL<br \/>\nsudo yum install libstdc&#043;&#043;<\/p>\n<p># Debian\/Ubuntu<br \/>\nsudo apt-get install libstdc&#043;&#043;6<\/p>\n<h5 id=\"%E6%96%B9%E6%B3%95%202%EF%BC%9A%E6%89%8B%E5%8A%A8%E5%AE%89%E8%A3%85%E9%AB%98%E7%89%88%E6%9C%AC%20libstdc%2B%2B\">\u65b9\u6cd5 2&#xff1a;\u624b\u52a8\u5b89\u88c5\u9ad8\u7248\u672c libstdc&#043;&#043;<\/h5>\n<p>\u5982\u679c\u670d\u52a1\u5668\u65e0\u6cd5\u76f4\u63a5\u5347\u7ea7&#xff08;\u5982\u65e0 root \u6743\u9650\u6216\u7cfb\u7edf\u7248\u672c\u9501\u5b9a&#xff09;&#xff1a;<\/p>\n<p># \u4e0b\u8f7d\u9ad8\u7248\u672c libstdc&#043;&#043;.so.6.0.28&#xff08;\u793a\u4f8b&#xff09;<br \/>\nwget http:\/\/ftp.de.debian.org\/debian\/pool\/main\/g\/gcc-10\/libstdc&#043;&#043;6_10.2.1-6_amd64.deb<\/p>\n<p># \u89e3\u538b\u5e76\u590d\u5236\u5230\u7528\u6237\u76ee\u5f55<br \/>\ndpkg -x libstdc&#043;&#043;6_10.2.1-6_amd64.deb \/tmp\/libstdc&#043;&#043;<br \/>\ncp \/tmp\/libstdc&#043;&#043;\/usr\/lib\/x86_64-linux-gnu\/libstdc&#043;&#043;.so.6.0.28 ~\/<\/p>\n<p># \u521b\u5efa\u7b26\u53f7\u94fe\u63a5\u5e76\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf<br \/>\ncd ~<br \/>\nln -sf libstdc&#043;&#043;.so.6.0.28 libstdc&#043;&#043;.so.6<br \/>\necho &#039;export LD_LIBRARY_PATH&#061;$HOME:$LD_LIBRARY_PATH&#039; &gt;&gt; ~\/.bashrc<br \/>\nsource ~\/.bashrc<\/p>\n<h5 id=\"%E6%96%B9%E6%B3%95%203%EF%BC%9A%E5%BC%BA%E5%88%B6%E4%BD%BF%E7%94%A8%E5%85%BC%E5%AE%B9%E7%9A%84%20VS%20Code%20Server%20%E7%89%88%E6%9C%AC\">\u65b9\u6cd5 3&#xff1a;\u5f3a\u5236\u4f7f\u7528\u517c\u5bb9\u7684 VS Code Server \u7248\u672c<\/h5>\n<p>\u5982\u679c\u5347\u7ea7\u4f9d\u8d56\u4e0d\u53ef\u884c&#xff0c;\u53ef\u624b\u52a8\u6307\u5b9a\u65e7\u7248 VS Code Server&#xff1a;<\/p>\n<p># \u5728\u672c\u5730\u673a\u5668\u4e0a\u6267\u884c&#xff08;\u66ff\u6362 REMOTE_USER \u548c REMOTE_HOST&#xff09;<br \/>\nssh REMOTE_USER&#064;REMOTE_HOST &#034;mkdir -p ~\/.vscode-server\/bin&#034;<\/p>\n<p># \u4e0b\u8f7d\u65e7\u7248 Server&#xff08;\u4f8b\u5982 commit-id: abcdef12&#xff09;<br \/>\nwget https:\/\/vscode.download.prss.microsoft.com\/dbazure\/stable\/abcdef12\/server-linux-x64.tar.gz<\/p>\n<p># \u4e0a\u4f20\u5e76\u89e3\u538b\u5230\u670d\u52a1\u5668<br \/>\nscp server-linux-x64.tar.gz REMOTE_USER&#064;REMOTE_HOST:~\/.vscode-server\/bin\/<br \/>\nssh REMOTE_USER&#064;REMOTE_HOST &#034;tar -zxvf ~\/.vscode-server\/bin\/server-linux-x64.tar.gz -C ~\/.vscode-server\/bin\/ &#8211;strip-components 1&#034;<\/p>\n<hr \/>\n<h4 id=\"%E5%9B%9B%E3%80%81%E9%AA%8C%E8%AF%81%E4%BF%AE%E5%A4%8D\">\u56db\u3001\u9a8c\u8bc1\u4fee\u590d<\/h4>\n<li>\u91cd\u65b0\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668&#xff1a;\u5728 VS Code \u4e2d\u6267\u884c Remote-SSH: Connect to Host<\/li>\n<li>\u68c0\u67e5\u65e5\u5fd7&#xff1a;\n<ul>\n<li>\u67e5\u770b\u65e5\u5fd7\u8def\u5f84&#xff1a;~\/.vscode-server\/.abcdef12.log<\/li>\n<li>\u786e\u8ba4\u65e0 glibc \u6216 libstdc&#043;&#043; \u76f8\u5173\u9519\u8bef\u3002<\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h4 id=\"%E4%BA%94%E3%80%81%E5%A4%87%E9%80%89%E6%96%B9%E6%A1%88\">\u4e94\u3001\u5907\u9009\u65b9\u6848<\/h4>\n<li>\n<p>\u4f7f\u7528 Docker \u5bb9\u5668&#xff1a;<\/p>\n<p> # \u5728\u670d\u52a1\u5668\u4e0a\u542f\u52a8\u4e00\u4e2a\u5305\u542b\u9ad8\u7248\u672c\u4f9d\u8d56\u7684\u5bb9\u5668<br \/>\ndocker run -it &#8211;rm -v $HOME:\/home\/user ubuntu:20.04<\/p>\n<p>\u5728\u5bb9\u5668\u5185\u5b89\u88c5 VS Code Server\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528 SSH FS \u6269\u5c55&#xff1a;\u901a\u8fc7 SSH FS \u6302\u8f7d\u8fdc\u7a0b\u76ee\u5f55&#xff0c;\u4f46\u529f\u80fd\u53d7\u9650\u3002<\/p>\n<\/li>\n<hr \/>\n<h4 id=\"%E5%85%AD%E3%80%81%E9%94%99%E8%AF%AF%E5%A4%84%E7%90%86%E7%A4%BA%E4%BE%8B\">\u516d\u3001\u9519\u8bef\u5904\u7406\u793a\u4f8b<\/h4>\n<p>\u82e5\u4ecd\u9047\u5230\u9519\u8bef&#xff1a;<\/p>\n<p>Error: \/lib64\/libstdc&#043;&#043;.so.6: version &#096;GLIBCXX_3.4.21&#039; not found<\/p>\n<ul>\n<li>\u89e3\u51b3&#xff1a;\u786e\u4fdd LD_LIBRARY_PATH \u5305\u542b\u81ea\u5b9a\u4e49\u5e93\u8def\u5f84&#xff1a; export LD_LIBRARY_PATH&#061;$HOME:$LD_LIBRARY_PATH\n <\/li>\n<\/ul>\n<hr \/>\n<p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4&#xff0c;\u53ef\u89e3\u51b3\u56e0 glibc \u6216 libstdc&#043;&#043; \u7248\u672c\u8fc7\u4f4e\u5bfc\u81f4\u7684\u8fde\u63a5\u95ee\u9898\u3002\u82e5\u670d\u52a1\u5668\u7248\u672c\u8fc7\u4e8e\u9648\u65e7&#xff08;\u5982 CentOS 6&#xff09;&#xff0c;\u5efa\u8bae\u5347\u7ea7\u64cd\u4f5c\u7cfb\u7edf\u6216\u4f7f\u7528\u5bb9\u5668\u5316\u65b9\u6848\u3002<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250514005105-6823e8f9b1ea2.gif\" \/><\/p>\n<p>\u2764\ufe0f\u2764\ufe0f\u2764\ufe0f\u672c\u4eba\u6c34\u5e73\u6709\u9650&#xff0c;\u5982\u6709\u7eb0\u6f0f&#xff0c;\u6b22\u8fce\u5404\u4f4d\u5927\u4f6c\u8bc4\u8bba\u6279\u8bc4\u6307\u6b63&#xff01;&#x1f604;&#x1f604;&#x1f604;<\/p>\n<p>&#x1f498;&#x1f498;&#x1f498;\u5982\u679c\u89c9\u5f97\u8fd9\u7bc7\u6587\u5bf9\u4f60\u6709\u5e2e\u52a9\u7684\u8bdd&#xff0c;\u4e5f\u8bf7\u7ed9\u4e2a\u70b9\u8d5e\u3001\u6536\u85cf\u4e0b\u5427&#xff0c;\u975e\u5e38\u611f\u8c22!&#x1f44d; &#x1f44d; &#x1f44d;<\/p>\n<p>&#x1f525;&#x1f525;&#x1f525;Stay Hungry Stay Foolish \u9053\u963b\u4e14\u957f,\u884c\u5219\u5c06\u81f3,\u8ba9\u6211\u4eec\u4e00\u8d77\u52a0\u6cb9\u5427&#xff01;&#x1f319;&#x1f319;&#x1f319;<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb598\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u7248\u672c\u8fc7\u4f4e\u5bfc\u81f4\u7684\u8fde\u63a5\u95ee\u9898\u3002\u82e5\u670d\u52a1\u5668\u7248\u672c\u8fc7\u4e8e\u9648\u65e7\uff08\u5982 CentOS 6\uff09\uff0c\u5efa\u8bae\u5347\u7ea7\u64cd\u4f5c\u7cfb\u7edf\u6216\u4f7f\u7528\u5bb9\u5668\u5316\u65b9\u6848\u3002\u524d\u4e9b\u5929\u53d1\u73b0\u4e86\u4e00\u4e2a\u8d85\u68d2\u7684\u670d\u52a1\u5668\u8d2d\u4e70\u7f51\u7ad9\uff0c\u6027\u4ef7\u6bd4\u8d85\u9ad8\uff0c\u5927\u5185\u5b58\u8d85\u5212\u7b97\uff01VS Code \u7684 Remote-SSH \u6269\u5c55\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u542f\u52a8\u540e\u53f0\u670d\u52a1\uff08\u2764\ufe0f\u2764\ufe0f\u2764\ufe0f\u672c\u4eba\u6c34\u5e73\u6709\u9650\uff0c\u5982\u6709\u7eb0\u6f0f\uff0c\u6b22\u8fce\u5404\u4f4d\u5927\u4f6c\u8bc4\u8bba\u6279\u8bc4\u6307\u6b63\uff01\uff1a\u901a\u8fc7 SSH FS \u6302\u8f7d\u8fdc\u7a0b\u76ee\u5f55\uff0c\u4f46\u529f\u80fd\u53d7\u9650\u3002\u5728\u5bb9\u5668\u5185\u5b89\u88c5 VS Code Server\u3002\u82e5\u670d\u52a1\u5668\u4e0a\u7684\u7248\u672c\u8fc7\u4f4e\uff0c\u4f1a\u5bfc\u81f4\u65e0\u6cd5\u542f\u52a8\u670d\u52a1\u3002_the remote host may not meet vs code server\\&#8217;s prerequisites for glibc and li<\/p>\n","protected":false},"author":2,"featured_media":37149,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[954,100],"topic":[],"class_list":["post-37152","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-postgresql","tag-100"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u89e3\u51b3vscode \u8fde\u63a5\u670d\u52a1\u5668\u62a5\u9519\uff1aThe remote host may not meet VS Code Server\u2018s prerequisites for glibc and libstdc++ - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/37152.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u89e3\u51b3vscode \u8fde\u63a5\u670d\u52a1\u5668\u62a5\u9519\uff1aThe remote host may not meet VS Code Server\u2018s prerequisites for glibc and libstdc++ - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb598\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u7248\u672c\u8fc7\u4f4e\u5bfc\u81f4\u7684\u8fde\u63a5\u95ee\u9898\u3002\u82e5\u670d\u52a1\u5668\u7248\u672c\u8fc7\u4e8e\u9648\u65e7\uff08\u5982 CentOS 6\uff09\uff0c\u5efa\u8bae\u5347\u7ea7\u64cd\u4f5c\u7cfb\u7edf\u6216\u4f7f\u7528\u5bb9\u5668\u5316\u65b9\u6848\u3002\u524d\u4e9b\u5929\u53d1\u73b0\u4e86\u4e00\u4e2a\u8d85\u68d2\u7684\u670d\u52a1\u5668\u8d2d\u4e70\u7f51\u7ad9\uff0c\u6027\u4ef7\u6bd4\u8d85\u9ad8\uff0c\u5927\u5185\u5b58\u8d85\u5212\u7b97\uff01VS Code \u7684 Remote-SSH \u6269\u5c55\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u542f\u52a8\u540e\u53f0\u670d\u52a1\uff08\u2764\ufe0f\u2764\ufe0f\u2764\ufe0f\u672c\u4eba\u6c34\u5e73\u6709\u9650\uff0c\u5982\u6709\u7eb0\u6f0f\uff0c\u6b22\u8fce\u5404\u4f4d\u5927\u4f6c\u8bc4\u8bba\u6279\u8bc4\u6307\u6b63\uff01\uff1a\u901a\u8fc7 SSH FS \u6302\u8f7d\u8fdc\u7a0b\u76ee\u5f55\uff0c\u4f46\u529f\u80fd\u53d7\u9650\u3002\u5728\u5bb9\u5668\u5185\u5b89\u88c5 VS Code Server\u3002\u82e5\u670d\u52a1\u5668\u4e0a\u7684\u7248\u672c\u8fc7\u4f4e\uff0c\u4f1a\u5bfc\u81f4\u65e0\u6cd5\u542f\u52a8\u670d\u52a1\u3002_the remote host may not meet vs code server&#039;s prerequisites for glibc and li\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/37152.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-14T00:51:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250514005105-6823e8f907cfa.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37152.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/37152.html\",\"name\":\"\u89e3\u51b3vscode \u8fde\u63a5\u670d\u52a1\u5668\u62a5\u9519\uff1aThe remote host may not meet VS Code Server\u2018s prerequisites for glibc and libstdc++ - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-14T00:51:06+00:00\",\"dateModified\":\"2025-05-14T00:51:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/37152.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/37152.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37152.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u89e3\u51b3vscode \u8fde\u63a5\u670d\u52a1\u5668\u62a5\u9519\uff1aThe remote host may not meet VS Code Server\u2018s prerequisites for glibc and libstdc++\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u89e3\u51b3vscode \u8fde\u63a5\u670d\u52a1\u5668\u62a5\u9519\uff1aThe remote host may not meet VS Code Server\u2018s prerequisites for glibc and libstdc++ - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/37152.html","og_locale":"zh_CN","og_type":"article","og_title":"\u89e3\u51b3vscode \u8fde\u63a5\u670d\u52a1\u5668\u62a5\u9519\uff1aThe remote host may not meet VS Code Server\u2018s prerequisites for glibc and libstdc++ - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb598\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u7248\u672c\u8fc7\u4f4e\u5bfc\u81f4\u7684\u8fde\u63a5\u95ee\u9898\u3002\u82e5\u670d\u52a1\u5668\u7248\u672c\u8fc7\u4e8e\u9648\u65e7\uff08\u5982 CentOS 6\uff09\uff0c\u5efa\u8bae\u5347\u7ea7\u64cd\u4f5c\u7cfb\u7edf\u6216\u4f7f\u7528\u5bb9\u5668\u5316\u65b9\u6848\u3002\u524d\u4e9b\u5929\u53d1\u73b0\u4e86\u4e00\u4e2a\u8d85\u68d2\u7684\u670d\u52a1\u5668\u8d2d\u4e70\u7f51\u7ad9\uff0c\u6027\u4ef7\u6bd4\u8d85\u9ad8\uff0c\u5927\u5185\u5b58\u8d85\u5212\u7b97\uff01VS Code \u7684 Remote-SSH \u6269\u5c55\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u542f\u52a8\u540e\u53f0\u670d\u52a1\uff08\u2764\ufe0f\u2764\ufe0f\u2764\ufe0f\u672c\u4eba\u6c34\u5e73\u6709\u9650\uff0c\u5982\u6709\u7eb0\u6f0f\uff0c\u6b22\u8fce\u5404\u4f4d\u5927\u4f6c\u8bc4\u8bba\u6279\u8bc4\u6307\u6b63\uff01\uff1a\u901a\u8fc7 SSH FS \u6302\u8f7d\u8fdc\u7a0b\u76ee\u5f55\uff0c\u4f46\u529f\u80fd\u53d7\u9650\u3002\u5728\u5bb9\u5668\u5185\u5b89\u88c5 VS Code Server\u3002\u82e5\u670d\u52a1\u5668\u4e0a\u7684\u7248\u672c\u8fc7\u4f4e\uff0c\u4f1a\u5bfc\u81f4\u65e0\u6cd5\u542f\u52a8\u670d\u52a1\u3002_the remote host may not meet vs code server's prerequisites for glibc and li","og_url":"https:\/\/www.wsisp.com\/helps\/37152.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-14T00:51:06+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250514005105-6823e8f907cfa.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/37152.html","url":"https:\/\/www.wsisp.com\/helps\/37152.html","name":"\u89e3\u51b3vscode \u8fde\u63a5\u670d\u52a1\u5668\u62a5\u9519\uff1aThe remote host may not meet VS Code Server\u2018s prerequisites for glibc and libstdc++ - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-14T00:51:06+00:00","dateModified":"2025-05-14T00:51:06+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/37152.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/37152.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/37152.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u89e3\u51b3vscode \u8fde\u63a5\u670d\u52a1\u5668\u62a5\u9519\uff1aThe remote host may not meet VS Code Server\u2018s prerequisites for glibc and libstdc++"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=37152"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37152\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/37149"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=37152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=37152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=37152"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=37152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}