follow these steps to install Memcached on cPanel or Linux-based cPanel server
# yum install memcached -y
# chkconfig memcached on
If you need to edit the memcache settings:
# vi /etc/sysconfig/memcached
If needed, restart the memcache service (as root/sudo):
# service memcached restart
Memcached installed successfully. You can check the service status using following command:
# ps afux | grep memc
Check in CLI/SSH Memcached Service
# memcached-tool 127.0.0.1:11211 display
# memcached-tool 127.0.0.1:11211 stats
# telnet 127.0.0.1 11211
YouTube channel for more tutorial: https://www.youtube.com/@trainbrain007