Installation of the redis module for the server with DirectAdmin
The following tutorial describes Installing the redis module for a server with directadmin.
Made in a few simple steps.
First, we are looking for a redis package :
1 | yum search redis |
We install:
1 | yum install redis.x86_64 |
3) We download the script:
Go to the directory, we download the script and grant permissions:
1 | cd /usr/local/directadmin/scripts/custom |
1 | wget https://raw.githubusercontent.com/poralix/directadmin-utils/master/php/php-extension.sh -O php-extension.sh |
1 | chmod 750 php-extension.sh |
The last step is to install the php redis module for all php versions on the server:
1 | ./php-extension.sh install redis |
That's all, the script will do everything for us.