Chinaunix首页 | 论坛 | 博客
  • 博客访问: 136287
  • 博文数量: 34
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 252
  • 用 户 组: 普通用户
  • 注册时间: 2014-05-27 20:04
文章分类

全部博文(34)

文章存档

2018年(1)

2017年(23)

2016年(10)

我的朋友

分类: 系统运维

2017-03-31 09:43:07

FastDFS配置文件

1.配置文件tracker.conf
主要注意参数:

# the base path to store data and log files base_path=/home/yuqing/fastdfs
# 提供服务的端口 # the tracker server port port=22122

2.配置文件storage.conf
主要注意参数:
# 指定 此 storage server 所在组(卷) # the name of the group this storage server belongs to group_name=group1
# storage server服务端口 # the storage server port port=23000
# base_path 目录地址,根目录必须存在  子目录会自动生成 (注 :这里不是上传的文件存放的地址,之前是的,在某个版本后更改了) # the base path to store data and log files base_path=/home/yuqing/fastdfs
# 逐一配置store_path个路径,索引号基于0。注意配置方法后面有0,1,2 ......,需要配置0到store_path - 1。 # 如果不配置base_path0,那边它就和base_path对应的路径一样。 # store_path#, based 0, if store_path0 not exists, it's value is base_path # the paths must be exist store_path0=/home/yuqing/fastdfs

#指定tracker racker_server=192.168.4.142:22122


阅读(1738) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~