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

推荐订阅源

K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
SegmentFault 最新的问题
Last Week in AI
Last Week in AI
阮一峰的网络日志
阮一峰的网络日志
Cloudbric
Cloudbric
www.infosecurity-magazine.com
www.infosecurity-magazine.com
S
Security @ Cisco Blogs
月光博客
月光博客
T
Troy Hunt's Blog
H
Help Net Security
Forbes - Security
Forbes - Security
博客园 - 叶小钗
Apple Machine Learning Research
Apple Machine Learning Research
IT之家
IT之家
L
LINUX DO - 最新话题
Hacker News - Newest:
Hacker News - Newest: "LLM"
GbyAI
GbyAI
S
Schneier on Security
Spread Privacy
Spread Privacy
Attack and Defense Labs
Attack and Defense Labs
Blog — PlanetScale
Blog — PlanetScale
N
News | PayPal Newsroom
F
Fortinet All Blogs
Latest news
Latest news
人人都是产品经理
人人都是产品经理
Recent Announcements
Recent Announcements
博客园_首页
Martin Fowler
Martin Fowler
Stack Overflow Blog
Stack Overflow Blog
雷峰网
雷峰网
O
OpenAI News
I
Intezer
S
Security Affairs
罗磊的独立博客
T
Tailwind CSS Blog
小众软件
小众软件
P
Palo Alto Networks Blog
Help Net Security
Help Net Security
V
Vulnerabilities – Threatpost
博客园 - 【当耐特】
F
Full Disclosure
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
J
Java Code Geeks
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 聂微东
博客园 - 司徒正美
T
The Exploit Database - CXSecurity.com
L
Lohrmann on Cybersecurity
C
Cisco Blogs
Security Latest
Security Latest

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