{"id":666,"date":"2021-07-23T12:35:10","date_gmt":"2021-07-23T12:35:10","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/guide-to-node-js-installations\/"},"modified":"2021-07-23T12:35:10","modified_gmt":"2021-07-23T12:35:10","slug":"guide-to-node-js-installations","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/guide-to-node-js-installations\/","title":{"rendered":"Guide to Node.js\u2122 Installations"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>Node.js\u2122 is an open-source server environment that runs JavaScript. It does not use threads and does not block processes. Because of this, it provides efficient resource management.<\/p>\n<p>For more information about Node.js, visit the Node.js website.<\/p>\n<h2 id=\"requirements\">Requirements<\/h2>\n<p>Before you can install Node.js, your system must meet the following requirements:<\/p>\n<ul>\n<li>Your server <strong>must<\/strong> run CentOS 6, 7, or 8; Red Hat\u00ae Enterprise Linux\u00ae (RHEL) 7; AlmaLinux 8, or CloudLinux\u2122 6, 7, or 8.<\/li>\n<li>Your server <strong>must<\/strong> run EasyApache 4.<\/li>\n<li>You <strong>must<\/strong> possess <code>root<\/code>-level access to the server.<\/li>\n<li>Your server\u2019s yum installation <strong>must<\/strong> function properly. For more information about yum, read our Yellowdog Updater, Modified (yum) Basics documentation.<\/li>\n<\/ul>\n<h2 id=\"install-node-js\">Install Node.js<\/h2>\n<p>You can install Node.js with one of the following methods:<\/p>\n<ul>\n<li>\n<p>In the interface, to install the <code>ea-nodejs10<\/code> module, use the <em>Additional Packages<\/em> section of WHM\u2019s <em>EasyApache 4<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Software &gt;&gt; EasyApache 4<\/em>).<\/p>\n<\/li>\n<li>\n<p>On the command line, to install the <code>ea-nodejs10<\/code> module in EasyApache 4, run the following command:\n<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-bash\" data-lang=\"bash\">yum install ea-nodejs10<\/code><\/pre>\n<\/div>\n<\/li>\n<\/ul>\n<h4 id=\"install-a-node-js-application\">Install a Node.js application<\/h4>\n<p>cPanel users can install Node.js web applications in either of the following ways:<\/p>\n<ul>\n<li>\n<p>Clone an existing application in cPanel\u2019s <em>Git Version Control<\/em> interface (<em>cPanel &gt;&gt; Home &gt;&gt; Files &gt;&gt; Git Version Control<\/em>).<\/p>\n<\/li>\n<li>\n<p>Create a new application. For an example of how to do this, read our How to Install a Node.js Application documentation.<\/p>\n<\/li>\n<\/ul>\n<p>The Node.js Foundation provides a list of Node.js applications. This list is not comprehensive.<\/p>\n<h2 id=\"uninstall-node-js\">Uninstall Node.js<\/h2>\n<p>You can uninstall Node.js with one of the following methods:<\/p>\n<ul>\n<li>\n<p>In the interface, to uninstall the <code>ea-nodejs10<\/code> module, use the <em>Additional Packages<\/em> section of WHM\u2019s <em>EasyApache 4<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Software &gt;&gt; EasyApache 4<\/em>).<\/p>\n<\/li>\n<li>\n<p>On the command line, to install the <code>ea-nodejs10<\/code> module in EasyApache 4, run the following command:\n<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-bash\" data-lang=\"bash\">yum remove ea-nodejs10<\/code><\/pre>\n<\/div>\n<\/li>\n<\/ul>\n<h2 id=\"troubleshoot-node-js\">Troubleshoot Node.js<\/h2>\n<p>If you experience issues with your Node.js installation, use Phusion Passenger\u2019s\u2122 Troubleshooting Passenger Standalone and Node.js documentation to troubleshoot the issue.<\/p>\n<h2 id=\"included-applications\">Included applications<\/h2>\n<p>When you install the <code>ea-nodejs10<\/code> package, the package includes the following applications:<\/p>\n<ul>\n<li>Node.js<\/li>\n<li>NPM \u2014 A Node process manager.<\/li>\n<li>NPX \u2014 A Node process runner.<\/li>\n<\/ul>\n<p>The system stores these applications in the <code>\/opt\/cpanel\/ea-nodejs10\/bin\/<\/code> directory.<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview Node.js\u2122 is an open-source server environment that runs JavaScript. It does not use threads and does not block processes. Because of this, it provides efficient resource management. For more information about Node.js, visit the Node.js website. Requirements Before you can install Node.js, your system must meet the following requirements: Your server must run CentOS &hellip;<\/p>\n","protected":false},"author":1,"featured_media":667,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/666"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=666"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/666\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/667"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}