Have a Question?

Categories

How to setup Redis access on cPanel hosting?

You are here:
< All topics
Table of contents

On our web servers, it is possible to use the Redis database with the following parameters:

  • uses the storage resources
  • max 1 database
  • max 100 MB database size
  • listening unix domain socketen: /tmp/redis.sock
  • password protected, password can be viewed/modifiy here: /var/run/redis/redis.pwd

Setup:

On the cPanel interface, open to the Cron Jobs menu, then add the following task by running it every 5 minutes.

/etc/rc.d/init.d/redis-peruser check >/dev/null 2>&1

After you take the corn job, you have to wait 5-10 minutes to get the password required to use the Redis database.

The password for cPanel storage can be found in the following file:

/home/HASH/.cagefs/var/run/redis/redis.pwd

HASH must be replaced by the cPaneles login name.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we correct this article?
Please submit the reason for your vote so that we can improve the article.
Previous How to set the SSL certificate for my site
Next How to use lsPHP on my cPanel webspace