Entradas

Mostrando entradas de septiembre, 2015

How to install Graylog2 on Ubuntu 14.04

Imagen
Thanks to: http://www.itzgeek.com/ Graylog Graylog ( formerly known as Graylog2 ) is an open source log management platform, helps you to collect, index and analyze any machine logs on a centralized location. This guide helps you to install Graylog2 on Ubuntu 14.04, also focus on installation of four other components that makes Graylog2 a power full log management tool. Components: 1. MongoDB – Stores the configurations and meta information. 2. Elasticsearch – Stores the log messages and offers a searching facility, nodes should have high memory as all the I/O operations are happens here. 3. GrayLog – Log parser, it collect the logs from various inputs. 4. GrayLog Web interface = provides you the web-based portal for managing the logs. Prerequisites: Since the Elasticsearch is based on java, we would require to install either openJDK or Oracle JDK. It is recommended to  install Oracle JDK , verify the java version by using the following command. $ java -version java

Instalar Java en Ubuntu con Apt-Get

Thanks to: https://www.digitalocean.com Introducción Muchos artículos y programas requieren tener Java instalado, este artículo te guiarå lo suficiente para instalar y manejar las diferentes versiones de Java. Instalando JRE/JDK por defecto Esta es la opción más fácil y recomendada. Esto instalará OpenJDK 6 en Ubuntu 12.04 y superiores, en el caso de 12.10+ se instalará OpenJDK 7. Instalando Java con  apt-get  es fácil. Primero actualizamos el índice de la paquetería: sudo apt-get update Después, revisa si Java no se ha instalado previamente: java -version Si ese comando regresa "The program java can be found in the following packages", significa que Java no ha sido instalado aún, de modo que ejecutaremos el siguiente comando: sudo apt-get install default-jre Esto instlará Java Runtime Environment (JRE). Si necesitas en su lugar el Java Development Kit (JDK), que usualmente se requiere para compilar aplicaciones Java; por ejemplo  Apache Ant ,  Apache Ma