Pular para o conteúdo

desligar e reiniciar o apache

Responder tópico
  • Denunciar
  • Indicar

1. desligar e reiniciar o apache

Enviado em 25/09/2008 - 11:47h

e aí, galera!! tudo bem com vocês? seguinte, pergunta fácil...preciso desligar e reiniciar o apache...quais os comandos??
brigadão, galera!!
Hal

Responder tópico

2. Re: desligar e reiniciar o apache

Enviado em 25/09/2008 - 12:06h

Caso esteja usando Ubuntu ou Debian
sudo /etc/init.d/apache2 restart

Caso esteja usando RedHat, Fedora ou CentOS
service httpd restart

[]'s
Marcos Miras.

3. Re: desligar e reiniciar o apache

Enviado em 25/09/2008 - 12:08h

Parar:
# /etc/init.d/apache2 stop
Iniciar
# /etc/init.d/apache2 start
Reiniciar
# /etc/init.d/apache2 restart

No Ubuntu pode ser também:
sudo invoke-rc.d apache2 stop
sudo invoke-rc.d apache2 start
sudo invoke-rc.d apache2 restart

Responder tópico

Responder tópico

Entre na sua conta para responder.

Fazer login para responder