orenoblog

エンジニアになりたいExcel方眼紙erの物語

memcachedとapcのメモ1

memcachedはrpmforgeのrepoがあればyumでインストールでける。

1.memcachedインストール
memcached前提
# yum -y install libevent libevent-devel
php memcache 前提
# yum -y install zlib zlib-devel
# yum -y install memcached
# pecl install memcache
# service memcached start
Distributed memory caching (memcached) を起動中: [ OK ]

2.PHP APCインストール
# pecl install apc

どう調理するかはまた別の話