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

推荐订阅源

Security Archives - TechRepublic
Security Archives - TechRepublic
爱范儿
爱范儿
Recent Announcements
Recent Announcements
AI
AI
V
Visual Studio Blog
H
Heimdal Security Blog
L
LINUX DO - 最新话题
Attack and Defense Labs
Attack and Defense Labs
宝玉的分享
宝玉的分享
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
人人都是产品经理
人人都是产品经理
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
WordPress大学
WordPress大学
S
Secure Thoughts
S
Security Affairs
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
N
News and Events Feed by Topic
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 聂微东
博客园 - Franky
阮一峰的网络日志
阮一峰的网络日志
Schneier on Security
Schneier on Security
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
Forbes - Security
Forbes - Security
The Cloudflare Blog
博客园 - 【当耐特】
酷 壳 – CoolShell
酷 壳 – CoolShell
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
有赞技术团队
有赞技术团队
博客园 - 司徒正美
博客园_首页
Recent Commits to openclaw:main
Recent Commits to openclaw:main
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
NISL@THU
NISL@THU
C
Cybersecurity and Infrastructure Security Agency CISA
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
P
Proofpoint News Feed
罗磊的独立博客
V
Vulnerabilities – Threatpost
S
Securelist
N
News and Events Feed by Topic
Cloudbric
Cloudbric
P
Proofpoint News Feed
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
V2EX - 技术
V2EX - 技术
小众软件
小众软件

博客园 - 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