INSTALL の全文
[root@cobalt1 f-prot]# more INSTALL.linux_ws
Installation instructions for F-Prot Antivirus for Linux Workstations
Contents:
--------
Installation
Installing using the rpm/deb packages
Installing using the installation script
Installing manually
Testing your installation
Setup and configuration
Automatically updating the virus database
Installing using the rpm/deb packages:
-------------------------------------
To install using rpm execute this command:
rpm -Uhv /path/to/fp-linux-ws-VERSION.rpm
And to install using deb, execute this command:
dpkg -i /path/to/fp-linux-ws-VERSION.deb
Installing using the installation script:
----------------------------------------
F-Prot Antivirus tarballs now come with an installation script called
install-f-prot.pl. It can be found in the directory created when extracting
the tarballs. If you choose to use this script, you can skip the next step
titled "Installing manually." To run the script, change to the f-prot/
directory and execute it:
tar xvfz /path/to/fp-linux-ws-VERSION.tar.gz
cd f-prot/
./install-f-prot.pl
Follow the instructions printed to the screen.
Installing manually:
-------------------
Note: If upgrading from an older version of F-Prot Antivirus for Linux,
run the following command (as root) before installing, to remove the
older version:
rm -rf /usr/local/f-prot
The suggested installation procedure is as follows. Please substitute the
word "VERSION" in the above instructions with this release's actual version
number. Also note that your manual pages may be stored in a different path
then /usr/share/man, and you might need to adjust it accordingly. If your
system has rpm installed you can verify the location it prefers to put
manual pages by executing the following:
rpm --eval "%{_mandir}"
Run these commands (as root):
cd /usr/local
tar xvfz /path/to/fp-linux-ws-VERSION.tar.gz
ln -fs /usr/local/f-prot/f-prot.sh bin/f-prot
ln -fs /usr/local/f-prot/man_pages/f-prot.1 /usr/share/man/man1/
ln -fs /usr/local/f-prot/man_pages/check-updates.pl.8 /usr/share/man/man8/
chmod +x /usr/local/f-prot/f-prot
chmod +x /usr/local/f-prot/tools/check-updates.pl
Testing your installation:
-------------------------
To verify the commandline scanner works, please run it
with the -verno option and then attempt to scan a file:
f-prot -verno
f-prot /etc/passwd
If no errors occur, then the installation of the
commandline scanner was successful.
Please consult the f-prot(1) page for further
information.
Automatically updating the virus database:
-----------------------------------------
To automatically update the virus database, you can use the
check-updates.pl perl script in conjunction with cron. Cron
is a command scheduler. To schedule check-updates.pl to run
periodically, you must create an item called a crontab.
Please consult your system manual to find out how. The most
common command for creating a crontab is 'crontab -e'.
Running it will start an editor. There you must put the
following:
27 4,16 * * * /usr/local/f-prot/tools/check-updates.pl -cron
With this configuration, your virus definition files will be
checked against the latest ones available from FRISK Software
International twice a day at 4:27AM and 4:27PM. If there are
new virus definition files available, they will be updated.
You will get e-mails whenever the signature files are updated
or when an error occurs. If you only want to receive e-mail
only when an error, occurs, then you want to include the
-quiet parameter:
27 4,16 * * * /usr/local/f-prot/tools/check-updates.pl -cron -quiet
Please make sure you run check-updates.pl as root, otherwise
it will not have filesystem permissions to update the virus
database. For further information about check-updates.pl,
please consult the check-updates.pl(8) manual page.
以上