FastDFS

一、原理

1.架构

FastDFS

2.上传机制

FastDFS

3.下载机制

FastDFS

二、详述

FastDFS详解参见:http://www.ityouknow.com/fastdfs/2018/01/06/distributed-file-system-fastdfs.html

FastDFS安装参见:http://www.ityouknow.com/fastdfs/2017/10/10/cluster-building-fastdfs.html

三、常用命令

1.启动tracker     sudo fdfs_trackerd /etc/fdfs/tracker.conf start

2.启动storage    sudo fdfs_storaged /etc/fdfs/storage.conf start

3.启动storage中的nginx    sudo /usr/local/nginx/sbin/nginx

4.上传文件    sudo fdfs_upload_file /etc/fdfs/client.conf aaa

5.查看storage和tracker状态    sudo fdfs_monitor /etc/fdfs/storage.conf

6.查看监控端口   sudo netstat -unltp|grep fdfs

FastDFS

FastDFS

FastDFS

FastDFS