How to set up Redis with LiteSpeed Cache

6 Video Views·Jan 23, 2023

This video demonstrates how to set up Redis for object caching with the LiteSpeed Cache plugin for WordPress.

If you’d like to read more about configuring Redis for use with the LSCache plugin, please see: https://docs.litespeedtech.com/lscache/lscwp/admin/#memcached-lsmcd-and-redis-object-cache-support-in-lscwp

To learn more about LiteSpeed Cache, please visit: https://lscache.io/
To learn more about Redis, please visit: https://redis.io/

The following commands were mentioned in the video and are listed here for easy copying:
sudo apt install redis
systemctl start redis-server
systemctl enable redis-server
sudo wget -O - https://repo.litespeed.sh | sudo bash
sudo apt update
sudo apt install lsphp81-redis

sudo redis-cli
ping

sudo redis-cli
keys *

The LiteSpeed PHP Info page can be found at: https://YOUR-SERVER-IP:7080/phpinfo.php