Skip to content

Instantly share code, notes, and snippets.

@bagf
Last active August 29, 2015 13:57
Show Gist options
  • Save bagf/9599975 to your computer and use it in GitHub Desktop.
Save bagf/9599975 to your computer and use it in GitHub Desktop.
Downloads and complies gearman
#!/bin/sh
# Get gearman client and server library
cd /tmp
# apt-get Dependancies
echo "Installing dependencies..."
apt-get build-dep -q=2 libgearman6
apt-get install -q=2 gperf
echo "Downloading gearmand source from Launchpad..."
wget -q -O gearmand-1.1.12.tar.gz https://launchpad.net/gearmand/1.2/1.1.12/+download/gearmand-1.1.12.tar.gz
tar -xf gearmand-1.1.12.tar.gz
cd gearmand-1.1.12/
echo "Compling gearmand..."
./configure
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment