YuQing
YuQing
一个id 后面配置用西文逗号分隔的两个IP地址,可以看一下源码conf下的storage_ids.conf配置示例啊!
libfastcommon版本问题,编译和运行的版本需要保持一致
FDFS client library编译和运行要一致。 如果 /usr/local/lib 下有 libfastcommon.so 和 libfdfsclient.so,需要手工删除掉,命令行如下: sudo rm -f /usr/local/lib/libfastcommon.so /usr/local/lib/libfdfsclient.so
you should use the last version: fastdfs-nginx-module V1.20, FastDFS V5.12 and libfastcommon V1.0.38.
http.conf is in FastDFS source, the file path is conf/http.conf. you should copy it to /etc/fdfs/http.conf.
you should change the file permissions to the user and group who really run nginx, such as nginx:nginx. or you can set permission 755 to /root/fdfs/file and it's sub-dirs.
应该是兼容的,你有环境可以测试一下。
libfastcommon和fastdfs都使用最新版本即可。
需要先安装 FastDFS client library。你看下源码目录下的 INSTALL文档。
FastDFS版本是多少呢?