1.依赖安装
yum -y install make cmake gcc gcc-c++ wget vim telnetcd /optmkdir libeventwget https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gztar -zxvf libevent*cd libevent*./configure --prefix=/usr/local/libevent-2.1.8makemake install
2.安装libfastcommon
cd /optrm -rf libfastcommonmkdir libfastcommoncd libfastcommonyum -y install gitgit clone https://github.com/happyfish100/libfastcommon.gitcd lib*./make.sh./make.sh install
3.FastDFS安装
cd /optrm -rf fastdfsmkdir fastdfscd fastdfswget https://github.com/happyfish100/fastdfs/archive/V5.08.tar.gztar -zxvf V5.08.tar.gzcd fastdfs-*./make.sh./make.sh install
PS:CentOS6安装通过,本系列参照,包括后续的,地址:http://my.csdn.net/xyang81
非常感谢xyang0917的无私分享。