Setting up an Gearman Cluster on Debian
First we need to download latest release of gearmand server at the gearman homepage.
#!/bin/bash apt-get install libevent-dev uuid-dev build-essential g++ wget http://launchpad.net/gearmand/trunk/0.14/+download/gearmand-0.14.tar.gz tar xvzf gearmand-0.14.tar.gz cd gearmand-0.14 ./configure make make install ldconfig |
At configure i ran in some errors. Many of them you can find at Problems on installing Gearmand.
Before we can use the gearmand Server we must install a client extension which can communicate with the server. For gearman existing some Client libraries in serveral languages. You can get a list from the download link above. In my case I use of course the php extension. Installation Instructions can be found here:
Setting up an Gearman Client on php5 as Extension
After you had sucessfully installed the Gearmand Server you can start it with following command:
gearmand -d |