# How to Set Up Redis Access in cPanel Hosting

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

<div class="wpb_text_column wpb_content_element " id="bkmrk-uses-the-storage-res"><div class="wpb_wrapper">- 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

</div></div>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
```

<p class="callout info">HASH must be replaced by the cPaneles login name.</p>