Nginx: Instalando o Nginx no Linux: Difference between revisions

From Wiki
(Criou página com: '= 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...')
 
No edit summary
Line 10: Line 10:
  $ sudo dnf -y install nginx
  $ sudo dnf -y install nginx


  '''Red Hat® Enterprise Linux® / RHEL, CentOS'''
  '''Red Hat® Enterprise Linux® / RHEL'''
  $ sudo yum -y install nginx
  $ sudo yum -y install nginx
'''CentOS 7'''
$ sudo su -
# yum -y install epel-release
# yum -y update
# yum -y install nginx





Revision as of 19:29, 6 October 2015

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
$ sudo yum -y install nginx
CentOS 7
$ sudo su - 
# yum -y install epel-release
# yum -y update 
# yum -y install nginx


Execute o comando

systemctl start nginx

3. Configurar


Ver também