One such project that we’ve been increasingly involved in is Node.js. Our involvement in these projects helps to inform our products and direction. If you want to test your Node.js installation, create a web server and run with Node.js.At Red Hat, we are involved with many different open source communities and upstream projects. firewall-cmd -permanent -add-port=8080/tcpįirewall-cmd -reload Create Test Web Server So, to access the application, we need to allow TCP port 8080 in the firewall. In the next section, we will create a web server that will listen on TCP port 8080 to validate the NodeJS application. To install the Yarn package manager, run: curl -sL -o /etc//yarn.repo Yarn is another package manager to install and manage packages for Node.js. yum install -y nodejsĬheck the version of Node.js using the following command. NPM (Node Package Manager) will also be installed along with Node.js. Once after adding the PPA on the server, install the Node.js by using the following command. Node.js 12.x (LTS) yum -y install -y curlĬurl -sL | bash - Node.js 13.x (Latest Version) yum -y install -y curl You can choose either one of the Node.js version to install on your machine. NodeSource maintains Node.js binary packages for CentOS, Ubuntu and Debian operating systems. yum groupinstall -y 'Development Tools' Configure Node.js Repository You may need to install build tools if you want to compile and install native addons from npm. Check out the official page to get the latest version of Node.js. There are two versions of Node.js is available for the users. CentOS 8 Debian 10/9 Ubuntu 18.04 Ubuntu 16.04 Node.js Versions
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |