f-prot - F-Prot Antivirus(TM) for Linux ChangeLog

HOWTO


# F-Prot for Linux Workstations 4.6.8
# ===================================
# This is free for personal use on a personal workstation.  To buy it
# or another F-Prot product, go to http://www.f-prot.com/

cd
test -f installed/fp-linux-ws-4.6.8.tar.gz &&
mv installed/fp-linux-ws-4.6.8.tar.gz .
test ! -f fp-linux-ws-4.6.8.tar.gz &&
wget http://files.f-prot.com/files/linux-x86/fp-linux-ws-4.6.8.tar.gz

# Verify tarball w/ sha1sum:
# (this is from my copy, couldn't find one elsewhere)
echo "8c10ccef0f574062f2e2b84d7366cf9904a07213  fp-linux-ws-4.6.8.tar.gz" | \
sha1sum -c

# Become root to install it
su

test -d /usr/local/f-prot && rm -r /usr/local/f-prot
rm -f /usr/local/bin/f-prot /usr/local/man/man1/f-prot.1 \
/usr/local/man/man5/f-prot.conf.5
( cd /usr/local/man/man8
  rm -f check-updates.pl.8 check-updates.sh.8 f-prot.8 )
tar xzvf ./fp-linux-ws-4.6.8.tar.gz -C /usr/local
cd /usr/local/f-prot
chown -R root:root .
chmod 755 /usr/local/f-prot
find -type f -exec chmod 644 {} \;
chmod +x f-prot f-prot.sh
chmod 700 tools/check-updates.pl
chmod 600 install-f-prot.pl

# Run this if you only want root to be able to run f-prot.  If you want it
# to be runnable by one non-root user, run 'chown -R username .' after that
# and also add that to /etc/cron.daily/f-prot (see below).
chmod -R go-rwx .

# Create symlinks so f-prot can be run and the man pages can be viewed
# without their full path:
ln -sf /usr/local/f-prot/f-prot.sh /usr/local/bin/f-prot
ln -sf /usr/local/f-prot/man_pages/check-updates.pl.8 /usr/local/man/man8/
ln -sf /usr/local/f-prot/man_pages/f-prot.1 /usr/local/man/man1/
ln -sf /usr/local/f-prot/man_pages/f-prot.conf.5 /usr/local/man/man5/

# To set up automatic updates, make sure perl's HTTP::Request module is
# installed:
perl -MCPAN -e shell
o conf make_install_arg UNINST=1
o conf prerequisites_policy follow
install Bundle::CPAN
install HTTP::Request
exit

# If you have the /etc/cron.(daily|hourly|monthly) directories set up, do
# this to update the virus signatures at 4:40am (along with everything else
# in /etc/cron.daily/):
cat << EOF > /etc/cron.daily/f-prot
#!/bin/sh
# Update f-prot virus signatures
/usr/local/f-prot/tools/check-updates.pl -cron -quiet
chmod -x /usr/local/f-prot/SIGN*.DEF
EOF
chmod 700 /etc/cron.daily/f-prot
#
## ...and if you don't have those set up, add a cron job like this to root's
## crontab to update the virus signatures at 4:40am every day:
# 40 4 * * * /usr/local/f-prot/tools/check-updates.pl -cron -quiet

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/fp-linux-*.tar.gz
mv fp-linux-ws-4.6.8.tar.gz installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2007-06-05 12:23pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]