参见FastDFS源码目录下的文件INSTALL。摘录如下:
#step 1. download FastDFS source package and unpack it
tar xzf FastDFS_v1.x.tar.gz
#for example:
tar xzf FastDFS_v1.18.tar.gz
#step 2. enter the FastDFS dir
cd FastDFS
#step 3. make all
./make.sh
#step 4. make install
./make.sh install
http://219.148.35.28/thread-1970692-1-13.html