> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jethings.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Redis Setup

> Install and configure Redis 7.0.15

## Install Redis

```bash theme={null}
sudo apt install -y redis-server
```

<Check>
  Verify the version:

  ```bash theme={null}
    redis-server -v
  ```
</Check>

## Configure for systemd

```bash theme={null}
sudo sed -i "s/^supervised no/supervised systemd/" /etc/redis/redis.conf
```

## Enable and start

```bash theme={null}
sudo systemctl enable redis-server
sudo systemctl restart redis-server
```

<Check>
  ```bash theme={null}
    redis-cli ping   # PONG
  ```
</Check>

## Optional: set a password

```bash theme={null}
sudo sed -i "s/^# requirepass foobared/requirepass CHANGE_ME/" /etc/redis/redis.conf
sudo systemctl restart redis-server
```

## Verify service status

```bash theme={null}
sudo systemctl status redis-server --no-pager
```

<Note>
  Used by BullMQ queues (e.g. Jethings content cloning jobs) for job state and caching.
</Note>
