---
title: "memcached安装、启动实践"
author: "alin_ass"
date: "2009-01-15T13:51:04Z"
tags: ["Blog", "F#", "HTML", "Linux", "memcached"]
slug: "memcached"
draft: false
lastmod: "2009-01-15T13:53:56Z"
id: 316836
url: "https://alin-ass.iteye.com/blog/316836"
---

安装:
ref: <http://hi.baidu.com/openj/blog/item/a833df64082f55f7f6365421.html>
但是要注意：64位linux系统需要在/usr/lib64下建立libevent软连接，如：
/usr/lib64/libevent-1.4.so.2 -> /usr/lib/libevent-1.4.so.2

启动:
1.  -u参数必须root帐号执行才会报错,否则会忽略,报错如下
# memcached -p 11224 -m 512 -f 1.25 -u topxxxxxx
can't find the user topxxxxxx to switch to