主要参考扶凯的这篇文章《MogileFS 设置 Memcached》 先设置tracker # mogadm settings set memcache_servers 27.17.28.134:22222 然后安装Cache::Memcached这个模块 # cpanm Cache::Memcached 重启tracker之后通过命令来查询key看看: # mogfileinfo –domain=test1 –key=’nginx-1.0.14.tar.gz’ – file: nginx-1.0.14.tar.gz class: default devcount: 2 domai… 继续阅读 给mogileFS增加memcache遇到的
标签: mogilefs
测试MogileFS的PHP模块上传遇到的
在nginx/php-cgi上试试最简单的mogileFS的php模块上传操作,总是报502的错误,查看php-fpm的日志发现提示undefined symbol: ne_set_connect_timeout错误,ne_set_connect_timeout未定义。 查看php的mogilefs扩展到源码mogilefs.c源码发现。该扩展引用了: #include <ne_socket.h> #include <ne_session.h> #include <ne_utils.h> #include <ne_auth.h> #include… 继续阅读 测试MogileFS的PHP模块上传遇到的
尝试mogilefs for nginx的模块
模块有个简单的文档 http://www.grid.net.ru/nginx/mogilefs.en.html 安装 #wget http://www.grid.net.ru/nginx/download/nginx_mogilefs_module-1.0.4.tar.gz #tar zxvf nginx_mogilefs_module-1.0.4.tar.gz #cd nginx-1.0.14 #./configure –prefix=/data/app/nginx –add-module=../nginx_mogilefs_module-1.0.4/ –with-debug #make &… 继续阅读 尝试mogilefs for nginx的模块
MogileFS for PHP安装和测试(存档)
MogileFS是一个perl编写的分布式文件存储应用,目前有一些线上的公司都是以此为基础来构建自己的分布式文件应用,抽时间测试了一下。 一、搭建MogileFS 关于MogileFS在扶凯的网站(http://www.php-oa.com/2010/09/26/perl-mogilefs-1.html)上有很详细的介绍,关于安装搭建我也只是简单描述。 Mysql server:27.17.28.133:3306 MogileFS trackers:27.17.28.133:7777 MogileFS store1:node134 27.17.28.134:7500 MogileF… 继续阅读 MogileFS for PHP安装和测试(存档)