Skip to content

Instantly share code, notes, and snippets.

@vinaocruz
Last active September 2, 2015 11:44
Show Gist options
  • Save vinaocruz/1d934ef5d4f0124d6ae2 to your computer and use it in GitHub Desktop.
Save vinaocruz/1d934ef5d4f0124d6ae2 to your computer and use it in GitHub Desktop.
Compile Gearman 1.1.12
#!/usr/bin/env bash
echo "--- Compiling gearman ---"
sudo apt-get install build-essential autoconf bison flex libtool libboost-all-dev libcurl4-openssl-dev libevent-dev libmemcached-dev uuid-dev libsqlite3-dev libmysqlclient-dev gperf
cd /tmp
wget https://launchpad.net/gearmand/1.2/1.1.12/+download/gearmand-1.1.12.tar.gz && tar -xvf gearmand-1.1.12.tar.gz
cd gearmand-1.1.12
./configure
sudo make
sudo make install
sudo apt-get install gearman-job-server
sudo apt-get install -y php-pear
sudo pecl install gearman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment