目錄
cd /usr/ports/databases/memcached; make install clean
vi /etc/rc.conf # start memcached memcached_enable="YES"
你也可不使用vi,使用下面命令快速添加
echo "memcached_enable=\"YES\"" >> /etc/rc.conf
Memcache
/usr/local/etc/rc.d/memcached start