MEMCACHED ubuntu12.10

# aptitude install memcached

#vi /etc/memcached.conf
修改以下資料
# Memory a usage in Mb
-m 16
# default port
-p 11211
# user to run daemon nobody/apache/www-data or else
-u nobody
# only listen locally
-l 127.0.0.1

然後重新啟動服務

# /etc/init.d/memcached restart

別忘了php
# aptitude install php5-memcached

最後重新啟動後完工
# /etc/init.d/memcached restart ; /etc/init.d/apache2 restart