This guide installs Gearman and starts the job server.
sudo apt update
sudo apt install -y gearman-job-server
sudo dnf install -y gearmand --enablerepo=epel
Edit /etc/default/gearman-job-server (Debian/Ubuntu):
START=yes
GEARMAN_OPTS="-L 0.0.0.0 -p 4730"
sudo systemctl enable --now gearman-job-server
sudo systemctl enable --now gearmand
Check that Gearman is running:
sudo systemctl status gearman-job-server # Debian/Ubuntu
sudo systemctl status gearmand # RHEL
Test connectivity:
echo "version" | nc localhost 4730
See Gearman Configuration for configuration guidance.
Any questions?
Feel free to contact us. Find all contact information on our contact page.
Prefer automation? See Gearman Ansible Setup for an example playbook.
Prefer containers? See Gearman Docker Setup.
See Gearman Security for hardening guidance.