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

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
The GitHub Blog
The GitHub Blog
C
Check Point Blog
博客园_首页
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
F
Full Disclosure
Microsoft Security Blog
Microsoft Security Blog
爱范儿
爱范儿
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
G
GRAHAM CLULEY
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threat Research - Cisco Blogs
C
Cybersecurity and Infrastructure Security Agency CISA
V
Vulnerabilities – Threatpost
K
Kaspersky official blog
博客园 - 司徒正美
S
Schneier on Security
T
The Exploit Database - CXSecurity.com
Project Zero
Project Zero
云风的 BLOG
云风的 BLOG
Cisco Talos Blog
Cisco Talos Blog
Know Your Adversary
Know Your Adversary
雷峰网
雷峰网
V
V2EX - 技术
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Spread Privacy
Spread Privacy
罗磊的独立博客
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Security Affairs
SecWiki News
SecWiki News
Schneier on Security
Schneier on Security
O
OpenAI News
Jina AI
Jina AI
PCI Perspectives
PCI Perspectives
Cyberwarzone
Cyberwarzone
Y
Y Combinator Blog
Apple Machine Learning Research
Apple Machine Learning Research
B
Blog RSS Feed
I
InfoQ
D
Docker
P
Palo Alto Networks Blog
Recorded Future
Recorded Future
M
MIT News - Artificial intelligence
博客园 - Franky
B
Blog
Scott Helme
Scott Helme
博客园 - 叶小钗
D
DataBreaches.Net

博客园 - 玉米疯收

[C语言]排序问题--我的解答 转载:算法方面的一些书籍和网上资源 [C语言]排序问题 - 玉米疯收 - 博客园 如何利用css使PNG图片透明 - 玉米疯收 - 博客园 So, you think you know JavaScript? (你认为你懂JS吗) 不用密码使用ssh管理远程linux服务器 [转]mysql性能的检查和调优方法 PHP 中巧用数组降低程序的时间复杂度 HTTP协议中的5类状态码 冬日随笔 牛年求牛。 统计字符串中单词个数的算法优化 shell练习:svndiff & change_ip MYSQL的慢查询分析 csft安装过程中出错的问题及解决办法(目前仍然无法成功进行对中文的处理) 强烈鄙视“做成像……一样就可以了”这种需求被不负责任的提出 (转)关于程序员考研的研究 Gentoo用上虚拟机中的战斗机KVM 国外的程序员也这样!
搭建PHP的缓存服务Memcache
玉米疯收 · 2009-10-26 · via 博客园 - 玉米疯收

1 .  安装libevent(Memcache用到了libevent这个库用于Socket的处理)
     可以用# ls -al /usr/lib | grep libevent 来查看是不是已经安装完成了。

       wget http://www.monkey.org/~provos/libevent-1.4.12-stable.tar.gz
 
       ./configure --prefix=/usr

2  .  安装Memcache

    wget http://www.danga.com/memcached/dist/memcached-1.4.0.tar.gzhttp://www.danga.com/memcached/dist/memcached-1.4.0.tar.gz

        ./configure --with-libevent=/usr

3  .  启动memcache

      # /usr/local/bin/memcached -d -m 100  -u root -l 192.168.0.200 -p 12000 -c 256 -P /tmp/memcached.pid

4  .  停止memcache

      # kill `cat /tmp/memcached.pid`

相关资料:

     http://www.danga.com/memcached/ 
     http://blog.csdn.net/heiyeshuwu/archive/2006/11/13/1380838.aspx

posted @ 2009-10-26 13:03  玉米疯收  阅读(580)  评论()    收藏  举报