Redis Enterprise Software quickstart
Set up a test deployment of Redis Enterprise Software for Linux.
This guide helps you install Redis Enterprise Software on a Linux host to test its capabilities.
When finished, you'll have a simple cluster with a single node:
Ensure port availability
If ports that Redis assigns to the database are being used by the operating system or other processes, the installation fails.
Follow the relevant sections to configure required ports.
For recommended and optional port configuration, see Network port configurations.
Update sysctl.conf
to avoid port collisions
To avoid port collision, update /etc/sysctl.conf
to include:
net.ipv4.ip_local_port_range = 30000 65535
Ubuntu conflicts with port 53
If port 53 is in use, the installation fails. This can occur in
default installations of Ubuntu 18.04 and 20.04 in which systemd-resolved
(DNS server) is running.
To prevent this issue, change the system configuration to make this port available before installation.
-
Edit
/etc/systemd/resolved.conf
:sudo vi /etc/systemd/resolved.conf
-
Add
DNSStubListener=no
as the last line in the file and save the file. -
Rename the current
/etc/resolv.conf
file:sudo mv /etc/resolv.conf /etc/resolv.conf.orig
-
Create a symbolic link for
/etc/resolv.conf
:sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
Note:You might encounter a temporary name resolution error (sudo: unable to resolve host {hostname}: Temporary failure in name resolution
), which should be fixed when you restartsystemd-resolved
in the next step. -
Restart the DNS service:
sudo service systemd-resolved restart
Configuration for AWS and GCP
For detailed configuration instructions, see your cloud provider's documentation.
-
Create a VPC that you can use with regional subnets.
-
Within this VPC, create firewall rules that allow external and internal access for Redis Enterprise Software.
Ingress/Egress | Source | Protocol | Ports | Other protocols |
---|---|---|---|---|
Ingress | 0.0.0.0/0 | TCP | 21, 22, 53, 8001, 8443, 9443, 8070, |
ICMP |
Ingress | 0.0.0.0/0 | UDP | 53, 5353 | |
Ingress | 10.0.0.0/8 (if subnets use 10. ranges) | all | all |
Install Redis Enterprise Software
To install Redis Enterprise Software:
-
Download the installation files from the Redis Enterprise Download Center and copy the download package to a machine with a Linux-based OS.
Note:You are required to create a free account to access the download center. -
Extract the installation files:
tar vxf <downloaded tar file name>
-
Run the
install.sh
script in the current directory:sudo ./install.sh -y
Set up a cluster
To set up your machine as a Redis Enterprise Software cluster:
-
In the web browser on the host machine, go to https://localhost:8443 to see the new Redis Enterprise Software Cluster Manager UI. The cluster generates self-signed TLS certificates to secure the connection. These self-signed certificates are unknown to the browser and must be accepted before you proceed.
To use the legacy UI for this quickstart instead, see the 6.4 version of the quickstarts.
Note:- If the server does not show the login screen, try again after a few minutes.
-
Select Create new cluster.
-
Enter an email and password for the administrator account, then select Next to proceed to cluster setup.
You can also use these credentials to connect to the REST API.
-
Enter your cluster license key if you have one. Otherwise, a trial version is installed.
-
In the Configuration section, enter a cluster FQDN such as
cluster.local
, then select Next.Warning:If the FQDN iscluster.local
, you cannot configure DNS. You cannot change the FQDN after cluster creation. -
On the node setup screen, select Create cluster to accept the defaults.
-
Select OK to acknowledge the replacement of the HTTPS TLS certificate on the node. If you receive a browser warning, you can proceed safely.
Create a database
-
On the Databases screen, select Quick database.
-
Enter 12000 for the Port.
If port 12000 is not available, enter any available port number between 10000 to 19999 or leave it blank to let the cluster assign a port number for you. You will use this port number to connect to the database.
-
Select Create to create your database.
When you see Database active appear on the database configuration screen, the database is activated and ready for you to use.
You now have a Redis database!
Connect to your database
After you create the Redis database, you can connect to it and store data. See Test client connection for connection options and examples.
Supported web browsers
To use the Redis Enterprise Software Cluster Manager UI, you need a modern browser with JavaScript enabled.
The Cluster Manager UI is officially supported for the latest version of Google Chrome, as well as the three previous and three subsequent versions.