how to install redis

bluesky888

Verified User
Joined
Apr 17, 2020
Messages
22
other hosting management panel
normally we can open and install redis very easy,just one click,all is finished

but it is si difficult to install redis by directadmin
please help
 
Please note that you have to add:
usermod -a -G <group of account created>
This means, that when you create a user in DA, e.g. someuser, the group is called someuser and this should be used to usermod.
 
other hosting management panel
normally we can open and install redis very easy,just one click,all is finished

but it is si difficult to install redis by directadmin
please help
This isn't the other panels.

Redis is not natively supported in DA. You have to use your Linux admin skills to add it in and customize it.
 
there is this plugin that works -
but not getting updated for long time..
I've grabbed this and I'm going to start working on updating it so there is a newer version available. I can't start on an update for another week and a half but I have a repo on my computer setup with all the files to begin updating and publishing to GitHub.
 
I've grabbed this and I'm going to start working on updating it so there is a newer version available. I can't start on an update for another week and a half but I have a repo on my computer setup with all the files to begin updating and publishing to GitHub.
any news?
 
Reference: https://docs.directadmin.com/other-hosting-services/mariadb-mysql/redis.html

This guide outlines the official and most secure method for installing and enabling Redis on a shared hosting server running DirectAdmin with CloudLinux.

This method leverages DirectAdmin's built-in functionality to create a private, secure Redis instance for each user, running inside their own account. This ensures complete security and resource isolation, as each instance is managed by CageFS and limited by the user's LVE settings.

Bash:
da build set redis yes
da build redis

# Install Redis and php_redis extension:

da build set redis yes
da build set php_redis yes
da build redis
da build php_redis

Step 2: Enable Redis in Hosting Packages (Admin/Reseller Level - DirectAdmin UI)

The installation makes the feature available, but you must grant permission for users to use it. This is done through the hosting packages.
  1. Log into DirectAdmin as an Admin or Reseller.
  2. Navigate to your Account Manager -> Manage User Packages (or Reseller Packages).
  3. Edit the desired package(s) and ensure the "Redis" option is checked (redis=ON).
  4. Save the package. You may need to apply these changes to existing users who are using the package.

Step 3: Ensure Redis is Visible in the Evolution Skin (Reseller/User Level - DirectAdmin UI)

A feature can be enabled for a user but hidden from their view in the control panel. This crucial step makes the Redis icon appear for the user.
  1. Log in as a Reseller (or as the specific User who wants to customize their own view).
  2. Navigate to the top-right menu and click "Customize Evolution Skin".
  3. Click on "Widgets" (or "Menu", depending on your layout configuration).
  4. Find "Redis" in the list of features under "Advanced Features".
  5. Ensure the visibility icon (the eye 👁️) is not crossed out. If it is, click it to make the feature visible in the user's panel.
Screenshot from 2025-10-15 15-48-48.png

Step 4: Update CageFS Skeleton (Admin Level - SSH)

This is the step for CloudLinux environments. It ensures that all the necessary Redis tools and configurations are available to every user within their secure, isolated CageFS environment.

Log into your server as root via SSH and run:
Bash:
cagefsctl --force-update


PS: If you have any updates, feel free to comment and we'll make it better.
 
I really like Redis. I find Redis speeds up WordStress sites, and WHMCS. I use the php_admin_value[session.save_path] as it's also very handy for separating databases. Main domain would use DB 1, and the subdomains can use 2,3 etc. all controlled by the php-fpmXX.conf files in the httpd admin panel. I simply add them in with the adjusted php settings for extra memory, file sizes etc.
 
Back
Top