You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/marketplace-docs/guides/redis/index.md
+46-12Lines changed: 46 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Deploy Redis through the Linode Marketplace"
3
3
description: "This guide shows how you can install Redis database, a open-source, in-memory, data structure store, with optional write and persistence of data on a disk."
[Redis](https://redis.io/) is an open-source, in-memory, data-structure store, with the optional ability to write and persist data to a disk, which can be used as a key-value database, cache, and message broker. Redis features built-in transactions, replication, and support for a variety of data structures such as strings, hashes, lists, sets, and others.
20
20
21
+
The One-Click App for Redis installs Redis version 7.2.7.
-**Recommended minimum plan:** All plan types and sizes can be used, though consider using a [High Memory Compute Instance](https://www.linode.com/products/high-memory/) for larger databases in a production environment.
35
+
-**Supported distributions:** Ubuntu 24.04 LTS
36
+
-**Suggested minimum plan:** All plan types and sizes can be used, though consider using a [High Memory Compute Instance](https://www.linode.com/products/high-memory/) for larger databases in a production environment.
-**Email address for the SOA record:** The start of authority (SOA) email address for this server. This is a required field if you want the installer to create DNS records.
50
+
-**Organization:** Enter the name of your organization.
51
+
52
+
-**Email Address:** Enter the email address you wish to use for your certificate file.
53
+
54
+
-**CA Common Name:** Enter a common name to be shared as the authority for all SSL certificates, for example *Redis CA*.
55
+
56
+
-**Client Count:** Generate up to ten SSL certificates for external clients connecting to Redis.
1. Log in to your new Compute Instance through [Lish](/docs/products/compute/compute-instances/guides/lish/) or [SSH](/docs/guides/connect-to-server-over-ssh/) using either the `root` user or limited user and the associated password you entered when creating the instance.
64
+
Once the app is deployed, you need to obtain the credentials from the server.
65
+
66
+
To obtain credentials:
67
+
68
+
1. Log in to your new Compute Instance using one of the methods below:
69
+
70
+
-**Lish Console**: Log in to Cloud Manager, click the **Linodes** link in the left menu, and select the Compute Instance you just deployed. Click **Launch LISH Console**. Log in as the `root` user. To learn more, see [Using the Lish Console](/docs/products/compute/compute-instances/guides/lish/).
71
+
-**SSH**: Log in to your Compute Instance over SSH using the `root` user. To learn how, see [Connecting to a Remote Server Over SSH](/docs/guides/connect-to-server-over-ssh/).
72
+
73
+
1. Run the following command to access the credentials file:
74
+
75
+
```command
76
+
cat /home/$USERNAME/.credentials
77
+
```
78
+
79
+
This returns passwords that were automatically generated when the instance was deployed. Save them. Once saved, you can safely delete the file.
80
+
81
+
82
+
### Access the Redis CLI
83
+
After you log in and obtain the credentials, you can use the Redis CLI. Redis is configured to require authentication for the default user, and a valid client SSL certificate.
50
84
51
-
1.To use the redis-cli, run either of the commands below:
85
+
To access the Redis CLI, run the command:
52
86
53
-
-`redis-cli`: This opens the interactive mode where you can type in whichever commands you wish.
54
-
-`redis-cli [argument]`, where *[argument]* is the argument or command you wish to run. For instance, running `redis-cli ping` should result in the output of `PONG` if redis is configured properly.
87
+
`redis-cli --tls --cacert /etc/redis/ssl/ca/ca.crt --cert /etc/redis/ssl/certs/client1.crt --key /etc/redis/ssl/keys/client1.key.pem -a $REDIS_DEFAULT_USER_PASSWORD`
55
88
56
-
For more information about the redis-cli and the commands you have available, see [redis-cli, the Redis command line interface](https://redis.io/topics/rediscli).
89
+
This opens the interactive mode where you can type commands. To learn more on the Redis CLI and available commands, see [Redis CLI
0 commit comments