Code Monkey home page Code Monkey logo

elasticsearch-rpms's Introduction

Elasticsearch RPMs

An easy way to install elasticsearch on fedora/rhel based systems.

These rpms were built to have an easy way to install the elasticsearch
binary distribution in a systemic way.

The only reason these packages are not submitted upstream is the
requirements for packaging Java are fairly complicated and require building
everything from source and using any other previously packaged libraries.
There were some glaring omissions from the package tree in order to use this
one.

These pacakges are not tested by anyone but me. There are many people using them, but use at your
own risk.

Please file an issue if you try and use these and something doesn’t work
as you expect.

This is not a repository you can just install from. I no longer include
the rpms in this repo itself. You will have to use the spec file and sources
to build the rpm yourself.

To build the rpm for your system of choice:

  • Check out this repo
  • Create your rpmbuild directory
    rpmdev-setuptree
  • Sym link all the sources and spec files into your build tree

    cd rpmbuild
    ln -s ${repo}/SPECS/elasticsearch.spec SPECS/elasticsearch.spec
    ln -s ${repo}/SOURCES/* SOURCES/
  • Download all the source files
    spectool -g SPECS/elasticsearch.spec 
  • Build the src rpm
    rpmbuild -bs —nodeps SPECS/elasticsearch.spec 
    • If you are building for an older system such as el5 you will need to use the old method of hashing
      rpmbuild-md5 -bs —nodeps SPECS/elasticsearch.spec 
  • Build the final rpms with mock (Substitute fedora-16 with whatever your target is.)
     mock -r fedora-16-x86_64 —resultdir ./RPMS/ SRPMS/elasticsearch-0.20.2.fc16.src.rpm 
  • Install into your repo!

To install on a fedora or rhel system:

  • install with yum
    yum install elasticsearch 
  • install any plugins you wish
    yum install elasticsearch-plugin-{plugin-name} 
  • Change any configs you need to
  • Start up the node
    /etc/init.d/elasticsearch start
  • If you want it to start after restart
    chkconfig elasticsearch on
  • Watch the log files
    tail -F /var/log/${path.logs}/${cluster.name}.log
  • Search!

elasticsearch-rpms's People

Contributors

apelsyn avatar cbschuld avatar dcarley avatar erickt avatar organicveggie avatar tavisto avatar vaceletm 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.