/ 中存储网

Nginx安装fastdfs模块过程记录

2014-02-14 13:50:01 来源:ITJS.CN

How to Install the PCRE library?

SSH to the server as user ‘root’

1) First, goto a temporary directory

 # cd /usr/local/src

2) Download PCRE:

 # wget http://downloads.sourceforge.net/pcre/pcre-8.10.tar.bz2

3) Unpack and change to the pcre directory

 # tar -jxf pcre-8.10.tar.bz2  # cd pcre-8.10

4) Confiure PCRE:

 # ./configure

5) Create the installation files and install PCRE

 # make  # make install

Once done, you should be able to install Nginx with the HTTP rewrite module.

1.In function ‘fdfs_http_request_handler’

遇到这种情况下载最新的fastdfs_ngix1.06版本就可以了

2.如果所有的安装都成功,配置的时候别忘记修改mod_fastdfs.conf的store_path0=/home/soar/storage/data路径