FreeBSD 14
Sponsored Link

Memcached : Install2024/09/16

 

Install Memcached which is the distributed memory caching System.

[1] Install Memcached.
root@dlp:~ #
pkg install -y memcached
[2] Start Memcached.
# -m (max cache memory size (MB)) : default - 64
# -p (listening port) : default - 11211
# -l (interface to listen) : default - 0.0.0.0
# -c (max connections) : default - 1024
root@dlp:~ #
sysrc memcached_flags="-m 64 -p 11211 -l 127.0.0.1,::1 -c 1024"

memcached_flags: -> -m 64 -p 11211 -l 127.0.0.1 -c 1024
root@dlp:~ #
service memcached enable

memcached enabled in /etc/rc.conf
root@dlp:~ #
service memcached start

Starting memcached.
Matched Content