To set up the Cache server cached:
-fflag to cached to specify the location of your cached.conf). In cached.conf, any line beginning with a ``
#'' character is ignored. If a variable itself is commented out (or not included in the configuration file), it is given a default value, as specified below.
At a minimum, you should edit the settings of cache_dir, cache_log, cache_access_log, and cache_mgr. You can also set the cache_ftp_program and cache_dns_program variables to point to where your ftpget and dnsserver programs are located (respectively), if they aren't in directories that are in your path. You can also change other variables, such as per-object timeouts. (Each of the variables is documented in comments in the cached.conf file supplied in the Harvest distribution.) In particular, you can specify the topology of neighbor and parent caches, using one or more cache_host variables (see Section 6.7.). Note that cached uses two port numbers for the ASCII and UDP protocol interfaces. Example values are shown in the provided cached.conf file. Also, note that cached will always append to the log files (e.g., they're never truncated).