What is Memcached ? Memcached is a Free & open source, high-performance, distributed memory object caching system.Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.
Memcached is simple yet powerful.
In this article,we will show you how to Install Memcached on Linux Mint 19.
Step 1. Install Memcached on Linux Mint 20
Before you start to Install Install Memcached on Linux Mint. You must have the non-root user account on your system with sudo privileges.
Open the Terminal application entry the following command as root or user with sudo privileges .
sudo apt update sudo apt install memcached libmemcached-tools
Once the installation is completed, the Memcached service will start automatically. To check memcached status run following command in the terminal:
sudo systemctl status memcached
You will look the status output of Memcached.
Step 2.Configuring Memcached
/etc/memcached.conf file and configuration it. entry the following command:
sudo vim /etc/memcached.conf
Restart the Memcached service for the changes to take effect:
sudo systemctl restart memcached
Once the service is configured, the next step is to open the memcached port in the firewall .
sudo ufw allow from xxx.xxx.xxx.xxx to any port [port]
xxx.xxx.xxx.xxx is the client’s IP address .
[port] is the Memcached UDP port.
You have successfully learned how to install Memcached on Linux Mint 20. If you have any queries regarding this then please don’t forget to comment below.