Skip to content

Commit 59da384

Browse files
committed
new getting started page
1 parent 57cf818 commit 59da384

File tree

6 files changed

+1645
-9
lines changed

6 files changed

+1645
-9
lines changed

docs/create/linux/index-linux.mdx

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
id: index-linux
3+
title: Create a Redis database on Linux
4+
description: A step by step guide to create a Redis database on Linux.
5+
sidebar_label: Redis on Linux
6+
slug: /create/linux/
7+
authors: [prasan]
8+
---
9+
10+
import Authors from '@site/src/theme/Authors';
11+
12+
<Authors frontMatter={frontMatter} />
13+
14+
### From the official Debian/Ubuntu APT Repository
15+
16+
You can install recent stable versions of Redis Stack from the official packages.redis.io APT repository. The repository currently supports Debian Bullseye (11), Ubuntu Xenial (16.04), Ubuntu Bionic (18.04), and Ubuntu Focal (20.04) on x86 processors. Add the repository to the apt index, update it, and install it:
17+
18+
```sh
19+
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
20+
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
21+
sudo apt-get update
22+
sudo apt-get install redis-stack-server
23+
```
24+
25+
### From the official RPM Feed
26+
27+
You can install recent stable versions of Redis Stack from the official packages.redis.io YUM repository. The repository currently supports RHEL7/CentOS7, and RHEL8/Centos8. Add the repository to the repository index, and install the package.
28+
29+
Create the file /etc/yum.repos.d/redis.repo with the following contents
30+
31+
```
32+
[Redis]
33+
name=Redis
34+
baseurl=http://packages.redis.io/rpm/rhel7
35+
enabled=1
36+
gpgcheck=1
37+
```
38+
39+
```sh
40+
curl -fsSL https://packages.redis.io/gpg > /tmp/redis.key
41+
sudo rpm --import /tmp/redis.key
42+
sudo yum install epel-release
43+
sudo yum install redis-stack-server
44+
```

0 commit comments

Comments
 (0)