Install in Ubuntu apt install -y memcached Configuration The configuration file is /etc/memcached.conf. There are comment of each options in the default config file. -d -m 256 -p 11211 -u memcache -l 0.0.0.0 -c 1000 -t 2 -b 500 -R 100 -C -d: Run memcached as a daemon. -m: Occupied memory by Memcached in unit of MB. -p: Connection port. -u: User name running Memcached. -l: Listen IP -c: the number of simultaneous incoming connections.