Memcached

Memcached Multiple Instances Startup Script (init.d) on CentOS 5.6 - 64 bits

Category:

I just need Memcached to start automatically when reboot so that I don't have to wait to log into the server to do that every time I restart my server. The problem here is that I didn't install Memcached using YUM. I compiled Memcached it myself. So, there is no startup script for me to do it. Also, from what I have read, init.d startup script comes with YUM only support one instance of Memcached. In my case, I need to run multiple instances of Memcached. So, I searched for the script and below script is work for me

1. Create Script in /etc/init.d/memcached

How to install Memcached on CentOS + Memcached PECL (Update : 2011.03.22)

Category:

From previous HOW TO - http://www.bxtra.net/Articles/2010-04-27/How-install-Memcached-CentOS-DirectAdmin-installed-Memcached-PECL   I just think that I should note an update how to install Memcached so that I, myself, can follow the steps here and get the latest version. The steps are almost exactly to my previous Memcached PECL installed. Only a few changes to install an updated version.

Get Libevent which is require to install Memcached. Their homepage is here -> http://www.monkey.org/~provos/libevent/

How to install Memcached on CentOS (with DirectAdmin installed) + Memcached PECL

After I was done with install Memcached on CentOS a while ago, I just know today that there are 2 different PECL modules. One is "Memcache PECL" while another is "Memcached PECL". The one I did before is "Memcache PECL", so, now, I try to install "Memcached PECL" which is newer and require libmemcached library. The content below is almost exactly to my previous Memcache PECL installed. Only a few changes to install Memcached PECL instead.

How to install Memcached on CentOS (with DirectAdmin installed) + Memcache PECL

I just want to try if Memcached can really help my server load or not. So, I look around to find the way how to do it. There are a couple ways but to me, below are what I did to installed it. Get Libevent which is require to install Memcached. Their homepage is here -> http://www.monkey.org/~provos/libevent/ wget http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz tar -xvf libevent-1.4.13-stable.tar.gz cd libevent-1.4.13-stable ./configure;make;make install; Then, get Memcached from http://memcached.org

Subscribe to RSS - Memcached