Install Redis on CloudLinux with CageFS

Posted on

The Redis installation steps are the same as on any RHEL-based system:

# yum install epel-release
# yum install redis –enablerepo=epel
Once done, start the Redis service via:

# systemctl start redis.service
# systemctl enable redis
You can check Redis’s status by running the following:

# sudo systemctl status redis.service
What differs is that if CageFS is used on the server, you’ll need to add the Redis package to CageFS skeleton:

# cagefsctl –addrpm redis
# cagefsctl –force-update
Once you confirm that Redis is indeed running, test the setup with this command:

# redis-cli ping
PONG

Ref

Check the Redis Quickstart page for more information:
https://redis.io/topics/quickstart

NB: Redis Support for mod_hostinglimits is deprecated. Check more about it on the following Docs page:
https://docs.cloudlinux.com/deprecated/#redis-support-for-hostinglimits
https://cloudlinux.zendesk.com/hc/en-us/articles/360013936659-How-to-Install-Redis-on-CloudLinux-with-CageFS

Leave a Reply

Your email address will not be published.