NodeJs: Instalando o NodeJs no Linux: Difference between revisions

From Wiki
Line 23: Line 23:
  $ sudo yum -y install gcc-c++ make
  $ 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 npm
'''Red Hat® Enterprise Linux® / RHEL, CentOS'''
$ sudo yum -y install Nginx npm
3. Configurar





Revision as of 22:19, 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 npm
Red Hat® Enterprise Linux® / RHEL, CentOS
$ sudo yum -y install Nginx npm

3. Configurar


Ver também