Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring the Tracker Server

  1. Open the tracker.conf file.
    vim /etc/fdfs/tracker.conf

    Modify the 11th and 23rd lines as follows:

    port=22122  # Port of the tracker server (The default value is 22122. Generally, you do not need to change the value.)
    base_path=/home/dfs/tracker  # Root directory for storing logs and data
  2. Create a base data directory for the tracker server.
    mkdir -p /home/dfs/tracker
  3. Start the tracker server and set it to start upon system startup.
    1. Start the tracker server.
      service fdfs_trackerd start
    2. Enable automatic startup.
      chkconfig fdfs_trackerd on
    • If the tracker server is started successfully for the first time, the data and logs directories are created in /home/dfs/tracker (the configured base_path).
    • Stop the tracker server:
      service fdfs_trackerd stop