Install REDIS with Plesk Onyx

 In Linux

This is a quick guide on how to install both the Redis PHP extension as well as the daemon via SSH on a Plesk Onyx webserver.

REDIS provides memory caching for frequently accessed objects.


How to install the plugin:

Log in to the command line via SSH as the ROOT user and run the following commands line-by-line.


yum groupinstall 'Development Tools'
yum install tcl wget

Debian and Ubuntu

apt-get install build-essential
apt-get install tcl wget

Download and Compile latest Redis 4:

tar xvzf redis-stable.tar.gz
cd redis-stable/
make distclean
make test
make install

Install your Redis-server Service:

cd utils/

Allow memory overcommit

This will allow REDIS to use more memory than it has been allocated by Plesk if required.

echo "vm.overcommit_memory = 1" >>  /etc/sysctl.conf  && sysctl  -p

Disable transparant_hugepage

echo never > /sys/kernel/mm/transparent_hugepage/enabled

Start and test your Redis service

This will ensure REDIS starts when your server boots and checks to ensure the installation completed successfully.

systemctl start redis_6379
systemctl status redis_6379
Recommended Posts
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt

Start typing and press Enter to search