码迷,mamicode.com
首页 > 系统相关 > 详细

【linux】centos6.9安装gearman

时间:2017-05-23 16:31:38      阅读:204      评论:0      收藏:0      [点我收藏+]

标签:before   number   inf   blank   and   run   dev   without   orm   

1.确认yum源没问题,如果有问题,参照这里更换

2.

yum install -y boost-devel gperf libevent-devel libuuid-devel
yum install -y gearmand

安装完成啦~

输入gearman确认是否安装成功,输出

gearman    Error in usage(No Functions were provided).

Client mode: gearman [options] [<data>]
Worker mode: gearman -w [options] [<command> [<args> ...]]

Common options to both client and worker modes.
    -f <function> - Function name to use for jobs (can give many)
    -h <host>     - Job server host
    -H            - Print this help menu
    -v            - Print diagnostic information to stdout(false)
    -p <port>     - Job server port
    -t <timeout>  - Timeout in milliseconds
    -i <pidfile>  - Create a pidfile for the process

Client options:
    -b            - Run jobs in the background(false)
    -I            - Run jobs as high priority
    -L            - Run jobs as low priority
    -n            - Run one job per line(false)
    -N            - Same as -n, but strip off the newline(false)
    -P            - Prefix all output lines with functions names
    -s            - Send job without reading from standard input
    -u <unique>   - Unique key to use for job

Worker options:
    -c <count>    - Number of jobs for worker to run before exiting
    -n            - Send data packet for each line(false)
    -N            - Same as -n, but strip off the newline(false)
    -w            - Run in worker mode(false)

 

【linux】centos6.9安装gearman

标签:before   number   inf   blank   and   run   dev   without   orm   

原文地址:http://www.cnblogs.com/dplearning/p/6894578.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!