File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed
Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,33 @@ This repository holds the `debian/` package configuration and handles automation
22
33The Debian package is derived from work done by [ Chris Lea] ( https://github.com/chrislea ) .
44
5- ## Redis Community Edition - Install using Debian Advanced Package Tool (APT)
5+ ## Redis Open Source - Install using Debian Advanced Package Tool (APT)
66
7- To install the latest version of Redis Community Edition using the Debian Advanced Package Tool (APT), please use the following command:
7+ Run the following commands:
8+ ``` sh
9+ sudo apt-get update
10+ sudo apt-get install lsb-release curl gpg
11+ curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
12+ sudo chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg
13+ echo " deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $( lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
14+ sudo apt-get update
15+ sudo apt-get install redis
16+ ```
817
9- -- TODO
18+ > [ !TIP]
19+ > Redis will not start automatically, nor will it start at boot time. To do this, run the following commands.
20+ > ``` sh
21+ > sudo systemctl enable redis-server
22+ > sudo systemctl start redis-server
23+ > ` ` `
24+
25+ > [! TIP]
26+ > To install an earlier version, say ` 7.4.2` , run the following command:
27+ > ` ` ` sh
28+ > sudo apt-get install redis=6:7.4.2-1rl1~jammy1
29+ > ` ` `
30+ >
31+ > You could view the available versions by running ` apt policy redis` .
1032
1133# # Supported Operating Systems
1234
You can’t perform that action at this time.
0 commit comments