Skip to content

Instantly share code, notes, and snippets.

@resscode
Created April 20, 2015 10:11
Show Gist options
  • Save resscode/f118ca2f0233aebce3e5 to your computer and use it in GitHub Desktop.
Save resscode/f118ca2f0233aebce3e5 to your computer and use it in GitHub Desktop.
sudo bash
cd /usr/local/lib
wget https://launchpad.net/gearmand/1.2/1.1.12/+download/gearmand-1.1.12.tar.gz
tar -xvzf gearmand-1.1.12.tar.gz
cd gearmand-1.1.12/
apt-get install libboost-program-options-dev uuid-dev libevent-dev build-essential g++
./configure && sudo make && sudo make install
ldconfig
apt-get install php5-dev php-pear
pecl download gearmand-1.1.12
tar -xvf gearmand-1.1.12.tgz
cd gearmand-1.1.12
phpize
./configure && make && make install
echo 'extension=gearman.so' > /etc/php5/conf.d/gearman.ini
sudo service apache2 restart
gearmand -d -u root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment