FastDFS
搭建环境
- ubuntu16.04
- fastdfs 5.11
- libfastcommon 1.0.36
资源
-
libevent
fsatDFS如果是2.0之前的版本需要安装libevent(新版本不需要) -
libfastcommon
https://github.com/happyfish100/libfastcommon/tree/V1.0.36
-
fastDFS
https://github.com/happyfish100/fastdfs/tree/V5.11
搭建
libfastcommon
sudo unzip libfastcommon-1.0.36.zip
./make.sh
``
no such file or directory
- 文件本身损坏
- 无执行权限 (chmod 777 xxx)
- 系统位数与程序位数不同
sudo chmod 777 libfastcommon-1.0.36
sudo ./make.sh #编译
sudo ./make.sh install #将编译生成的库文件头文件等拷贝进对应文件夹
fastDFS
sudo unzip fastdfs-5.11.zip
sudo ./make.sh
sudo ./make.sh install
检测安装
fdfs_test
配置
cd /etc/fdfs