I will write the fancy content of this documentation at later stage. For as of now the below code works for Ubuntu 20.4 users to update Redis to the latest version - 6.xx
To check current installed redis server version
To check current installed redis cli version
To update redis to the latest available version (adding official repo first)
sudo add-apt-repository ppa:redislabs/redis
Then run update command
sudo apt update
And run the upgrade
sudo apt upgrade
For centos 7:
sudo yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum --enablerepo=remi install redis
@die2mrw007 add the centos part in your content and also may be the lsphp Redis extention
One question - it asked whether I wanted to replace or keep a config file. I kept mine. Should I have replaced it in order to take advantage of any particular features?
There shouldn’t be any such replace files for redis upgrading. Can you list which is the file it is asking to be replaced? I will have a check.
I will add all those very soon.
It looks like it only prompts you if you have modified it, which I had done in order to add a password and some other things.
I just downloaded and compared the files and it adds quite a lot - it goes from 61 to 93kb. It is mostly just additional commentary/documentation, but there’s also at least 20 new settings and some settings even have their default value changed.
I assume that if you are not prompted, it will change the file automatically on upgrade. But if you are prompted, it would be best to replace the file and then make your custom edits as-needed.
FYI @die2mrw007 there are new instructions from redis on how to install the latest version
Install Redis on Linux | Redis