Jump to content

Recommended Posts


Posted

Para instalar o nginx, o procedimento é simples.

  1. Rode o seguinte comando para baixar e descompactar o nginx: cd /usr/local/src; wget http://nginxcp.com/latest/nginxadmin.tar;tar xf nginxadmin.tar; cd publicnginx;
  2. Caso seja a primeira vez que esteja instalando, será necessário rodar o seguinte comando neste passo: ./pythonfix 
  3. Agora, para instalar de fato o webserver, rode: ./nginxinstaller install
  4. Aguarde a finalização, e por fim, reinicie o apache através do comando: service httpd restart

Pode acontecer de dar algum conflito ao tentar reiniciar o apache. Caso aconteça, tente rodar o seguinte comando:
killall nginx httpd; service httpd restart;

Se não funcionar, efetue a remoção do nginx através do comando ./nginxinstaller uninstall e procure a ajuda de um sysadmin para efetuar tal tarefa.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Do you agree with our terms?