惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
雷峰网
雷峰网
博客园_首页
小众软件
小众软件
美团技术团队
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
腾讯CDC
P
Proofpoint News Feed
MongoDB | Blog
MongoDB | Blog
Google DeepMind News
Google DeepMind News
MyScale Blog
MyScale Blog
U
Unit 42
The Cloudflare Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Microsoft Security Blog
Microsoft Security Blog
大猫的无限游戏
大猫的无限游戏
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 叶小钗

博客园 - witer666

PHP API 框架开发的学习 [android开发必备] Android开发者社区汇总 android定时器 微博feed系统的push和pull模式和时间分区拉模式架构探讨 一个mysql小技巧 php empty问题 Linux PHP连接MSSQL Curl参数一览 Redhat Memcache UDF安装配置 Redhat Mongodb学习笔记 PHP使用技巧 位运算符C语言 Redhat Lighttpd安装配置 HTTP 状态代码表示什么意思? PHP正则表达式学习参考的文章 Redhat Cacti安装配置 Percona-Server5.5安装配置 50点提高PHP编程效率 引入缓存提升性能 wget使用
redhat安装memcacheQ
witer666 · 2011-10-23 · via 博客园 - witer666

一、软件包

1.bdb-4.8.26.tar.gz

2.libevent-2.0.15-stable.tar.gz

3.memcacheq-0.2.0.tar.gz

二、安装步骤

1.tar zxvf bdb-4.8.26.tar.gz

2.cd db-4.8.26/

3.cd build_unix/

4. ../dist/configure --prefix=/usr/local/berkeleydb

5. make & make install

6.tar zxvf libevent-2.0.15-stable.tar.gz

7.cd libevent-2.0.15-stable

8. ./configure --prefix=/usr/local/libevent

9. make & make install

10.tar zxvf memcacheq-0.2.0.tar.gz

11.cd memcacheq-0.2.0

12../configure --prefix=/usr/local/memcacheq --with-bdb=/usr/local/berkeleydb

13.make & make install

14.echo "/usr/local/berkeleydb/lib" >> /etc/ld.so.conf

15. ldconfig

16.echo "/usr/local/libevent/lib" >> /etc/ld.so.conf

17. ldconfig

18./usr/local/memcacheq/bin/memcacheq –h

19./usr/local/memcacheq/bin/memcacheq -d -r -H /opt/memcacheq -N -R -v -L 1024 -B 1024 > /opt/mq_error.log 2>&1

三、测试

1.telnet 10.218.31.121 22201(默认端口)

2.stats queue

3.set q4  0 0 5

4 hello

5 get q4

6 stats queue

7 delete q4