Giter Site home page Giter Site logo

logstash-rpm-el4's Introduction

RPM Specs for Logstash on RHEL4

This spec has it's origin from Lars Franke, https://github.com/lfrancke/logstash-rpm I only tried to adapt the scripts to work on RHEL4

To be able to run logstash on RHEL4 you have to compile it with the 1.6.8-version of JRuby. I've managed to do that with logstash 1.1.9. I'm not sure if everything is working as it should though. You should do a "sudo yum groupinstall Development tools" to make sure you have all development tools in place. Please follow the instructions from CentOS on how to set up a RPM build environment: http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment

To create a jar file for RHEL4 you have to:

  1. Download the source of logstash 1.1.9 from github:

$>git clone https://github.com/logstash/logstash.git
$>cd logstash
$>git checkout v1.1.9

  1. Edit the Makefile in logstash repository root folder,

Change the value of
JRUBY_VERSION=1.7.1
to
JRUBY_VERSION=1.6.8

  1. Build it with

$>make jar

  1. move the jar file located in build folder of logstash repo to your ~/rpmbuild/SOURCES
  2. From this repo: move SOURCES folder and SPECS folder to ~/rpmbuild
  3. rpmbuild -bb ~/rpmbuild/SPECS/logstash.spec
  4. take care of your precious rpm located in ~/rpmbuild/RPMS/noarch/
  5. Install it on your servers

logstash-rpm-el4's People

Contributors

kakbit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.