Gearman 安装

简介:

60.3. Gearman

http://gearman.org/

60.3.1. Getting Started with Gearman

60.3.1.1. CentOS

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

yum install gearmand
			

60.3.1.2. Ubuntu

$ apt-cache search gearman | grep gearman
drizzle-plugin-gearman-udf - Gearman User Defined Functions for Drizzle
drizzle-plugin-logging-gearman - Gearman Logging for Drizzle
gearman - Distributed job queue
gearman-job-server - Job server for the Gearman distributed job queue
gearman-server - Gearman distributed job server and Perl interface
gearman-tools - Tools for the Gearman distributed job queue
libgearman-client-async-perl - asynchronous client for the Gearman distributed job system
libgearman-client-perl - client for the Gearman distributed job system
libgearman-dbg - Debug symbols for the Gearman Client Library
libgearman-dev - Development files for the Gearman Library
libgearman-doc - API Documentation for the Gearman Library
libgearman6 - Library providing Gearman client and worker functions
mod-gearman-doc - Documentation and examples for Mod-Gearman
mod-gearman-module - Nagios/Icinga event broker module for Mod-Gearman
mod-gearman-tools - Tools for mod-gearman
mod-gearman-worker - Worker agent for Mod-Gearman
python-gearman - Python interface to the Gearman system
python-gearman.libgearman - Python wrapper of libgearman
python3-gearman.libgearman - Python 3 wrapper of libgearman
			

60.3.2. Gearman PHP Extension

		
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

install libgearman-devel
pecl install channel://pecl.php.net/gearman-0.8.3

cat >> /srv/php/etc/conf.d/gearman.ini <<EOF
extension=gearman.so
EOF
		
		

测试安装

# php -r 'printf("%s \r\n", gearman_version());'
0.14
目录
相关文章
|
4月前
|
安全 应用服务中间件 PHP
liunx执行pecl install swoole报错“failed to run `phpize‘”
liunx执行pecl install swoole报错“failed to run `phpize‘”
98 1
|
分布式计算 Java Hadoop
ambari 2.7.6源码编译指南
2021/11/16,ambari终于推出了2.7.6版本,该版本相对2.7.5版本以来,共有26个contributors提交了114个commits以及修改了557个文件。本文以ambari最新版本源码,分享如何进行ambari源码编译以及编译过程中遇到的坑。
ambari 2.7.6源码编译指南
|
NoSQL MongoDB PHP
MaOS10.14使用PECL安装和编译安装PHP扩展mongodb.os
MaOS10.14使用PECL安装和编译安装PHP扩展mongodb.os
232 0
|
NoSQL Redis
How to Install and Configure Redis Server on Debian 9
In this tutorial, we will to install, configure, and use Redis on Debian 9 with Alibaba Cloud ECS.
3376 0
How to Install and Configure Redis Server on Debian 9
|
vr&ar Perl 数据库管理
Gearman 集中处理日志
F# job server 安装在gearman-job服务器上。  worker安装在worker服务器上。  全部以gearman用户运行。  job server 启动命令:  /opt/app/gearman/sbin/gearmand -L 192.
1245 0
|
Web App开发 网络协议 网络安全
Debian 9 安装配置 Caddy Server
Caddy 是一个用 Golang 开发的高效 Web Server,相比 Nginx,它的配置和使用要简单很多,能自动开启 HTTPS、并且支持 HTTP/2 和 QUIC。 下载安装 Caddy 首先去 Download Caddy 选择你需要的插件,然后复制下方的 One-step ins.
3926 0
|
网络协议 PHP Python
|
网络协议 PHP Python
|
Web App开发 应用服务中间件