Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boxuk/elasticsearch-rpms
Elastic Search RPM
https://github.com/boxuk/elasticsearch-rpms
Last synced: 5 days ago
JSON representation
Elastic Search RPM
- Host: GitHub
- URL: https://github.com/boxuk/elasticsearch-rpms
- Owner: boxuk
- Created: 2012-11-01T12:00:58.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-23T21:16:56.000Z (over 11 years ago)
- Last Synced: 2024-04-14T11:50:54.581Z (7 months ago)
- Size: 125 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
Awesome Lists containing this project
README
h1. Elasticsearch RPMs
h2. 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.h2. I have not run these packages on a production system yet, so use at your
own risk.h3. Please file an issue if you try and use these and something doesn't work
as you expect.h2. 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 directoryrpmdev-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 filesspectool -g SPECS/elasticsearch.spec
* Build the src rpmrpmbuild -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 hashingrpmbuild-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.18.4-1.fc16.src.rpm
* Install into your repo!To install on a fedora or rhel system:
* install with yumyum install elasticsearch
* install any plugins you wishyum 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 restartchkconfig elasticsearch on
* Watch the log filestail -F /var/log/${path.logs}/${cluster.name}.log
* Search!