User Tools

Site Tools


installing_memcached

This is an old revision of the document!


Installing Memcached

To install memcached on freebsd simply follow steps below.

cd /usr/ports/databases/memcached
make install clean

After installation we need to activate it in rc.conf.

| /etc/rc.conf
memcached_enable="YES"
memcached_flags="-m 256 -l 127.0.0.1 -p 11211"

Above code break down in following way.

-m : memory you want to allocate.
-l : address you want to listen on. - specify external ip if you want to centralize memcache between few server.
-p : specify ports for the memcached

You are good to go.

installing_memcached.1249439899.txt.gz · Last modified: 2020/08/10 02:30 (external edit)