
一目录创建数subdir_count_per_path10# the mode of the files distributed to the data path# 0: round robin(default)# 1: random, distributted by hash codefile_distribute_path_mode0# valid when file_distribute_to_path is set to 0 (round robin),# when the written file count reaches this number, then rotate to next path# default value is 100file_distribute_rotate_count100二监控状态fdfs_monitor /etc/fdfs/client.conf -h 192.168.0.203三设置开机启动vim /etc/rc.d/rc.local将运行命令行添加进文件/usr/local/bin/fdfs_storaged /etc/fdfs/storage.conf restart四多group 下的nginx 配置在server段中添加location~/group[1-3]/M00{root /fdfs/storage/data;ngx_fastdfs_module;}