下载安装 libfastcommon
libfastcommon是从 FastDFS 和 FastDHT 中提取出来的公共 C 函数库,基础环境,安装即可 。
git clone https://github.com/happyfish100/libfastcommon.git
[root@tom01 tools]# cd libfastcommon/
[root@tom01 libfastcommon]# ./make.sh
[root@tom01 libfastcommon]# ./make.sh install
下载安装FastDFS
[root@tom01 tools]# git clone https://github.com/happyfish100/fastdfs.git
[root@tom01 tools]# cd fastdfs/
[root@tom01 fastdfs]# ./make.sh
[root@tom01 fastdfs]# ./make.sh install
安装完成后默认配置文件
[root@tom01 fastdfs]# ll /etc/fdfs/
total 24
-rw-r–r-- 1 root root 1461 Mar 14 22:25 client.conf.sample
-rw-r–r-- 1 root root 7978 Mar 14 22:25 storage.conf.sample
-rw-r–r-- 1 root root 105 Mar 14 22:25 storage_ids.conf.sample