Installing Memcached¶
To install memcached on freebsd simply follow steps below.
After installation we need to activate it in rc.conf.
File: /etc/rc.conf
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
-u : User as owner of memcached process
Testin memcached status.
You are good to go.