本人linux使用的ubuntu版本。

 

详细步骤

1.下载安装包
   
源码在google的code服务器上有,不想翻墙了,直接去源码中国下载了。

   目前最新版本为5.05   全名  fastdfs-5.05.tar.gz

   或者去这里下载:(版本又更新了5.11)
      https://github.com/happyfish100/fastdfs/releases/tag/V5.10

   或者去这里下载:https://sourceforge.net/projects/fastdfs/

FastDFS 安装步骤(ubuntu)

   

 

2.安装网络驱动包(最新的fastdfs,安装支持插件libfastcommon即可,不在需要libevent了

   下载安装libfastcommon
                到https://github.com/happyfish100/libfastcommon  点击绿色按钮下载  libfastcommon-master.zip

 

3. 下载好fastdfs-nginx-modulehttps://github.com/happyfish100/fastdfs-nginx-module

 

4. 将上面下载好的zip包,上传到linux中

 

5.解压

使用tar解压,可能会出现如下错误.   这时候使用unzip解压.

       gzip: stdin has more than one entry--rest ignored

FastDFS 安装步骤(ubuntu)

 

    安装unzip( apt-get install unzip )

FastDFS 安装步骤(ubuntu)

 

安装好unzip后,解压,

FastDFS 安装步骤(ubuntu)

 

进入libfastcommon-master,  执行 make.sh 进行编译  FastDFS 安装步骤(ubuntu) 

 编译好后,进行安装(./make.sh install)

FastDFS 安装步骤(ubuntu)

 

相关文章: