Documentacion Syslog

Páginas: 4 (871 palabras) Publicado: 22 de octubre de 2015
Instalacion y configuracion de rsyslog y loganalyzer.
El siguiente documento describe cómo instalar y configurar un servidor Syslog en un CentOS 6.5 para centralizar los log's de servidores. Lasolución se basa en tres componentes principales: LAMP (Linux, Apache, MySQL, PHP) servidor rsyslog y LogAnalyzer
Esta guía asume que tanto SELinux y IPTables estan desabilitados. Si es necesario esetipo de nivel de seguridad, consulte la documentación adecuada.
Apache
Para instalar el servidor Web Apache abrir una línea de comandos root y escriba:
[root@localhost]# yum install httpd
Iniciar elservicio de apache:
[root@localhost]# service httpd start
Establecer el servicio para que se inicie automáticamente en el arranque:
[root@localhost]# chkconfig httpd on



MySQL
Instalar MySQL en elservidor:
[root@localhost]# yum install mysql mysql-server
Inicie el servicio:
[root@localhost]# service mysqld start
Establecer el servicio para que se inicie automáticamente en el arranque:[root@localhost]# chkconfig mysql on
Cambiar la contraseña de usuario root de MySQL
[root@localhost]# mysqladmin -u root password 'contraseña'
Prueba de la instalación de MySQL. Inicie sesión en la base dedatos:
[root@localhost]# mysql -u root -p
Usted debe recibir una salida como esta:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 5.1.73Source distribution
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights
reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may betrademarks of their respective owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input
statement.
mysql>
Type 'exit' to log out:
mysql> exit
PHP
Para instalar PHP abrir una línea decomandos root y escriba:
[root@localhost]# yum install php php-mysql
Reiniciar el resivicio:
[root@localhost]# service httpd restart
Rsyslog
Instalar rsyslog en el servidor con el siguiente comando:...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Documentacion
  • documentación
  • documentacion
  • Documentacion
  • Documentacion
  • documentacion
  • documentacion
  • Documentacion

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS