sean Use a process manager like supervisord. I'll try to get a HOWTO up here in the forum soon.
I need to install supervisord. Please tell me how to do it.
debiprasad I need to install supervisord. Please tell me how to do it.
pip install --user supervisor
supervisord -c $HOME/supervisor.conf
debiprasad All of the Redis binaries are available under /opt/rh/rh-redis5/root/bin:
[root@opal1 ~]# ls -l /opt/rh/rh-redis5/root/bin/
-rwxr-xr-x 1 root root 588856 Aug 7 2019 redis-benchmark
lrwxrwxrwx 1 root root 12 Nov 11 02:04 redis-check-aof -> redis-server
lrwxrwxrwx 1 root root 12 Nov 11 02:04 redis-check-rdb -> redis-server
-rwxr-xr-x 1 root root 756512 Aug 7 2019 redis-cli
lrwxrwxrwx 1 root root 12 Nov 11 02:04 redis-sentinel -> redis-server
-rwxr-xr-x 1 root root 1729520 Aug 7 2019 redis-server
sean Which application should I create for unix_http_server?
How can I apply the changes to the configuration? What do I need to do after making changes in supervisor.conf file?
debiprasad You can set that path to the directory for whichever app you're controlling with supervisor.
Or, you can make a directory like ~/supervisor or whatever and put the config, socket, and pid in there.
sean I want to create a website where I can see Supervisor status. I had done it on Webfaction by creating a custom app (listening on port). Do you have any advice to achieve this? I would prefer to do this without a port if that is faster and secure.
debiprasad If you want to serve supervisor's web UI as a site on our platform then you'll need to use a proxy port app to get a port assignment and then configure the inet_http_server settings the same way you did at WF. Once that's done, add the proxy port app to a site route.
Any chance we may get a complete tutorial in the future? 🙂
I'm using an online instance from redislabs to handle a website made in php, but as you can imagine it's not exactly ideal compared to a local instance.
loupgarou on the TODO list 🙂
sean What is the update?
ehsanquddusi none at this time.
sean Hi Sean, I am just wondering if all the servers are installed Redis including the shared server?
charles_h Redis v5 is available on all of our servers including shared.
sean That's really awesome. thanks Sean.
Complete instructions for spinning up Redis are now available here: Redis instance for Django app w/Celery
debiprasad You can use supervisorctl reread to have it reload the configuration file, but if you're changing the commands that run your apps then you'll need to do a full restart.