Skip to content
 

Steps Of Memcache Installation

Steps of memcache installation

memcache installation, linux memcache

Memcached is a simple, open source, high performance memory object caching system. It is highly scalable key based cache that is responsible to store data and objects when dedicated or spare RAM is required and available for very quick access by applications. It is used for speeding up dynamic web applications for alleviating database load. This can work a s powerful tool in retrieving the data versus loading the data natively from a database.

Following are the ways to install memcache in different environment.

linux memcache or memecache installation in RedHat Linux, one has to use yum:
# yum install memcached
To install memcached on a Debian or Ubuntu host, use apt-get:
# apt-get install memcached
To install memcached on a Gentoo host, use emerge:
# emerge install memcached
For Linux, 2.6 -based kernel is required along with improved epoll interface.

To build linux memcache, one need to follow the below mentioned steps.
i. Extract the memcached source package:
shell> gunzip -c memcached-1.2.5.tar.gz | tar xf –
ii. Change to the memcached-1.2.5 directory:
shell> cd memcached-1.2.5
iii. Run configure
shell> ./configure


Photo source fry_theonly

Leave a Reply