Logo Apache http server
Logo Apache http server

Para reiniciar apache en Ubuntu 18.04 solo basta escribir esta linea de comando:


# sudo /etc/init.d/apache2 restart

ó

# sudo service apache2 restart

y para Parar/Arrancar:

# sudo /etc/init.d/apache2 stop
# sudo /etc/init.d/apache2 start

ó

# sudo service apache2 stop
# sudo service apache2 start

 

También te puede interesar Como cambiar el hostname en Ubuntu 18.04.