Have a Question?

Categories

How to setup Redis access on Plesk 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:

In the hosting manager interface, in the box at the top left, select Scheduled Tasks and click Add Task.

In the Command field, enter the

/etc/rc.d/init.d/redis-peruser check

command.

In the Run section, you have to select Cron style and then specify the following setting:

*/5 * * * *

In Notify, select Do not notify, then click OK.

After you take the timed task, you have to wait 5-10 minutes, as the password required for using the Redis database will be created within this time.

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

/.cagefs/var/run/redis/redis.pwd
Was this article helpful?
0 out Of 5 Stars
5 Értékelés 0%
4 Értékelés 0%
3 Értékelés 0%
2 Értékelés 0%
1 Értékelés 0%
How can we correct this article?
Please submit the reason for your vote so that we can improve the article.