An open API service indexing awesome lists of open source software.

https://github.com/redis/redis-rpm


https://github.com/redis/redis-rpm

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

This repository creates the redis-tools rpm, uploading it to our S3 RPM feed.

## Redis Open Source - Install using RPM Package Manager

1. Create the file `/etc/yum.repos.d/redis.repo` with the following contents.

- For Rocky Linux 9 / AlmaLinux 9 / etc...
```ini
[Redis]
name=Redis
baseurl=http://packages.redis.io/rpm/rockylinux9
enabled=1
gpgcheck=1
```
- For Rocky Linux 8 / AlmaLinux 8 / etc...
```ini
[Redis]
name=Redis
baseurl=http://packages.redis.io/rpm/rockylinux8
enabled=1
gpgcheck=1
```

2. Run the following commands:
```sh
curl -fsSL https://packages.redis.io/gpg > /tmp/redis.key
sudo rpm --import /tmp/redis.key
sudo yum install redis
```

## Starting Redis

To start the `redis-server`:
```sh
redis-server /etc/redis/redis.conf &
```

Note that `redis-server` output is redirected to `/var/log/redis/redis-server.log`.

> [!TIP]
> Redis will not start automatically, nor will it start at boot time. To do this, run the following commands.
> ```sh
> sudo systemctl enable redis
> sudo systemctl start redis
> ```

This will start `redis-server` with `/etc/redis/redis.conf`.

## Supported Operating Systems

Redis officially tests the latest version of this distribution against the following OSes:

- CentOS 9
- Rocky Linux 8.10
- Rocky Linux 9.5
- AlmaLinux 8.10
- AlmaLinux 9.5