Introduction
Easy Apache 4 containers support user instances of the Memcached service on Alma Linux, Rocky Linux, or Ubuntu operating systems.
Procedure
First, make sure you have installed the ea-podman package and the Memcached package after enabling the repository:
Ubuntu:
apt install -y ea-podman-repo
apt update
apt install -y ea-podman ea-memcached16
AlmaLinux or Rocky Linux:
dnf install -y ea-podman-repo
dnf install -y ea-podman ea-memcached16
Next you will need to log into SSH as the cPanel user:
After logging into the cPanel user's command-line interface, install Memcached container:
/usr/local/cpanel/scripts/ea-podman install ea-memcached16
After you create the container, a directory with the container name is created that includes a Memcached socket file:
~/ea-podman.d/container-name/memcached.sock
This socket file is the file you will direct your application to use as the Memcached location.