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

推荐订阅源

V
Visual Studio Blog
C
CERT Recently Published Vulnerability Notes
雷峰网
雷峰网
美团技术团队
L
LangChain Blog
Google DeepMind News
Google DeepMind News
博客园 - 【当耐特】
I
InfoQ
www.infosecurity-magazine.com
www.infosecurity-magazine.com
J
Java Code Geeks
B
Blog
博客园 - 三生石上(FineUI控件)
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Secure Thoughts
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园_首页
博客园 - Franky
Apple Machine Learning Research
Apple Machine Learning Research
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
GbyAI
GbyAI
TaoSecurity Blog
TaoSecurity Blog
N
Netflix TechBlog - Medium
H
Heimdal Security Blog
T
Troy Hunt's Blog
N
News and Events Feed by Topic
V2EX - 技术
V2EX - 技术
腾讯CDC
Forbes - Security
Forbes - Security
P
Privacy & Cybersecurity Law Blog
I
Intezer
Hacker News - Newest:
Hacker News - Newest: "LLM"
Y
Y Combinator Blog
The Register - Security
The Register - Security
Martin Fowler
Martin Fowler
Hugging Face - Blog
Hugging Face - Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Blog — PlanetScale
Blog — PlanetScale
L
Lohrmann on Cybersecurity
Security Latest
Security Latest
AWS News Blog
AWS News Blog
Scott Helme
Scott Helme
Webroot Blog
Webroot Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
MongoDB | Blog
MongoDB | Blog
Vercel News
Vercel News
Engineering at Meta
Engineering at Meta
大猫的无限游戏
大猫的无限游戏
A
Arctic Wolf
S
Security Affairs
P
Privacy International News Feed

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