正在加载中……
最新消息:欢迎大家访问,导航分类不完善,如果找不到自己想要的文章,可以通过【关键词】来进行搜索,^_^!

CentOS FastDFS配置之Client配置

Linux专题 REKFAN.COM 5359浏览 0评论

更多


# 连接超时时间
# 默认值 30s
connect_timeout=30

# 网络超时时间
# 默认值 30s
network_timeout=60

# the base path to store log files 存放日志的根目录
base_path=/rekfan.com/fastdfs_data

# tracker_server can ocur more than once, and tracker_server format is
#  "host:port", host can be hostname or ip address
#这里是填写tracker服务器的ip 或者域名
#tracker_server=192.168.10.11:22122
#tracker_server=192.168.10.11:22122
#tracker_server=192.168.10.11:22122
tracker_server=fastdfs1.rekfan.com:22122
tracker_server=fastdfs2.rekfan.com:22122
tracker_server=fastdfs3.rekfan.com:22122

#standard log level as syslog, case insensitive, value list:
### emerg for emergency
### alert
### crit for critical
### error
### warn for warning
### notice
### info
### debug
log_level=info

# if use connection pool
# default value is false
# since V4.05
use_connection_pool = false

# connections whose the idle time exceeds this time will be closed
# unit: second
# default value is 3600
# since V4.05
connection_pool_max_idle_time = 3600

# if load FastDFS parameters from tracker server
# since V4.05
# default value is false
load_fdfs_parameters_from_tracker=false

# if use storage ID instead of IP address
# same as tracker.conf
# valid only when load_fdfs_parameters_from_tracker is false
# default value is false
# since V4.05
# storage的模式 true:启用id  flase:禁用id 使用ip
use_storage_id = true

# specify storage ids filename, can use relative or absolute path
# same as tracker.conf
# valid only when load_fdfs_parameters_from_tracker is false
# since V4.05
# 如果上面的use_storage_id为true 那么此项生效
# storage_ids.conf文件内容如下
# <id>  <group_name>  <ip_or_hostname>
# 100001   group1  192.168.0.196
# 100002   group1  192.168.0.116

storage_ids_filename = storage_ids.conf

#HTTP settings
http.tracker_server_port=80

#use "#include" directive to include HTTP other settiongs
##include http.conf

本文摘自:http://blog.csdn.net/column/details/fastdfs.html

 

--------------------------------------------------------------------
其他相关文章:

CentOS FastDFS结合Nginx及PHP安装配置篇 [点击进入查看]

CentOS FastDFS配置之Tracker配置 [点击进入查看]

CentOS FastDFS配置之Storage配置 [点击进入查看] 

CentOS FastDFS配置之Client配置 [点击进入查看]

CentOS FastDFS配置之常见错误 [点击进入查看]

转载请注明:|REKFAN|系统运维| » CentOS FastDFS配置之Client配置

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址