Skip to content

Instantly share code, notes, and snippets.

@jomasero
Created June 24, 2014 20:54
Show Gist options
  • Select an option

  • Save jomasero/2ee80686e6ce9918440a to your computer and use it in GitHub Desktop.

Select an option

Save jomasero/2ee80686e6ce9918440a to your computer and use it in GitHub Desktop.
Comandos útiles para manejo de logs de servidores dotLRN, PHP y Postgres.
# Log de apache-PHP:
tail -f /var/log/apache2/error.log
# Log de dotlrn:
tail -f /usr/share/dotlrn/log/error.log
# Para agregar IP confiable a Postgree:
pico /etc/postgresql/8.4/main/pg_hba.conf
# ...
/etc/init.d/postgresql reload
# Reiniciar servidores:
/etc/init.d/aolserver4 stop
/etc/init.d/apache2 restart
/etc/init.d/aolserver4 start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment