FastDFS安装

安装

安装 libfastcommon

libfastcommon是 FastDFS 中的公共 C 函数库,基础环境。下载编译安装

1
2
3
git clone https://github.com/happyfish100/libfastcommon.git
cd libfastcommon
./make.sh install

创建软链接(好像主要是因为FastDFS主程序设置的lib目录而非lib64目录导致,不过没尝试不清楚)

1
2
3
ln -s /usr/lib64/libfastcommon.so /usr/local/lib/libfastcommon.so
ln -s /usr/lib64/libfdfsclient.so /usr/local/lib/libfdfsclient.so
ln -s /usr/lib64/libfdfsclient.so /usr/lib/libfdfsclient.so

安装 FastDFS

下载编译安装 FastDFS:

1
2
3
git clone https://github.com/happyfish100/fastdfs.git
cd fastdfs
./make.sh install

配置 FastDFS

shikanon wechat
欢迎您扫一扫,订阅我滴↑↑↑的微信公众号!