An easy way to install the graylog2-server and graylog2-web-interface packages on Fedora/RHEL based systems
These RPM SPEC files were built to provide an easy way to install the graylog2-radio, graylog2-server, and graylog2-web-interface packages in a systemic way.
These packages are made for version 0.20.0-preview.1 and higher of both packages, these SPEC files WILL NOT WORK with previous versions
These package have been by ONLY me, use at your own risk.
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/* SPECS/ ln -s ${repo}/SOURCES/* SOURCES/
- Download all the source files
spectool -g SPECS/graylog2-radio.spec
spectool -g SPECS/graylog2-server.spec
spectool -g SPECS/graylog2-web-interface.spec
- Build the src rpm
rpmbuild -ba SPECS/graylog2-radio.spec
rpmbuild -ba SPECS/graylog2-server.spec
rpmbuild -ba SPECS/graylog2-web-interface.spec
** If you are building for an older system such as el5 you will need to use the old method of hashing
rpmbuild-md5 -ba SPECS/graylog2-radio.spec
rpmbuild-md5 -ba SPECS/graylog2-server.spec
rpmbuild-md5 -ba SPECS/graylog2-web-interface.spec
- Install into your repo!