NodeJs: Instalando o NodeJs no Linux: Difference between revisions
Line 32: | Line 32: | ||
'''Fedora.''' | '''Fedora.''' | ||
$ sudo dnf -y install | $ sudo dnf -y install nginx | ||
'''Red Hat® Enterprise Linux® / RHEL, CentOS''' | '''Red Hat® Enterprise Linux® / RHEL, CentOS''' | ||
$ sudo yum -y install | $ sudo yum -y install nginx | ||
3. Configurar | 3. Configurar |
Revision as of 22:20, 12 September 2015
Instalando o NodeJs
Vamos instalar o NodeJs e Node Package Manager (NPM)
1. Abra um terminal
2. Instale o NodeJs
Fedora. $ sudo dnf -y install nodejs npm
Red Hat® Enterprise Linux® / RHEL, CentOS $ sudo yum -y install nodejs npm
3. Para compilar e instalar pacotes adicionais
Fedora. $ sudo dnf -y install gcc-c++ make
Red Hat® Enterprise Linux® / RHEL, CentOS $ sudo yum -y install gcc-c++ make
Instalando o Nginx
Vamos instalar o Nginx e Node Package Manager (NPM)
1. Abra um terminal
2. Instale o Nginx
Fedora. $ sudo dnf -y install nginx
Red Hat® Enterprise Linux® / RHEL, CentOS $ sudo yum -y install nginx
3. Configurar