fastDFS环境搭建1、单服务器搭建fastDFS环境1
1环境本文系统环境是LinuxCentOS6
CentOS以root用户登陆,安装1个Tracker和1个Storage,不考虑复杂情况,后面再考虑搭建分布式环境以及性能优化
#cat/proc/version,uname–a,cat/etc/issue1
1服务器Server1:172
2相关压缩包fastdfs-5
gzhttps://github
com/happyfish100/fastdfs/releaseslibfastcommon-1
gzhttps://github
com/happyfish100/libfastcommon/releasesfastdfs-nginx-module_v1
gzhttps://sourceforge
net/projects/fastdfs/files/FastDFS%20Nginx%20Module%20Source%20Code/1
3安装将上述三个压缩包拷贝到/root/shitao/fastDFS目录下1
1libfastcommon-1
13安装解压缩并编译1、解压:#tarzxvflibfastcommon-1
gz2、切换到解压后文件夹:#cdlibfastcommon-1
73、编译:#
sh一般编译libfastcommon辅助包不会存在问题,主要是会影响到fastdfs
安装1、#
shinstall将/usr/lib64/libfastcommon
so文件向/usr/lib/下复制一份1、#cp/usr/lib64/libfastcommon
so/usr/lib1
2fastdf