Created
April 20, 2015 10:11
-
-
Save resscode/f118ca2f0233aebce3e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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