• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
How to install latest Redis server

Instruction How to install latest Redis server

1. For CentOS

Code:
# yum groupinstall 'Development Tools'
# yum install tcl wget

For Debian and Ubuntu

Code:
# apt-get install build-essential
# apt-get install tcl wget

2. Download and Compile latest...
You do not have permission to view the full content of this resource. Log in or register now.

Latest reviews

top
Good starting point.

What about Redis adding link to also install the PHP Redis Extention

Any tweaks possible for /etc/sysctl.conf?

# Redis : WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set $
# Fix by setting somaxconn value over 511
# Change the amount of incoming connections and incoming connections backlog
net.core.somaxconn = 65535
net.core.netdev_max_backlog = 262144
Just asking.. Is there any different to using Redis Docker?

Also Redis Docker has these two warnings,

/sys/kernel/mm/transparent_hugepage/enabled

vm.overcommit_memory

is it ok to disable these when Web Server..ect (Plesk defaults, lets say) is enabled on the same server?
Excellent walkthrough - we corrupted our installation and this worked like a dream. Thankyou for the support, it is appreciated.
The simplest and easiest way if your Plesk allow it, is installing redis as docker container. Runs out of the box and you dont need to install and enable extra services in your base OS.
IgorG
IgorG
Yes, you can install Redis docker container with Plesk docker extension.
Amazing tutorial. Also the upgrade of Redis was successful by following this tutorial. Thx Igor
Great tutorial about redis usage.

Just a small trick :
on ubuntu (14.04/16.04/18.04), redis 4.0 is available directly from ppa launchpad :

[code]sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt-get update
sudo apt-get install redis-server -y[/code]
thank you for sharing will test it
Amazing and competent support. Thx
Very will written and clear guide which also cleary shows you the impact of the work done.
I really like these guides from you Igor!

The reason I am not giving this 5 stars:

I personally do not like to compile from source on production servers, because this does not provide you with a decent way of uninstalling / upgrading your software.
Even if there is a yum uninstall feature, if you compile a newer version and overwrite the old, your newly installed version will only uninstall the files that it knows, not the ones from the previous version.

A much cleaner (but lengthier) solution is package your software into an .rpm or .deb file.
Back
Top