Installation Nodejs system Centos
The following tutorial describes how to install CentOS NodeJS system in both 7 and 8
We made using several commands. Guide describes how to install nodejs version 13.X and 12.x
At the beginning, we add the repository to the system.
NodeJS version 13.X
1 | dnf install -y gcc-c++ make |
1 | curl -sL https://rpm.nodesource.com/setup_13.x | sudo -E bash - |
NodeJS version 12.x
1 | dnf install -y gcc-c++ make |
1 | curl -sL https://rpm.nodesource.com/setup_12.x | sudo -E bash - |
System Centos 7 dnf replace the command yum
We are installing the NodeJS:
1 | sudo dnf install nodejs |
Nodejs we check the version by typing:
1 | node -v |
1 | v13.11.0 |
Script run the command :
1 | node skrypt.js |
the script should be available at naszadresip:3000 as long as the script is not agreed otherwise.
Related entries:
Changing the language in the system and Debian Centos7
The guide describes how to install Redis server in Ubuntu 20.04
Microsoft Edge browser available for Linux Installation in Ubuntu / Debian / Centos
Installing Java 13 w Ubuntu 18.04 / Ubuntu 19.10
The guide below describes how to install WhatsApp Messenger on Ubuntu