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:
Error: username does not appear in the file sudoers. This incident will be reported.
location = /50x.html 8
Installing the on-screen keyboard on Ubuntu systems / Debian / Linux Mint
Installing Microsoft Teams In Ubuntu and Centos
Perfect server on Ubuntu 18.04 Nginx, MySQL, PHP, Postfix, BIND, Dovecot, Pure-FTPD z panelem IS...