Centos610系列配置

FastDFS_Tracker.conf示例配置

# is this config file disabled
# false for enabled
# true for disabled
disabled = false # bind an address of this host
# empty for bind all addresses of this host
bind_addr = # the tracker server port
port = 22122 # connect timeout in seconds
# default value is
# Note: in the intranet network (LAN), seconds is enough.
connect_timeout = # network timeout in seconds for send and recv
# default value is
network_timeout = # the base path to store data and log files
# base_path = /home/yuqing/fastdfs
base_path=/opt/fastdfs/tracker # max concurrent connections this server support
# you should set this parameter larger, eg.
# default value is
max_connections = # accept thread count
# default value is which is recommended
# since V4.
accept_threads = # work thread count
# work threads to deal network io
# default value is
# since V2.
work_threads = # the min network buff size
# default value 8KB
min_buff_size = 8KB # the max network buff size
# default value 128KB
max_buff_size = 128KB # the method for selecting group to upload files
# : round robin
# : specify group
# : load balance, select the max free space group to upload file
store_lookup = # which group to upload file
# when store_lookup set to , must set store_group to the group name
store_group = group2 # which storage server to upload file
# : round robin (default)
# : the first server order by ip address
# : the first server order by priority (the minimal)
# Note: if use_trunk_file set to true, must set store_server to or
store_server = # which path (means disk or mount point) of the storage server to upload file
# : round robin
# : load balance, select the max free space path to upload file
store_path = # which storage server to download file
# : round robin (default)
# : the source storage server which the current file uploaded to
download_server = # reserved storage space for system or other applications.
# if the free(available) space of any stoarge server in
# a group <= reserved_storage_space, no file can be uploaded to this group.
# bytes unit can be one of follows:
### G or g for gigabyte(GB)
### M or m for megabyte(MB)
### K or k for kilobyte(KB)
### no unit for byte(B)
### XX.XX% as ratio such as: reserved_storage_space = %
reserved_storage_space = % #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 #unix group name to run this program,
#not set (empty) means run by the group of current user
run_by_group= #unix username to run this program,
#not set (empty) means run by current user
run_by_user = # allow_hosts can ocur more than once, host can be hostname or ip address,
# "*" (only one asterisk) means match all ip addresses
# we can use CIDR ips like 192.168.5.64/
# and also use range like these: 10.0..[-] and host[-,-].domain.com
# for example:
# allow_hosts=10.0..[-,]
# allow_hosts=host[-,-].domain.com
# allow_hosts=192.168.5.64/
allow_hosts = * # sync log buff to disk every interval seconds
# default value is seconds
sync_log_buff_interval = # check storage server alive interval seconds
check_active_interval = # thread stack size, should >= 64KB
# default value is 256KB
thread_stack_size = 256KB # auto adjust when the ip address of the storage server changed
# default value is true
storage_ip_changed_auto_adjust = true # storage sync file max delay seconds
# default value is seconds (one day)
# since V2.
storage_sync_file_max_delay = # the max time of storage sync a file
# default value is seconds
# since V2.
storage_sync_file_max_time = # if use a trunk file to store several small files
# default value is false
# since V3.
use_trunk_file = false # the min slot size, should <= 4KB
# default value is bytes
# since V3.
slot_min_size = # the max slot size, should > slot_min_size
# store the upload file to trunk file when it's size <= this value
# default value is 16MB
# since V3.
slot_max_size = 4MB # the trunk file size, should >= 4MB
# default value is 64MB
# since V3.
trunk_file_size = 64MB # if create trunk file advancely
# default value is false
# since V3.
trunk_create_file_advance = false # the time base to create trunk file
# the time format: HH:MM
# default value is :
# since V3.
trunk_create_file_time_base = : # the interval of create trunk file, unit: second
# default value is (one day)
# since V3.
trunk_create_file_interval = # the threshold to create trunk file
# when the free trunk file size less than the threshold,
# will create he trunk files
# default value is
# since V3.
trunk_create_file_space_threshold = 20G # if check trunk space occupying when loading trunk free spaces
# the occupied spaces will be ignored
# default value is false
# since V3.
# NOTICE: set this parameter to true will slow the loading of trunk spaces
# when startup. you should set this parameter to true when neccessary.
trunk_init_check_occupying = false # if ignore storage_trunk.dat, reload from trunk binlog
# default value is false
# since V3.
# set to true once for version upgrade when your version less than V3.
trunk_init_reload_from_binlog = false # the min interval for compressing the trunk binlog file
# unit: second, means never compress
# FastDFS compress the trunk binlog when trunk init and trunk destroy
# recommand to set this parameter to (one day)
# default value is
# since V5.
trunk_compress_binlog_min_interval = # the interval for compressing the trunk binlog file
# unit: second, means never compress
# recommand to set this parameter to (one day)
# default value is
# since V6.
trunk_compress_binlog_interval = # compress the trunk binlog time base, time format: Hour:Minute
# Hour from to , Minute from to
# default value is :
# since V6.
trunk_compress_binlog_time_base = : # if use storage server ID instead of IP address
# if you want to use dual IPs for storage server, you MUST set
# this parameter to true, and configure the dual IPs in the file
# configured by following item "storage_ids_filename", such as storage_ids.conf
# default value is false
# since V4.
use_storage_id = false # specify storage ids filename, can use relative or absolute path
# this parameter is valid only when use_storage_id set to true
# since V4.
storage_ids_filename = storage_ids.conf # id type of the storage server in the filename, values are:
## ip: the ip address of the storage server
## id: the server id of the storage server
# this paramter is valid only when use_storage_id set to true
# default value is ip
# since V4.
id_type_in_filename = id # if store slave file use symbol link
# default value is false
# since V4.
store_slave_file_use_link = false # if rotate the error log every day
# default value is false
# since V4.
rotate_error_log = false # rotate error log time base, time format: Hour:Minute
# Hour from to , Minute from to
# default value is :
# since V4.
error_log_rotate_time = : # if compress the old error log by gzip
# default value is false
# since V6.
compress_old_error_log = false # compress the error log days before
# default value is
# since V6.
compress_error_log_days_before = # rotate error log when the log file exceeds this size
# means never rotates log file by log file size
# default value is
# since V4.
rotate_error_log_size = # keep days of the log files
# means do not delete old log files
# default value is
log_file_keep_days = # if use connection pool
# default value is false
# since V4.
use_connection_pool = true # connections whose the idle time exceeds this time will be closed
# unit: second
# default value is
# since V4.
connection_pool_max_idle_time = # HTTP port on this tracker server
# http.server_port =
http.server_port= # check storage HTTP server alive interval seconds
# <= for never check
# default value is
http.check_alive_interval = # check storage HTTP server alive type, values are:
# tcp : connect to the storge server with HTTP port only,
# do not request and get response
# http: storage check alive url must return http status
# default value is tcp
http.check_alive_type = tcp # check storage HTTP server alive uri/url
# NOTE: storage embed HTTP server support uri: /status.html
http.check_alive_uri = /status.html

Centos6.10-FastDFS-Tracker.conf示例配置的更多相关文章

  1. FastDFS 配置文件 tracker.conf

    FastDFS 版本5.05 配置文件分为三部分   控制器:tracker.conf存储器:storage.conf 客户端:client.conf 文件位置:/etc/fdfs 基本配置(基础配置 ...

  2. FastDFS 集群 安装 配置

    这篇文章介绍如何搭建FastDFS 集群 FastDFS是一个开源的轻量级分布式文件系统,它对文件进行管理,功能包括:文件存储.文件同步.文件访问(文件上传.文件下载)等,解决了大容量存储和负载均衡的 ...

  3. [转]Centos7 fastdfs/nginx 安装与配置

    https://blog.csdn.net/alex_bean/article/details/78625131 参考文章 分布式文件系统-FastDFS 使用FastDFS搭建图片服务器单实例篇 C ...

  4. 分布式文件系统 - FastDFS 在 CentOS 下配置安装部署

    少啰嗦,直接装 看过上一篇分布式文件系统 - FastDFS 简单了解一下的朋友应该知道,本次安装是使用目前余庆老师开源的最新 V5.05 版本,是余庆老师放在 Github 上的,和目前你能在网络上 ...

  5. centos 系统下安装FastDFS+nginx+fastdfs-nginx-module安装配置

    前言: 以前的项目上传的文件都是保存到本地或者是局域网内的共享文件夹下,由于数据量,服务器的负载均衡(分机的某些图片无法访问的问题处理)等因素的情况下,就想到用fastdfs来文件管理,花了几天时间硬 ...

  6. 转载:分布式文件系统 - FastDFS 在 CentOS 下配置安装部署(1)

    原文:http://blog.mayongfa.cn/192.html 一.安装 libfastcommon 和 FastDFS 1.下载安装 libfastcommon ,这里是通过wget下载(我 ...

  7. Dubbo入门到精通学习笔记(十七):FastDFS集群的安装、FastDFS集群的配置

    文章目录 FastDFS集群的安装 FastDFS 介绍(参考:http://www.oschina.net/p/fastdfs) FastDFS 上传文件交互过程: FastDFS 下载文件交互过程 ...

  8. Docker部署FastDFS(附示例代码)

    1. FastDFS简介   FastDFS是一个开源的分布式文件系统,它对文件进行管理,功能包括:文件存储.文件同步.文件访问(文件上传.文件下载)等,解决了大容量存储和负载均衡的问题.特别适合以文 ...

  9. Centos6.10源码部署zabbix-3.2.6

    环境:Centos6.10   已有lnmp环境  mysql5.7  php7.2 创建zabbix数据库 mysql> create database zabbix character se ...

随机推荐

  1. 【转载】17个新手常见Python运行时错误

    转自:http://www.cnblogs.com/smile-ls/archive/2013/05/20/3088393.html 当初学 Python 时,想要弄懂 Python 的错误信息的含义 ...

  2. 白面系列 mongoDB

    mongoDB和redis一样,都是noSQL技术之一. redis是Key-Value存储,mongoDB是文档存储. 文档存储一般用类似json的格式存储,存储的内容是文档型的.文档是一组键值(k ...

  3. Linux下Libevent安装和简单实用

    前言 Libevent 是一个用C语言编写的.轻量级的开源高性能事件通知库,主要有以下几个亮点:事件驱动( event-driven),高性能;轻量级,专注于网络,不如 ACE 那么臃肿庞大:源代码相 ...

  4. 【Unity|C#】基础篇(11)——内置的泛型委托(Action/Func/Predicate)

    [Action] 无返回值 的泛型委托,可以有0~16个参数(函数重载) public delegate void Action(); // 无参数 public delegate void Acti ...

  5. navicat操作mysql数据库

    1.利用mysql来做ER图 1.1点击模型->新建模型->点击表->新建表,这样就可以了 1.2 建好的ER图->工具 有导出到sql ,有同步到数据库 1.3 建好的表,可 ...

  6. [POI2004] PRZ - 状压dp

    很简单的子集枚举状压dp 这个 (j-1)&i 的子集枚举是真的骚气 #include <bits/stdc++.h> using namespace std; int W,n,t ...

  7. IIS7.5 HTTP 错误 500 调用loadlibraryex失败的解决方法

    在IIS7.5打开网页的时候,提示: HTTP 错误 500.0 - Internal Server Error 调用 LoadLibraryEx 失败,在 ISAPI 筛选器 C:\Windows\ ...

  8. Spring事物白话文

    脏读:一个事物读到了另外一个事物中尚未提交的数据: 幻读:A事物读到了B事物新增的数据:白话一点就是读到了别人insert的语句: 不可重复读:A事物读取了B事物更改的数据:白话一点就是我两次sele ...

  9. Idea实用小Tips

    设置keymap 自己根据习惯选择keymap(键位) 插件安装 ###省去set.get方法以及基于注解的日志框架 lombok plugin ###找bug用的 FindBugs-IDEA ### ...

  10. select出来的表增加递增列

    Select identity(int,1,1) as no,* into #tmp from table