These rpms were built to have an easy way to install the hurricane
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.
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/hurricane.spec SPECS/hurricane.spec
ls -n ${repo}/SOURCES/* SOURCES/
- Download all the source files
spectool -g SPECS/hurricane.spec
- Build the src rpm
rpmbuild -bs —nodeps SPECS/hurricane.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/hurricane.spec
- If you are building for an older system such as el5 you will need to use the old method of hashing
- Build the final rpms with mock (Substitute fedora-16 with whatever your target is.)
mock -r fedora-16-x86_64 —resultdir ./RPMS/ SRPMS/hurricane-0.2.1-1.fc16.src.rpm
- Install into your repo!
To install on a fedora or rhel system:
- install with yum
yum install hurricane
- Change any configs you need to
- Start up the node
/etc/init.d/hurricane start
- If you want it to start after restart
chkconfig hurricane on
- Watch the log files
tail -F /var/log/${path.logs}/${cluster.name}.log
- Serve your app!