Ubuntu 24.04
Sponsored Link

Memcached : Install2024/07/22

 

Install Memcached which is the distributed memory caching System.

[1] Install Memcached.
root@dlp:~#
apt -y install memcached
[2] Configure Memcached.
root@dlp:~#
vi /etc/memcached.conf
# line 23 : max cache memory size (MB)

-m 64
# line 26 : listening port

-p 11211
# line 30 : process owner

-u memcache
# line 35 : listens on localhost by default like follows
# if you'd like to use memcached from other Hosts, change to own IP address or to [0.0.0.0]

-l 127.0.0.1
# line 39 : max connections (default is 1024)

# -c 1024
root@dlp:~#
systemctl restart memcached

Matched Content