Created
June 24, 2014 20:54
-
-
Save jomasero/2ee80686e6ce9918440a to your computer and use it in GitHub Desktop.
Comandos útiles para manejo de logs de servidores dotLRN, PHP y Postgres.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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