2.2 Installation procedure

Installing using the rpm/deb packages:

To install using rpm execute this command:

> rpm -Uhv /path/to/fp-PLATFORM-ms-VERSION.rpm

And to install using deb, execute this command:

> dpkg -i /path/to/fp-PLATFORM-ms-VERSION.deb

Installing from a tarball:

We recommend using /opt/f-prot as the installation directory for F-PROT Antivirus. After downloading the tarball, you may issue the following commands:

> # cd /opt

> # tar -zxvf /path/to/fp-PLATFORM-ms-VERSION.tar.gz

Installing using the installation script:

F-PROT Antivirus comes with an installation script called install-f-prot.pl. It can be found in the directory created when extracting the tarball. This installation script can be used to automatically configure your mailserver setup for in-transit mail scanning. If you choose to use this script, you can skip the next step titled "Installing manually." To run the script, you may change to the f-prot/ directory and execute it:

> cd /opt/f-prot/
> ./install-f-prot.pl

Follow the instructions printed to the screen.

Installing manually:

The suggested installation procedure is as follows. Please substitute the word "PLATFORM" in the instructions below with the appropriate platform and the word "VERSION" 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):

> ln -fs /opt/f-prot/fpscan /usr/local/bin/fpscan
> ln -fs /opt/f-prot/doc/man/fpscan.1 /usr/local/man/man1/
> ln -fs /opt/f-prot/doc/man/fprot-conf.5 /usr/local/man/man5/
> ln -fs /opt/f-prot/doc/man/fpupdate.8 /usr/local/man/man8/
> ln -fs /opt/f-prot/fpscand /usr/local/sbin/fpscand
> ln -fs /opt/f-prot/fpmon /usr/local/sbin/fpmon
> ln -fs /opt/f-prot/doc/man/fpscand.8 /usr/local/man/man8/
> ln -fs /opt/f-prot/doc/man/fp-milter.8 /usr/local/man/man8/
> ln -fs /opt/f-prot/doc/man/fp-qmail.8 /usr/local/man/man8/
> ln -fs /opt/f-prot/doc/man/fpmon.8 /usr/local/man/man8/
> ln -fs /opt/f-prot/doc/man/fp.so.8 /usr/local/man/man8/
> cp /opt/f-prot/f-prot.conf.default /opt/f-prot/f-prot.conf
> ln -fs /opt/f-prot/etc/f-prot.conf /etc/f-prot.conf
> chmod a+x /opt/f-prot/fpscan
> chmod u+x /opt/f-prot/fpupdate
> ln -fs /opt/f-prot/man_pages/scan-mail.pl.8 /usr/share/man/man8/
> chmod +x /opt/f-prot/mailtools/scan-mail.pl

For instructions on how to manually configure F-PROT Antivirus as a mail scanner please see the appropriate section in Chapter 5 (5.4 for sendmail/libmilter, 5.5 for Postfix, 5.6 for Qmail and 5.7 for running scan-mail.pl automatically at bootup).

For instructions on how to protect your samba shares see here.

Note that for fpmon to work, it must be configured to start at bootup, see here how to do that.

Back to Index

Copyright © 2007 FRISK Software International. All rights reserved