【1】FastDFS安装与配置
【1】FastDFS安装与配置
-------------------------------------------------------
(4版本前用libevent,5直接安装libfastcommon即可。)
1.解压libevent:
tar -zxvf libevent-2.0.21-stable.tar.gz
2.进入解压目录:
cd libevent-2.0.21-stable
3.指定安装目录:
./configure --prefix=/usr/local/libevent
4.安装libevent:
make
make install
5.解压FastDFS:
tar zxvf FastDFS_v5.08.tar.gz
6.进入解压目录:
cd FastDFS
7.指定libevent的lib目录:
./make.sh C_INCLUDE_PATH=/usr/local/libevent/include LIBRARY_PATH=/usr/local/libevent/lib
8.安装FastDFS:
./make.sh install
-----------------------------------------------------------------------------------------------
1.下载libfastcommon
wget https://github.com/happyfish1