| 知乎专栏 |
目录
cat >> /etc/yum.repos.d/redis.repo <<EOF [Redis] name=Redis baseurl=http://packages.redis.io/rpm/rockylinux9 enabled=1 gpgcheck=1 EOF curl -fsSL https://packages.redis.io/gpg > /tmp/redis.key sudo rpm --import /tmp/redis.key
[root@netkiller ~]# dnf info redis
Redis 198 B/s | 3.2 kB 00:16
Available Packages
Name : redis
Version : 8.2.1
Release : 1
Architecture : aarch64
Size : 29 M
Source : redis-8.2.1-1.src.rpm
Repository : Redis
Summary : Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs,
: Bitmaps.
URL : https://redis.io/
License :
Description : Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs,
: Bitmaps.
Name : redis
Version : 8.2.1
Release : 1
Architecture : x86_64
Size : 30 M
Source : redis-8.2.1-1.src.rpm
Repository : Redis
Summary : Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs,
: Bitmaps.
URL : https://redis.io/
License :
Description : Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs,
: Bitmaps.
[root@netkiller ~]# dnf install redis [root@netkiller ~]# systemctl enable redis [root@netkiller ~]# systemctl start redis