المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : كلاود لينكس Cloud Linux حل مشكلة Redis.service not found



Rise Company
21-01-2024, 02:15
كلاود لينكس Cloud Linux حل مشكلة Redis service not found
My open litespeed object cache connection test failed
cpanel litespeed install memcache - litespeed and Redis
Can LiteSpeed Memcached be installed on cPanel servers?
memcached or Redis in cpanel with LiteSpeed web server what's best with LiteSpeed ?
How to Install PHP Redis on a cPanel Server?
Redis not working

--------------------------------------------------
حل المشكلة : تثبيت Redis
--------------------------------------------------
تثبيت Install Redis + PHP Redis

ادخل هذا الامر فى terminal لتثبيت Redis



yum install epel-release
yum install redis -y


ثم ادخل هذا الامر لتشغيل Redis والتحقق يعمل ام لا



systemctl start redis
systemctl enable redis
systemctl status redis


هيظهر لك نتيجة التثبيت
The latest command should give you a confirmation of that Redis is running.
مثل هذا



redis.service - Redis persistent key-value database
Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/redis.service.d
└─limit.conf
Active: active (running) since Sat 2020-06-24 15:21:55 GMT +1; 40s ago
Main PID: 2157 (redis-server)
CGroup: /system.slice/redis.service
└─2157 /usr/bin/redis-server 127.0.0.1:6379



It also returns the port being used (here 6379) which you may need for your application.

https://www.rise.company/upload/uploads/170535797678921.png

It also returns the port being used (here 6379) which you may need for your application.

https://www.rise.company/forum/images/imported/2024/01/58.png

Login to WHM and search in the WHM sidebar for Module Installers.
Click on it and then click on Manage PHP PECL.

https://www.rise.company/forum/images/imported/2024/01/59.png

At the next stage, select the PHP version you would like to install Redis For and inside the Module Search type Redis and click on Go

Finally, in the search result click on Install and after a few seconds, it should be completed.

https://www.rise.company/forum/images/imported/2024/01/60.png

That's it, you have now enabled a Redis Cache on your server.

اذهب الان الى تطبيق Litespeed cache ثم فعل Redis وانتبه لا بد من اختيار Port الصحيح
حيث ان port ال Memcached هو 11211 اما Redis هو 6379

https://www.rise.company/upload/uploads/17053584178091.png

شاهد ايضا
كلاود لينكس Cloud Linux حل مشكلة Unit memcached.service not found (https://www.rise.company/forum/showthread.php/95368-%D9%83%D9%84%D8%A7%D9%88%D8%AF-%D9%84%D9%8A%D9%86%D9%83%D8%B3-Cloud-Linux-%D8%AD%D9%84-%D9%85%D8%B4%D9%83%D9%84%D8%A9-Unit-memcached-service-not-found)