[ 
https://issues.apache.org/jira/browse/MESOS-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073705#comment-14073705
 ] 

Bernardo Gomez Palacio commented on MESOS-73:
---------------------------------------------

_Inspired by the latest update by [~davelester]_

For what is worth and as reference to this effort I created the project 
[mesos-rpm|https://github.com/berngp/mesos-rpm]. It is basically a build 
framework to create Apache Mesos RPMs for any given Git hash or tag. The 
default [SPEC 
RPM|https://github.com/berngp/mesos-rpm/blob/master/spec/mesos-glabs.spec] file 
is targeted for RHEL (Amazon, CentOS, etc) and will help you deploy:

The Masters and Slaves _daemons_ if working with a cluster.
The Local _daemon_ if working with a single node.
The Mesos cli if you want to build or interact with Mesos in a box that won't 
host neither the master nor the slave.
The Mesos development headers if you want to build Mesos frameworks.

Note that the spec file has dependencies that can be fulfilled using the EPEL 
Repo.

Example of running it:
{code}
export JDK_HOME="/usr/java/jdk1.7.0_51"
export JAVA_HOME="/usr/java/jdk1.7.0_51"
BUILD_NUMBER="${BUILD_NUMBER:-0}" ./mesos-build.sh --qualifier=glabs_h --hashq 
--buildnumq --command=mock-flow
{code}

*Note* that the build server needs to be a RHEL Linux box, e.g. CentOS. The 
following [chef cookbook|https://github.com/berngp-cookbooks/mesos-buildbox] 
can be used as reference on what to install in such _build box_.

> Add make target for creating Mesos RPM
> --------------------------------------
>
>                 Key: MESOS-73
>                 URL: https://issues.apache.org/jira/browse/MESOS-73
>             Project: Mesos
>          Issue Type: Story
>            Reporter: Andy Konwinski
>              Labels: MesosConHack
>
> This will make it easier for folks to download and try out mesos without 
> having to build it, and increase adoption!



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to