Skip to content

dreadatour/logstash-specs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logstash SPECS for CentOS

All that you need to build CentOS RPMs for:

Set Up an RPM Build Environment under CentOS

More info: Set Up an RPM Build Environment.

yum install rpm-build make gcc
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros

Another way:

yum install rpmdevtools
rpmdev-setuptree

Prepare

mkdir ~/temp
cd ~/temp/
git clone https://github.com/dreadatour/logstash-specs.git

Build ElasticSearch RPM

cp -vr ~/temp/logstash-specs/elasticsearch/* ~/rpmbuild/
cd ~/rpmbuild/
rpmbuild -v -bb SPECS/elasticsearch.spec

Result RPM:

ls ~/rpmbuild/RPMS/x86_64/elasticsearch-0.90.9-1.el6.x86_64.rpm

Build Logstash RPM

cp -vr ~/temp/logstash-specs/logstash/* ~/rpmbuild/
cd ~/rpmbuild/
rpmbuild -v -bb SPECS/logstash.spec

Result RPM:

ls ~/rpmbuild/RPMS/x86_64/logstash-1.3.3-1.el6.x86_64.rpm

Build Kibana RPM

cp -vr ~/temp/logstash-specs/kibana/* ~/rpmbuild/
cd ~/rpmbuild/
rpmbuild -v -bb SPECS/kibana.spec

Result RPM:

ls ~/rpmbuild/RPMS/x86_64/kibana-3.0.0milestone5-1.el6.x86_64.rpm

See also

About

Logstash SPECS for CentOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published