Difference between revisions of "Setting up Gearman"

From Dreamwidth Notes
Jump to: navigation, search
Line 2: Line 2:
  
 
  sudo apt-get install gearman-server
 
  sudo apt-get install gearman-server
 +
 +
And also edit <tt>/etc/default/gearman-server</tt> so that ENABLED is true.
  
 
Run the daemon:
 
Run the daemon:
Line 11: Line 13:
 
Then, you need to add this to your configs in the LJ section somewhere:
 
Then, you need to add this to your configs in the LJ section somewhere:
  
@GEARMAN_SERVERS = ('localhost:7003');
+
@GEARMAN_SERVERS = ('localhost:7003');
 +
 
  
 
[[Category: Dreamwidth Installation]]
 
[[Category: Dreamwidth Installation]]

Revision as of 22:16, 24 January 2010

Install the server:

sudo apt-get install gearman-server

And also edit /etc/default/gearman-server so that ENABLED is true.

Run the daemon:

sudo /etc/init.d/gearman-server start

Might want to add it to startup.

Then, you need to add this to your configs in the LJ section somewhere:

@GEARMAN_SERVERS = ('localhost:7003');