FastDFS 配置文件 client.conf storage_ids.conf
来源:互联网 发布:激光手术治疗近视 知乎 编辑:程序博客网 时间:2024/05/29 03:52
client.conf :
# connect timeout in seconds
# default value is 30s
connect_timeout=30 连接超时
# network timeout in seconds
# default value is 30s
network_timeout=60 网络超时
# the base path to store log files
base_path=/home/yuqing/fastdfs 日志文件目录
# tracker_server can ocur more than once, and tracker_server format is
# "host:port", host can be hostname or ip address
tracker_server=10.0.0.42:22122 tracker服务器地址
#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
use_storage_id = false
# 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
storage_ids_filename = storage_ids.conf
#HTTP settings
http.tracker_server_port=80
#use "#include" directive to include HTTP other settiongs
##include http.conf
storage_ids.conf
如果storage使用ids来标识,而不是用ip,这个配置文件需要配置
# <id> <group_name> <ip_or_hostname>
# 100001 group1 192.168.0.196
# 100002 group1 192.168.0.116
注意:启用ids后
client.conf 中也有两处需要修改:
use_storage_id = false
storage_ids_filename = storage_ids.conf
tracker.conf 中有三处需要修改:
use_storage_id = false
storage_ids_filename = storage_ids.conf
use_storage_id = false
storage_ids_filename = storage_ids.conf
id_type_in_filename = ip
storage.conf中有一处 或许要修改:
group_name=group1
group_name=group1
阅读全文
0 0
- FastDFS 配置文件 client.conf storage_ids.conf
- FastDFS 配置文件 tracker.conf
- FastDFS 配置文件 storage.conf
- FastDFS 5.01配置文件storage.conf
- FASTDFS 配置文件说明(tracker.conf)
- FastDFS配置文件详解之tracker.conf
- FastDFS配置文件详解之storage.conf
- FastDFS下载文件测试 ./fdfs_test %FastDFS%/conf/client.conf download (version:3.11)
- openvpn中server.conf和client.conf配置文件详解
- .conf
- httpd.conf配置文件
- xorg.conf配置文件
- Vsftpd.conf配置文件说明
- http.conf配置文件详解
- skyeye.conf硬件配置文件
- smb.conf配置文件详解
- smb.conf配置文件详解
- alsa配置文件alsa.conf
- bzoj 1226: [SDOI2009]学校食堂Dining
- 腾讯面试经验
- eclipse中使用maven打包出错
- Shell 增加server rsync 控制脚本
- mongo索引sort排序字段复合索引升序和降序索引创建规则
- FastDFS 配置文件 client.conf storage_ids.conf
- web访问 FastDFS 方法思路
- php 安装 pdo_mysql
- Linux 系统参数优化
- Win10秘笈:如何禁用更新安装后自动重启?
- shell脚本 定期删除日志
- Dubbo+Zookeeper+Spring mvc+Nginx 集群负载均衡 详细demo
- linux 删除文件 磁盘空间未释放
- Python3 -- argparse模块