Ensure port availability
Before installing Redis Enterprise Software, make sure all required ports are available.
Make sure that the ports Redis assigns to databases are available and are not being used by the operating system or other processes.
To avoid port collision, update
/etc/sysctl.conf to include:
net.ipv4.ip_local_port_range = 30000 65535
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.
sudo vi /etc/systemd/resolved.conf
DNSStubListener=noas the last line in the file and save the file.
Rename the current
sudo mv /etc/resolv.conf /etc/resolv.conf.orig
Create a symbolic link for
sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
Restart the DNS service:
sudo service systemd-resolved restart