Installation

Packages

Gofer is packaged into RPMs for Linux. These packages are as follows:

  • gofer - The gofer agent (goferd).
  • python-gofer - The common library.
  • python-gofer-qpid - The python-qpid messaging adapter.
  • python-gofer-amqp - The python-amqp messaging adapter.
  • python-gofer-proton - The python-proton (AMQP 1.0) messaging adapter.

Depending on system capabilities, the gofer package registers goferd with systemd or upstart service managers.

Daemon

The daemon (service) is goferd. The /etc/sysconfig/goferd file defines configuration and contains the following properties:

  • PYTHON - The python interpreter.
  • PYTHONOPTIMIZE - Python interpreter optimization (0=disabled, 1=enabled).

Development

The gofer project is hosted by Github. To install from source, you must first clone the git repository. The python library can be installed using something like pip. Once installed, the goferd daemon can be installed.

Cloning the repository:

$ git clone https://github.com/jortel/gofer.git

In the examples below, <git> is the directory containing the cloned repository.

Files can be link or copied.

goferd

To install goferd:

# cp <git>/gofer/bin/goferd /usr/bin

systemd

To register goferd with systemd:

# cp <git>/gofer/usr/lib/systemd/system/goferd.service /usr/lib/systemd/system

upstart

To register goferd with upstart:

# cp <git>/gofer/etc/init.d/goferd /etc/init.d
# chkconfig --add goferd