MEMCACHE高可用,用MEMCACHED REPCACHED 工具
tar zxvf memcached-1.2.8-repcached 2.2.tar.gz
安装
YUM INSTALL LIBEVENT-DEVEL
cd memcached-1.2.8-repcached 2.2
./configure --enable-replication --program-transform-name=s/memcached/repcached/
make && make install
/usr/local/bin/repcached -p 11211 -v
/usr/local/bin/repcached -p 11211 -x ip -v -d
时间: 2024-12-29 07:15:52