zoukankan      html  css  js  c++  java
  • 【linux】centos6.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)
  • 相关阅读:
    SDN第三次作业
    SDN第二次上机作业
    SDN第二次作业
    JAVA小记
    算法笔记
    排序
    SDN期末作业
    SDN第五次上机作业
    SDN第四次上机作业
    SDN第四次作业
  • 原文地址:https://www.cnblogs.com/dplearning/p/6894578.html
Copyright © 2011-2022 走看看