User Tools

Site Tools


installing_memcached

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

installing_memcached [2009/08/05 02:38]
k2patel
installing_memcached [2020/08/10 02:35]
Line 1: Line 1:
-====== Installing Memcached ====== 
  
-To install memcached on freebsd simply follow steps below. 
- 
-<code bash> 
-cd /​usr/​ports/​databases/​memcached 
-make install clean 
-</​code>​ 
- 
-After installation we need to activate it in rc.conf. 
- 
-<code bash | /​etc/​rc.conf>​ 
-memcached_enable="​YES"​ 
-memcached_flags="​-m 256 -l 127.0.0.1 -p 11211" 
-</​code>​ 
- 
-Above code break down in following way. 
- 
-<code text> 
--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 
-</​code>​ 
- 
-You are good to go. 
installing_memcached.txt ยท Last modified: 2020/08/10 02:35 (external edit)