Skip to content

Install and configure Redis, Supervisor and Worker for Faveo on Ubuntu 16.04

Ladybird Web Solution Pvt Ltd edited this page May 1, 2018 · 21 revisions

Install Redis

sudo apt-get install redis-server

Install PHP extension for Redis

sudo apt-get install php-redis

Start, Enable and restart the Redis-service

sudo systemctl start redis-server.service
sudo systemctl restart redis-server.service
sudo systemctl enable redis-server.service

Supervisor Configuration

Install Supervisor

sudo apt-get install supervisor

Copy paste the below configuration.( Change the directories according to your configuration)

vi /etc/supervisor/conf.d/faveo-worker.conf

[program:faveo-worker]
process_name=%(program_name)s_%(process_num)02d
command=php  /var/www/faveo/faveo-helpdesk/artisan queue:work redis --sleep=3 --tries=3
autostart=true
autorestart=true
numprocs=8
redirect_stderr=true
stdout_logfile=/var/www/faveo/faveo-helpdesk/storage/logs/worker.log

Restart the Supervisor

service supervisor restart
sudo supervisorctl reread
sudo supervisorctl update

Start your worker (Replace the worker name according to your configuration)

sudo supervisorctl start faveo-worker:*

To Check Supervisor status use the below command

systemctl status supervisor.service

Enable Redis in Faveo

After Redis installation is complete, follow these instruction to configure Redis with Faveo. Configuration of Redis with Faveo

Installation and Upgrade Guide

Administrator's Guide

Agent's Guide

Email Integration

Release & Upgrade Notes

Known Issues

Contribute & Feedback

Knowledge Base

Third Party Integration

Plugins

API

Clone this wiki locally