{"id":27794,"date":"2024-11-24T20:01:03","date_gmt":"2024-11-24T12:01:03","guid":{"rendered":"https:\/\/fwq.ai\/blog\/?p=27794"},"modified":"2024-11-24T20:01:03","modified_gmt":"2024-11-24T12:01:03","slug":"nodejs%e7%9a%84%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/27794\/","title":{"rendered":"NodeJs\u7684\u5b89\u88c5"},"content":{"rendered":"<ul>\n<li>NodeJs\u7684\u4e2d\u6587\u5b98\u65b9\u7f51\u7ad9\uff1ahttp:\/\/nodejs.cn<\/li>\n<li>\u5b89\u88c5\u4e0b\u8f7d\uff1ahttp:\/\/nodejs.cn\/download\/<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h1><strong>\u4e00\u3001\u7f16\u8bd1\u5b89\u88c5<\/strong><\/h1>\n<pre># tar xzf node-v6.10.1.tar.gz\r\n# cd node-v6.10.1\r\n# .\/configure --prefix=\/usr\/local\/nodejs\r\n# make\r\n# make instal\r\n\r\n# ln -s \/usr\/local\/nodejs\/bin\/node .\/node\r\n# ln -s \/usr\/local\/nodejs\/bin\/npm .\/npm<\/pre>\n<h1>\u4e8c\u3001\u4e0b\u8f7d\u4e8c\u8fdb\u5236\u5305\uff08\u63a8\u8350\uff09<\/h1>\n<p>\u4e0b\u8f7d\u5730\u5740\uff1ahttps:\/\/nodejs.org\/en\/download\/<br \/>\n\u672c\u6587\u4e0b\u8f7d\uff1ahttps:\/\/nodejs.org\/dist\/v8.9.3\/node-v8.9.3-linux-x64.tar.xz<\/p>\n<pre># xz -d node-v8.9.3-linux-x64.tar.xz\r\n# tar xf node-v8.9.3-linux-x64.tar\r\n# mv node-v8.9.3-linux-x64 \/usr\/local\/nodeJs<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NodeJs\u7684\u4e2d\u6587\u5b98\u65b9\u7f51\u7ad9\uff1ahttp:\/\/nodejs.cn \u5b89\u88c5\u4e0b\u8f7d\uff1ahttp:\/\/nodejs.cn\/download\/ &nbsp; \u4e00\u3001\u7f16\u8bd1\u5b89\u88c5 # tar xzf node-v6.10.1.tar.gz # cd node-v6.10.1 # .\/configure &#8211;prefix=\/usr\/local\/nodejs # make # make instal # ln -s \/usr\/local\/nodejs\/bin\/node .\/node # ln -s \/usr\/local\/nodejs\/bin\/npm .\/npm \u4e8c\u3001\u4e0b\u8f7d\u4e8c\u8fdb\u5236\u5305\uff08\u63a8\u8350\uff09 \u4e0b\u8f7d\u5730\u5740\uff1ahttps:\/\/nodejs.org\/en\/download\/ \u672c\u6587\u4e0b\u8f7d\uff1ahttps:\/\/nodejs.org\/dist\/v8.9.3\/node-v8.9.3-linux-x64.tar.xz # xz -d node-v8.9.3-linux-x64.tar.xz # tar xf node-v8.9.3-linux-x64.tar # mv node-v8.9.3-linux-x64 \/usr\/local\/nodeJs &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-27794","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/27794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=27794"}],"version-history":[{"count":1,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/27794\/revisions"}],"predecessor-version":[{"id":27802,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/27794\/revisions\/27802"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=27794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=27794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=27794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}