FastDFS实战
一、 相关资料
- 开源项目FastDFS:https://github.com/happyfish100/fastdfs
- 安装步骤:https://github.com/happyfish100/fastdfs/blob/master/INSTALL
二、 安装
下载安装第三方依赖:
yum install gcc-c++ perl-devel pcre-devel openssl-devel zlib-devel wget
下载安装依赖包: libfastcommon
wget https://github.com/happyfish100/libfastcommon/archive/V1.0.35.tar.gz
下载安装:FastDFS
wget https://github.com/happyfish100/fastdfs/archive/V5.10.tar.gz
安装 libfastcommon
tar -zxvf V1.0.35.tar.gz cd libfastcommon-1.0.35/ ./make.sh && ./make.sh install
安装 FastDFS
tar -zxvf V5.10.tar.gz cd fastdfs-5.10/ ./make.sh && ./make.sh install
安装文件详解
FastDFS启动所需的配置文件放置在/etc/fdfs/下(tracker、storage、client配置文件)
FastDFS启动脚本放置在/etc/init.d/下
FastDFS相关命令放置在/usr/bin/下,并且以fdfs_开头