Forked from himelnagrana/Installing Gearman Job Server and worker in Ubuntu or Mint
          
        
    
          Last active
          August 29, 2015 14:27 
        
      - 
      
- 
        Save deividaspetraitis/6d9c7a35853642c02638 to your computer and use it in GitHub Desktop. 
    Installing Gearman Job Server and worker in Ubuntu or Mint
  
        
  
    
      This file contains hidden or 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 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