简体   繁体   English

如何在Ubuntu上安装Gearman

[英]how to install gearman on ubuntu

I'm trying to install Gearman on Ubuntu 16.04. 我正在尝试在Ubuntu 16.04上安装Gearman。 the gearman documentation said: Gearman文档中说:

If you are running Debian/sid, run apt-get install gearman-job-server. 如果您正在运行Debian / sid,请运行apt-get install gearman-job-server。 This package may be slightly out of date due to the time it takes to propagate to the repositories. 由于传播到存储库需要时间,因此该软件包可能已过时。

I tried to run the following command to install Gearman, but it doesn't seem to work. 我尝试运行以下命令来安装Gearman,但似乎不起作用。

sudo apt-get install gearman-job-server

If I use the following command, it won't display any output. 如果我使用以下命令,它将不会显示任何输出。

gearmand -d

You have to options: 您必须选择:

  1. run gearmand as user permitted to write into default logging file /var/log/gearmand.log 以允许用户写入默认日志文件/var/log/gearmand.log身份运行gearmand
  2. run gearmand -d --log-file YOUR-LOGGING-FILE 运行gearmand -d --log-file YOUR-LOGGING-FILE

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM