转载自:http://gzcj.iteye.com/blog/631127
?
?
- 切换到root用户
- 配置gcc和make:Solaris10以后,gcc缺省安装在/usr/sfw/bin目录下;make在/usr/ccs/bin下,设置路径export PATH=$PATH:/usr/sfw/bin:/usr/ccs/bin
- 安装libevent:进入libevent-1.4.12-stable目录,./configure --prefix= /export/home/username/libeventinstall (准备安装到的地址),接着make,然后make install ? ? ?
- 安装memcached:cd memcached-1.4.2 ,./configure --with-libevent=/export/home/username/libeventinstall??--prefix=/export/home/username/memcachedinstall,接着make,然后make install
- 启动memcached:./memcached -p 15000 -m 64m -d(-p是端口号,-d是后台启动)
?