Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save didinahmadi/ca7488fee51944ab4876 to your computer and use it in GitHub Desktop.
Save didinahmadi/ca7488fee51944ab4876 to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gcc autoconf bison flex libtool make libboost-all-dev libcurl4-openssl-dev curl libevent-dev uuid-dev
cd ~
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 pecl install gearman
sudo nano /etc/php5/conf.d/gearman.ini [and then write extension=gearman.so as content of the file, save it and close it]
sudo service apache2 restart
Checking :
-----------
gearmand -V [to check if gearman is installed]
ps aux | grep gearman [to check if gearman job server is running as service or not -- if not then run it]
php -m [to check if gearman extension for php is installed and loaded or not in the command line]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment