Ubuntu 22.04
Sponsored Link

Memcached : Install2022/09/13

 
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 38 : max connections (default is 1024)

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

Matched Content