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

推荐订阅源

Y
Y Combinator Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
F
Full Disclosure
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Threat Research - Cisco Blogs
A
Arctic Wolf
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Cloudflare Blog
博客园 - 【当耐特】
AWS News Blog
AWS News Blog
U
Unit 42
V
Vulnerabilities – Threatpost
P
Privacy International News Feed
T
Tor Project blog
Microsoft Security Blog
Microsoft Security Blog
宝玉的分享
宝玉的分享
Google DeepMind News
Google DeepMind News
爱范儿
爱范儿
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Recorded Future
Recorded Future
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
Latest news
Latest news
GbyAI
GbyAI
S
SegmentFault 最新的问题
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
Hacker News: Ask HN
Hacker News: Ask HN
美团技术团队
N
News | PayPal Newsroom
J
Java Code Geeks
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Microsoft Azure Blog
Microsoft Azure Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
The Hacker News
The Hacker News
The GitHub Blog
The GitHub Blog
V
V2EX
N
News and Events Feed by Topic
T
Troy Hunt's Blog
Security Latest
Security Latest
博客园 - 叶小钗
P
Palo Alto Networks 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