轻量级分布式文件系统FastDFS的安装

2015-02-11 11:04
FastDFS 分布式文件系统 安装
摘要:FastDFS 安装步骤不算复杂,但依赖关系容易出错,整理一下 V5.05 的安装流程,包括 libfastcommon 和软链接配置。

FastDFS V5.05版本 FastDFS 5.05版本不再依赖libevent,而依赖于libfastcommon 先要安装libfastcommon,github地址:https://github.com/happyfish100/libfastcommon

sh make.sh
sh make.sh install

libfastcommon.so 默认安装到了/usr/lib64/libfastcommon.so,而FastDFS主程序设置的lib目录是/usr/local/lib,所以要设置软链接

ln -s /usr/lib64/libfastcommon.so /usr/local/lib/libfastcommon.so
ln -s /usr/lib64/libfastcommon.so /usr/lib/libfastcommon.so

接下来安装FastDFS,github地址:https://github.com/happyfish100/fastdfs

sh make.sh
sh make.sh install