Install Memcached
- See this wiki page for more information about Memcached.
- Memcached can run on the TeamForge Application Server or on a separate server (in case Subversion is on a separate server). This document assumes that you install Memcached on the TeamForge Application Server that also hosts Subversion.
Do This on the TeamForge Application Server
- 
Install Memcached. Add the subversion-cachingidentifier to theSERVICEStoken. For example:localhost:SERVICES=ctfcore ctfcore-database mail etl ctfcore-datamart search subversion codesearch cliserver gerrit gerrit-database binary binary-database reviewboard reviewboard-database reviewboard-adapter subversion-cachingIt is also possible to use an externally managed Memcached server. To use an externally managed Memcached server, add the subversion-cachingservice to theSERVICEStoken as shown below:localhost:SERVICES=ctfcore ctfcore-database mail etl ctfcore-datamart search subversion codesearch cliserver gerrit gerrit-database binary binary-database reviewboard reviewboard-database reviewboard-adapter
 myexternalmemcachedserver:SERVICES=subversion-cachingWhere, myexternalmemcachedserverhosts the Memcached service.
- 
Configure the OPTIONS key in the Memcached configuration file ( /etc/sysconfig/memcached) and start Memcached.The OPTIONS key in the memcached configuration file is used to set additional options during Memcached startup. Add the -l <ip-addr> flag to have Memcached listen to <ip_addr>. This is an important option to consider as there is no other way to secure the installation. Binding to an internal or firewalled network interface is recommended. vi /etc/sysconfig/memcachedimportantRemove the -l flag from the OPTIONS key to have Memcached listen to the server's default IP address or host name, including the 'localhost'. 
- 
Provision services. teamforge provision