https://github.com/redis/redis-rpm
https://github.com/redis/redis-rpm
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/redis/redis-rpm
- Owner: redis
- Created: 2022-05-15T09:25:37.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-10-09T08:53:27.000Z (8 months ago)
- Last Synced: 2025-10-10T00:19:08.741Z (8 months ago)
- Language: Shell
- Size: 107 KB
- Stars: 9
- Watchers: 2
- Forks: 13
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
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