Httpd não está presente no init.d

0

Eu instalei a lâmpada no Ubuntu 15.10. O Apache está funcionando bem. Sempre que eu tentei iniciar o servidor, ele diz. bash: /etc/init.d/httpd: Nenhum arquivo ou diretório. Por favor ajude.

    
por Goutham Sridhar 08.01.2016 / 14:51

1 resposta

0

$ / etc / init.d / httpd start não funciona no Ubuntu, no suporte Debian / Ubuntu listados abaixo e no suporte do CentOS / RHEL serviço httpd restart :

Como iniciar o Apache 2:

 sudo service apache2 start

Como parar o Apache 2:

sudo service apache2 stop

Como reiniciar o Apache 2:

sudo service apache2 restart

Como recarregar o Apache 2:

sudo service apache2 reload
    
por Ramesh Chand 08.01.2016 / 15:00