Norman Antivirus- Hur göra för att lyckas installera det? LÖST!!

Okänd
Inlägg: 30172
Blev medlem: 03 mar 2008, 01:30
OS: Ubuntu

Norman Antivirus- Hur göra för att lyckas installera det? LÖST!!

Inlägg av Okänd »

Har Nordea och därigenom så får man gratis Norman Antivirus, och det finns även i .deb eller tar.gz version för Linux.
http://www.norman.com/Download/Full_versions/nvc/se

Har läst read me:n som följer med men lyckas inte installera detta. Någon som har några handfasta tips på hur man ska göra?

Read me innehåll:
Norman Virus Control v5 Command Line Scanner for Linux
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Document revision 1.3.3


This document covers the following areas :

- What is NVC?
- System requirements
- Obtaining software and documentation
- Installation and removal
- RPM
- DEB
- TGZ
- Completing the installation (all packages)

- Components
      - nvcoa (console)
- nvcc (console)
- niu (console)
- niucf (java)
- nvccf (java)

- Interfacing NVC with MTAs
- Recommended additions




What is NVC?
-----------------------------------------------------------------------
Norman Virus Control (NVC) is an anti-virus program that scans your
computer for malicious software, also referred to as malware.
Malware is viruses, worms, and other varieties of destructive code.
NVC can detect and remove known and unknown viruses from hard disks,
floppy disks, and e-mail attachments (see "Interfacing NVC with mail
programs").




Obtaining software and documentation
-----------------------------------------------------------------------
Latest version of NVC for Linux is available at:
http://www.norman.com/Download/Full_versions

Manuals can be downloaded from :
http://www.norman.com/manuals.shtml




System requirements
-----------------------------------------------------------------------
NVC for Linux requires the following :

- i386 or compatible architecture
- a working Linux installation with:
- glibc 2.2 or better
- X server for configuration
- Java 1.4 for configuration





Installation, update and removal
-----------------------------------------------------------------------
NVC for Linux is available in three different package formats:

RPM for RedHat, Mandrake, SuSE and other RPM-based distributions.
DEB for Debian, Skolelinux, Lindows and other DPKG-based distributions.
TGZ for Slackware, gentoo and other source-based distributions.

NVC for Linux will install itself to the /opt/norman directory and make
symbolic links to all executable components in /usr/bin. You need
sufficient rights to install NVC for Linux, such as root.

The following components are sym-linked :

nvcoa - On-access scanner
nvcc - Command line scanner
niucf - Internet Update Configuration
nvccf - Main configuration tool
niu - Internet Update


Log files :
If run as root       - /opt/norman/logs/
If run as a regular user - $HOME/.norman/logs
   

RPM :
-----
Go to the directory which contains the RPM file and type the following:

rpm -i nvcc-x.xx-xx.rpm

To remove NVC for Linux type the following:

rpm -e nvcc

DEB :
-----
Go to the directory which contains the DEB file and type the following:

dpkg -i nvcc-x.xx-xx.deb

To remove NVC for Linux type the following:

dpkg -r nvcc

TGZ :
-----
Move the .tgz file to /. and type the following

tar xvzfp ./nvcc-x.xx-x.tgz

Run the program 'install.sh' to set up symbolic links

/opt/norman/nvc/bin/install.sh

To remove NVC for Linux you should type the following:

/opt/norman/nvc/bin/uninstall.sh


Completing the installation (all packages) :
--------------------------------------------
After installing NVC for Linux you must perform the following steps
to complete the installation :

- Run 'nvccf' and insert your authentication key under
  the "Authentication" tab.
  alternatively you can supply license information with the
  --key argument to nvccf

- Run 'niucf' and select all applicable options. niucf is
  optional for single user installations
 
- Run 'niu' to update the installation

** NOTE WELL **
niucf is only needed if you want NVC for Linux to maintain a
distributed NVC installation. Please see NVC's "Administrator's
Guide" for further information.





Components
-----------------------------------------------------------------------

nvcc (console)
--------------
nvcc is the actual command line scanner. Run with --help for more
information about the different arguments.

Example :

nvcc -s -u -cl /

The line above will check the entire filesystem and clean without prompting
for what action to take.

Example :

nvcc -s -u -cl /home/johndoe

The line above will check the directory /home/johndoe and all
subdirectories and clean without prompting for what action to take.


Also note that nvcc does not follow symlinks unless specified.


NIU (console)
-------------
NIU is responsible for the actual updating of NVC for Linux. NIU will
extract the information needed from the files 'niucf.ndf' and
'nvccf.ndf' made with 'niucf' and 'nvccf'.

Run with --help for more information about the different arguments.


niucf (java dependant)
----------------------
niucf is used to configure updating of a network-distributed NVC,
including distribution to Windows platforms. Please see the
NVC's "Administrator’s Guide" for further information.


nvccf (java dependant)
----------------------
nvccf is used primarily for entering data applicable to network
distributions and is similar to the "Configuration Editor" found
in NVC for other platforms. Please see NVC's "Reference Guide" or
"Administrator's Guide" for detailed information.





Interfacing NVC with mail servers
-----------------------------------------------------------------------
NVC for Linux is compatible with recent versions of the AMaViS wrapper,
and can therefore be interfaced with all major mail daemons (MTAs)
such as sendmail, postfix, qmail and exim.

AMaViS is available from <a class="postlink" href="http://www.amavis.org">http://www.amavis.org</a>




Recommended additions to NVC for Linux
-----------------------------------------------------------------------
An on-access scanner is also under development, and is scheduled for
release in Q1 2004.

=======================================================================
NVC documentation and software are Copyright © 1990-2003 Norman ASA.
All rights reserved.
Senast redigerad av 1 rancor, redigerad totalt 21 gånger.
Lars
Inlägg: 6191
Blev medlem: 14 jan 2007, 19:31
OS: Ubuntu
Utgåva: 22.10 Kinetic Kudu
Ort: Stockholm

SV: Norman Antivirus- Hur göra för att lyckas installera det?

Inlägg av Lars »

Ladda ner .deb-filen och kör sedan "sudo dpkg -i /sökväg/till/filen/nvcc-blabla.deb", sedan ska du kunna köra kommandot "nvccf" för att installera någon slags nyckel. Du måste också se till att ha Java installerat (t.ex. sun-java5-jre från multiverse).

Vad är det som inte fungerar?
Användarvisningsbild
Hund
Inlägg: 16492
Blev medlem: 25 jan 2007, 04:15
OS: Gentoo
Ort: Norrland
Kontakt:

SV: Norman Antivirus- Hur göra för att lyckas installera det?

Inlägg av Hund »

Annars kan man ju alltid dubbelklicka på .deb-filen bara. :)
Linuxkompis - En vänlig Linux-gemenskap för alla!
Okänd
Inlägg: 30172
Blev medlem: 03 mar 2008, 01:30
OS: Ubuntu

SV: Norman Antivirus- Hur göra för att lyckas installera det?

Inlägg av Okänd »

Körde ett par varianter av det du skrev och får upp detta:
bobcat@bobcat-desktop:~$ sudo dpkg -i /nvc-5.70.04.deb
Password:
dpkg: fel vid hantering av /nvc-5.70.04.deb (--install):
kan inte komma åt arkivet: Filen eller katalogen finns inte
Fel uppstod vid hantering:
/nvc-5.70.04.deb

bobcat@bobcat-desktop:~$ sudo dpkg -i /nvcc-5.70.04.deb
dpkg: fel vid hantering av /nvcc-5.70.04.deb (--install):
kan inte komma åt arkivet: Filen eller katalogen finns inte
Fel uppstod vid hantering:
/nvcc-5.70.04.deb

bobcat@bobcat-desktop:~$ sudo dpkg -i nvcc-5.70.04.deb
dpkg: fel vid hantering av nvcc-5.70.04.deb (--install):
kan inte komma åt arkivet: Filen eller katalogen finns inte
Fel uppstod vid hantering:
nvcc-5.70.04.deb

bobcat@bobcat-desktop:~$ sudo dpkg -i nvc-5.70.04.deb
(Läser databasen ... 139629 filer och kataloger installerade.)
Packar upp nvc (från nvc-5.70.04.deb) ...
/var/lib/dpkg/tmp.ci/preinst: 3: Syntax error: redirection unexpected
dpkg: fel vid hantering av nvc-5.70.04.deb (--install):
underprocess pre-installation script gav felkod 2
Fel uppstod vid hantering:
nvc-5.70.04.deb
Filen i sig heter:
nvc-5.70.04.deb

Har sun-java 6 installerat, bin,jre och plugin.
Senast redigerad av 1 Okänd, redigerad totalt 20 gånger.
Okänd
Inlägg: 30172
Blev medlem: 03 mar 2008, 01:30
OS: Ubuntu

SV: Norman Antivirus- Hur göra för att lyckas installera det?

Inlägg av Okänd »

Hund skrev: Annars kan man ju alltid dubbelklicka på .deb-filen bara. :)
Nix, var det första jag testade och fick detta till svar:
(Läser databasen ... 139629 filer och kataloger installerade.)
Packar upp nvc (från nvc-5.70.04.deb) ...
/var/lib/dpkg/tmp.ci/preinst: 3: Syntax error: redirection unexpected
dpkg: fel vid hantering av nvc-5.70.04.deb (--install):
underprocess pre-installation script gav felkod 2
Lars
Inlägg: 6191
Blev medlem: 14 jan 2007, 19:31
OS: Ubuntu
Utgåva: 22.10 Kinetic Kudu
Ort: Stockholm

SV: Norman Antivirus- Hur göra för att lyckas installera det?

Inlägg av Lars »

Om .deb-filen inte fungerar så kan det bero på att den är anpassad för Debian och inte Ubuntu. Ladda ner .tgz-filen istället och gör så här:

Kod: Markera allt

cd /
sudo tar xf ~/nvc-5.70.04.tgz
sudo /opt/norman/nvc/bin/install.sh
Okänd
Inlägg: 30172
Blev medlem: 03 mar 2008, 01:30
OS: Ubuntu

SV: Norman Antivirus- Hur göra för att lyckas installera det?

Inlägg av Okänd »

Lars skrev: Om .deb-filen inte fungerar så kan det bero på att den är anpassad för Debian och inte Ubuntu. Ladda ner .tgz-filen istället och gör så här:

Kod: Markera allt

cd /
sudo tar xf ~/nvc-5.70.04.tgz
sudo /opt/norman/nvc/bin/install.sh
Efter uppackning och när jag kör install.sh så kommer detta upp och uppmanas att slå "enter"......med påföljande felmeddelande:
NORMAN Tgz post installations script

This program will complete the .tgz installation of NVC.
On rpm or deb based distributions this script is redundant.
Press enter to continue


/opt/norman/nvc/bin/install.sh: 35: Syntax error: redirection unexpected
Detta är koden som står i install.sh filen:
#! /bin/sh
# .tgz install program
# (c) Norman ASA

NORMAN_DIR="/opt/norman/nvc"
USR_BIN="/usr/bin"
USR_SBIN="/usr/sbin"
USR_LIB="/usr/lib"

if [ $# -gt 0 ]; then
  NORMAN_DIR=$1
fi

clear

printf "\n\33[0;37;42m NORMAN\33[0m[01m Tgz post installations script[0m\n\n"
printf "This program will complete the .tgz installation of NVC.\n"
printf "On rpm or deb based distributions this script is redundant.\n"
printf "Press enter to continue\n\n"

read foo

if [ ! -d $NORMAN_DIR ]; then
  echo "$NORMAN_DIR does not exist"
  exit 1
fi

for i in `ls $NORMAN_DIR/bin | egrep -iv '\.plg$|\.sh$|\.so$|nvcoa'`;
do
  if [ -f $USR_BIN/$i ]; then
      printf "$i already exists in $USR_BIN\n"
      continue;
  else
      printf "creating symlink to $i in $USR_BIN\n"
      /bin/ln -s $NORMAN_DIR/bin/$i $USR_BIN/$i 2>&1>/dev/null
  fi
done

if [ -f $USR_SBIN/nvcoa ]; then
  printf "$USR_SBIN/nvcoa already exists in $USR_SBIN\n"
else
  printf "creating symlink to nvcoa in $USR_SBIN\n"
  /bin/ln -s $NORMAN_DIR/bin/nvcoa $USR_SBIN/nvcoa 2>&1>/dev/null
fi

# shared libraries
for i in `find $NORMAN_DIR -name \*.so | awk -F\/ '{i=NF-1; print $i"/"$NF}'`
do
  bname=`echo $i | awk -F\/ '{ print $NF }'`
  if [ -f $USR_LIB/$bname ]; then
      printf "$bname already exists in $USR_LIB\n"
      continue;
  else
      printf "creating symlink to $bname in $USR_LIB\n"
      /bin/ln -s $NORMAN_DIR/$i $USR_LIB/$bname
  fi
done

printf "installation complete\n"
exit 0
Senast redigerad av 1 Okänd, redigerad totalt 21 gånger.
Lars
Inlägg: 6191
Blev medlem: 14 jan 2007, 19:31
OS: Ubuntu
Utgåva: 22.10 Kinetic Kudu
Ort: Stockholm

SV: Norman Antivirus- Hur göra för att lyckas installera det?

Inlägg av Lars »

Aha, de antar att förmodligen att /bin/sh är samma sak som /bin/bash, det stämmer på många Linux-system men inte på Ubuntu. Gå in och ändra översta raden till /bin/bash istället för /bin/sh.
Okänd
Inlägg: 30172
Blev medlem: 03 mar 2008, 01:30
OS: Ubuntu

SV: Norman Antivirus- Hur göra för att lyckas installera det?

Inlägg av Okänd »

Lars skrev: Aha, de antar att förmodligen att /bin/sh är samma sak som /bin/bash, det stämmer på många Linux-system men inte på Ubuntu. Gå in och ändra översta raden till /bin/bash istället för /bin/sh.
Kanon!! Bash gjorde susen!! Hatten av och tusen tack!!
Användarvisningsbild
toxic76
Inlägg: 976
Blev medlem: 30 dec 2006, 00:18
OS: Ubuntu
Ort: Stockholm
Kontakt:

SV: Norman Antivirus- Hur göra för att lyckas installera det? LÖST!!

Inlägg av toxic76 »

Hmm den scannar väl ändå efter windows virus så varför linux version ?
Bild
Bild
Bild
Bild
Användarvisningsbild
vulfgar
ung forumnörd
Inlägg: 12893
Blev medlem: 01 okt 2006, 22:31
OS: Ubuntu
Utgåva: 22.04 Jammy Jellyfish LTS
Ort: Bohuslän

SV: Norman Antivirus- Hur göra för att lyckas installera det? LÖST!!

Inlägg av vulfgar »

toxic76 skrev: Hmm den scannar väl ändå efter windows virus så varför linux version ?
Om man har dual-boot och/eller nätverk med windows-datorer så kan det säkert vara befogat.
På internet vet ingen att du är en hund. ..... ~~~ ..... I'm a bitch! 8)
Skriv svar

Återgå till "Program - inaktuell"