{"id":32431,"date":"2023-04-27T11:52:10","date_gmt":"2022-12-29T20:40:56","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/"},"modified":"2024-04-30T01:31:55","modified_gmt":"2024-04-29T17:31:55","slug":"%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/","title":{"rendered":"\u4f7f\u7528yum\u5b89\u88c5CentOS 7.x\u4e0a\u7684node.js 8.x"},"content":{"rendered":"<h1>\u5728CentOS7.x\u4e0a\u4f7f\u7528yum\u5b89\u88c5Node.js<\/h1>\n<h2>\u9996\u5148<\/h2>\n<p>\u6211\u5c06\u4ecb\u7ecd\u5982\u4f55\u901a\u8fc7\u7b2c\u4e09\u65b9\u5b58\u50a8\u5e93nodesource\u4eceyum\u5b89\u88c5nodejs\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8eAmazon Linux\u3002\u5728\u751f\u4ea7\u73af\u5883\u4e2d\uff0c\u4e0e\u4f7f\u7528nvm\u76f8\u6bd4\uff0c\u901a\u8fc7yum\u7ba1\u7406\u66f4\u5bb9\u6613\u5904\u7406\u5b89\u5168\u66f4\u65b0\u3002<\/p>\n<h2>\u6dfb\u52a0\u5b58\u50a8\u5e93<\/h2>\n<pre class=\"post-pre\"><code>curl -sL https:\/\/rpm.nodesource.com\/setup_8.x | bash -\r\n<\/code><\/pre>\n<p>\u63a7\u5236\u6bcf\u4e2a\u4ed3\u5e93\u7684\u5b89\u88c5\u7248\u672c\u3002<br \/>\n\u5c068.x\u66f4\u6539\u4e3a6.x\uff0c\u5373\u53ef\u5b89\u88c56.x\u7248\u672c\u3002<br \/>\n\uff08\u5982\u679c\u8981\u4f7f\u75284.x\u7248\u672c\uff0c\u53ea\u9700\u6307\u5b9a\u4e3a4.x\u5373\u53ef\u5b89\u88c5\uff09\u3002<\/p>\n<h2>\u5b89\u88c5<\/h2>\n<pre class=\"post-pre\"><code>yum install -y nodejs gcc-c++ make\r\n<\/code><\/pre>\n<h2>\u53ea\u9700\u8981\u4e00\u4e2a\u9009\u9879\u6765\u7528\u4e2d\u6587\u8fdb\u884c\u610f\u8bd1\uff1a<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">nodesource\u3068\u3044\u3046\u4f01\u696d\u60c5\u5831<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306a\u306e\u3067\u30ea\u30b9\u30af\u8a55\u4fa1\u3057\u3066\u304b\u3089\u4f7f\u3044\u307e\u3057\u3087\u3046<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">http:\/\/jp.techcrunch.com\/2015\/02\/10\/20150209nodesource-raises-3-million-to-build-new-programming-tools\/<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">NODE.JS\u516c\u5f0f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306b\u306a\u3063\u3066\u307e\u3057\u305f\u3002\u5b89\u5fc3\u3057\u3066\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">https:\/\/nodejs.org\/en\/download\/package-manager\/#enterprise-linux-and-fedora<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5728CentOS7.x\u4e0a\u4f7f\u7528yum\u5b89\u88c5Node.js \u9996\u5148 \u6211\u5c06\u4ecb\u7ecd\u5982\u4f55\u901a\u8fc7\u7b2c\u4e09\u65b9\u5b58\u50a8\u5e93nodesource\u4ecey [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-32431","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f7f\u7528yum\u5b89\u88c5CentOS 7.x\u4e0a\u7684node.js 8.x - Blog - Silicon Cloud<\/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.silicloud.com\/zh\/blog\/\u4f7f\u7528yum\u5b89\u88c5centos-7-x\u4e0a\u7684node-js-8-x\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528yum\u5b89\u88c5CentOS 7.x\u4e0a\u7684node.js 8.x\" \/>\n<meta property=\"og:description\" content=\"\u5728CentOS7.x\u4e0a\u4f7f\u7528yum\u5b89\u88c5Node.js \u9996\u5148 \u6211\u5c06\u4ecb\u7ecd\u5982\u4f55\u901a\u8fc7\u7b2c\u4e09\u65b9\u5b58\u50a8\u5e93nodesource\u4ecey [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528yum\u5b89\u88c5centos-7-x\u4e0a\u7684node-js-8-x\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-29T20:40:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T17:31:55+00:00\" \/>\n<meta name=\"author\" content=\"\u79d1, \u96c5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u96c5\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/\",\"name\":\"\u4f7f\u7528yum\u5b89\u88c5CentOS 7.x\u4e0a\u7684node.js 8.x - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-12-29T20:40:56+00:00\",\"dateModified\":\"2024-04-29T17:31:55+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528yum\u5b89\u88c5CentOS 7.x\u4e0a\u7684node.js 8.x\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\",\"name\":\"\u79d1, \u96c5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u96c5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528yum\u5b89\u88c5CentOS 7.x\u4e0a\u7684node.js 8.x - Blog - Silicon Cloud","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.silicloud.com\/zh\/blog\/\u4f7f\u7528yum\u5b89\u88c5centos-7-x\u4e0a\u7684node-js-8-x\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528yum\u5b89\u88c5CentOS 7.x\u4e0a\u7684node.js 8.x","og_description":"\u5728CentOS7.x\u4e0a\u4f7f\u7528yum\u5b89\u88c5Node.js \u9996\u5148 \u6211\u5c06\u4ecb\u7ecd\u5982\u4f55\u901a\u8fc7\u7b2c\u4e09\u65b9\u5b58\u50a8\u5e93nodesource\u4ecey [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528yum\u5b89\u88c5centos-7-x\u4e0a\u7684node-js-8-x\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-12-29T20:40:56+00:00","article_modified_time":"2024-04-29T17:31:55+00:00","author":"\u79d1, \u96c5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u96c5"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/","name":"\u4f7f\u7528yum\u5b89\u88c5CentOS 7.x\u4e0a\u7684node.js 8.x - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-12-29T20:40:56+00:00","dateModified":"2024-04-29T17:31:55+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528yum\u5b89\u88c5CentOS 7.x\u4e0a\u7684node.js 8.x"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a","name":"\u79d1, \u96c5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","caption":"\u79d1, \u96c5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85centos-7-x%e4%b8%8a%e7%9a%84node-js-8-x%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/32431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=32431"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/32431\/revisions"}],"predecessor-version":[{"id":88868,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/32431\/revisions\/88868"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=32431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=32431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=32431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}