linuxcentos6.9安装gearman
Posted 匡子语
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linuxcentos6.9安装gearman相关的知识,希望对你有一定的参考价值。
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)
以上是关于linuxcentos6.9安装gearman的主要内容,如果未能解决你的问题,请参考以下文章