Quick Start Guide

This QuickStart guide is meant for advanced users already familiar with RHEL5 and compiling software from source and as a quick reference. The script included here should work perfectly on a RHEL5 system with an unmodified apache (httpd.conf) configuration file and unmodified MySQL server. Please send us feedback if you have any questions, comments or suggestions.

For full documentation about the installation of LoggerFS, please continue to the next page.

Procedure


  1. Install Kernel version 2.6.18-8.1.14.el5 or any Kernel for which the FUSE module is available to you.
  2. Install LAMP packages (httpd php mysql mysql-server php-mysql)
    1. Start MySQL
    2. Stop apache (httpd)
    3. Change the ErrorLog setting in /etc/httpd/conf/httpd.conf to log to a different location with an absolute path, e.g, ErrorLog /tmp/httpd_error_log
  3. Install LoggerFS dependency packages (boost-devel make gcc-c++ pkgconfig libxml2-devel)
  4. Install FUSE software:
    1. FUSE Kernel Modules [x86_64] [i386]
    2. FUSE Development [x86_64] [i386]
    3. FUSE Libraries [x86_64] [i386]
  5. Download, configure, make, and install LoggerFS. Be sure to use the --with-mysql flag when compiling!
  6. Download the two attached XML configuration files and place them in /etc/loggerfs, overwriting the existing files.
  7. Create the database and user (see attached SQL file - import with mysql -u root < loggerfs-lamp.sql)
  8. Mount the LoggerFS filesystem with # loggerfs /var/log/httpd
  9. Start apache (httpd)
  10. Monitor the MySQL table to verify the system works.

    If you have any problems, see the Troubleshooting section of this guide.

AttachmentSize
logs.xml - LoggerFS Log Configuration File513 bytes
schemas.xml - LoggerFS Schema Configuration File249 bytes
loggerfs-lamp.sql - SQL Compatible with attached configuration files158 bytes
RHEL5 LAMP Install Script for LoggerFS5.84 KB

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Copy the characters (respecting upper/lower case) from the image.