I built my first RPM package today. Well ... / 2010-09-17

2010-09-17 I built my first RPM package today. Well ...
I built my first RPM package today. Well ok, I adjusted the specfile and patchfile of an existing RPM package. But now it does what I want and I understood what I was doing.

I needed to write installation instructions for adding servers to zabbix. And the whole configure ; make ; make install ; fix this, fix that, fix ... thing is not very co-worker friendly.

So I did a bit of searching and found Andrew Farley's rpms from a forum post on the zabbix forums: CentOS 5 (and RHEL) RPMs for Zabbix 1.8. I changed a few things, removed the build of server and proxy (not needed in my setup) and started doing runs with rpmbuild. After a few tries (and lots of time for tea waiting for the complete rebuild every time) I had a working setup which would deploy to a server in minutes. A simple 'how to configure and activate' was added in the instructions. And now it saves us work. On to the next project!

In general, having to document something, writing down exactly how something fits together is a great way to start thinking about it, and sometimes finding a lot of room for improving things.

Tags: , ,

IPv6 check

Running test...
, reachable as koos+website@idefix.net. PGP encrypted e-mail preferred. PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers

Meningen zijn die van mezelf, wat ik schrijf is beschermd door auteursrecht. Sommige publicaties bevatten een expliciete vermelding dat ze ongevraagd gedeeld mogen worden.
My opinions are my own, what I write is protected by copyrights. Some publications contain an explicit license statement which allows sharing without asking permission.
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated by $Id: newsitem.cgi,v 1.58 2022/12/12 15:34:31 koos Exp $ in 0.008696 seconds.