Centos610FastDFS stand-alone mode - scheduler installation configuration Centos610FastDFS installed stand-alone mode -FastDFS

We Centos610FastDFS stand-alone mode -FastDFS installation has been completed FastDFS installation, then we install FastDFS scheduler.

1. Locate FastDFS configuration directory

   cd / etc / FDF

   cp tracker.conf.sample tracker.conf

  Set the working directory tracker

  mkdir /opt/fastdfs/tracker

  Edit tracker.conf file

  we /etc/fdfs/tracker.conf

# Bind IP, to bind all empty, empty by default, need to fill in the formal environment, where we can not fill 
bind_addr = 

# Tracker service port number 
Port = 22122 

# Tracker working directory, the file path here is I just created 
base_path = / opt / fastdfs / Tracker 

# how much space is reserved for server default of 10 % . Environmental conditions can be modified according to their own 
reserved_storage_space = 10 % 

# Tracker open access port number, the default is 8080, that time will be used to access files 
http.server_port = 9100

 

2. Add tracker boot from the start

 // add to the boot entry

  chkconfig --add fdfs_trackerd

 Set boot

  chkconfig fdfs_trackerd  on

 start upfdfs_trackerd 服务

  service fdfs_trackerd start

 

At this point tracker configuration

 

 

 

Guess you like

Origin www.cnblogs.com/oumi/p/11281007.html