1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
INSTALL for FileTraq v0.2
Copyright (c) 2000 Jeremy Weatherford
See file COPYING included with distribution.
----> Upgrading
To upgrade a previous version of FileTraq, simply follow the procedure
below, specifying the same directories as before, and the new version will
replace the old one. Your backups and config files will continue to work
with the new version.
----> Installation
First, be root.
$ su
Extract the archive if you haven't already.
# tar -xvzf filetraq-0.2.tgz
# cd filetraq-0.2
Run the install script.
# ./install.sh
(answer questions)
# crontab -e
(add an entry to run FileTraq periodically. Every 5 minutes, say)
Sample crontab entry: (every five minutes)
*/5 * * * * /usr/local/sbin/filetraq
Most modern cron daemons support the syntax */5. If yours doesn't, substitute
0,5,10,15,20,25,30,35,40,45,50,55 for the */5.
Make sure the output from the crontab is being mailed to you. If there's
no MAILTO= setting in the crontab, the output should be mailed to root. If
you want it mailed to a specific user, add a MAILTO=user line at the top.
You'll get one initial mailing when it runs the first time, then it'll be quiet
until there are changes.
If you don't receive an initial mailing at the designated time, make sure the
cron daemon is actually running. If a ps auxc | grep crond doesn't show
anything running, start it manually, then make sure it will start when your
system boots.
Edit /usr/local/filetraq/filetraq.conf (or wherever you put it) to add/delete
files to be monitored.
See the README file if you want more information.
That's that.
----> Uninstallation:
There's an uninstall.sh script that should work fairly well for removing all
of FileTraq's files.
# ./uninstall.sh
(review info and confirm)
And it'll be uninstalled.
|