标签:
在写celery后台任务时,使用redis作为broker,但是启用worker时一直报错,[2014-12-23 14:50:16,056: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379/0: Error 111 connecting to localhost:6379. Connection refused..
Trying again in 2.00 seconds...
后百度后,发现自己没有安装redis,在ubuntu上安装redis非常简单
sudo apt-get install redis-server
安装完毕后,写的celery运行正常。
标签:
原文地址:http://my.oschina.net/longfirst/blog/359600