Gearman Job Server - Сетевой брокер сообщений

<konsole> <konsole root> aptitude install nano nano ~/gearman-server-install.sh.sh sh ~/gearman-server-install.sh.sh </konsole>

echo -e "## Install Gearman Job Server & php-gearman client ##"

ver="0.22"
echo -e "## Install libgearman $ver ##"
dpkg -r gearmand
sleep 1
wget http://download.datadifferential.com/gearmand-${ver}.tar.gz
tar -xvzf  gearmand-${ver}.tar.gz
cd ./gearmand-${ver}
./configure
sleep 1
make
checkinstall
make clean
cd ..

ver1="1.0.2"
echo -e "## Install php-gearman $ver1 ##"
dpkg -r gearman
sleep 1
wget http://pecl.php.net/get/gearman-${ver1}.tgz
tar -zxvf  gearman-${ver1}.tgz
cd ./gearman-${ver1}
phpize
./configure
make
checkinstall
make clean
cd ..

service gearman-job-server restart
service php5-fpm restart