Install OpenVAS 6 from packages

From OpenVAS
Jump to: navigation, search

Debian Wheezy

Step 1: Configure OBS Repository

(as user root, only once)

echo "deb http://download.opensuse.org/repositories/security:/OpenVAS:/UNSTABLE:/v6/Debian_7.0/ ./" >> /etc/apt/sources.list wget http://download.opensuse.org/repositories/security:/OpenVAS:/UNSTABLE:/v6/Debian_7.0/Release.key apt-key add ./Release.key sudo apt-get update

Step 2: Quick-Install OpenVAS (as user root, only once)

apt-get -y install greenbone-security-assistant openvas-cli openvas-manager openvas-scanner openvas-administrator sqlite3 xsltproc rsync

To install support packages for report generation (downloads around 30 MB of additional packages):

apt-get -y install texlive-latex-base texlive-latex-extra texlive-latex-recommended htmldoc

To install support for autogenerated LSC credential packages:

apt-get -y install alien rpm nsis fakeroot

Step 3: Quick-Start OpenVAS (copy and paste whole block as user root, during first time you will be asked to set a password for user "admin")

test -e /var/lib/openvas/CA/cacert.pem || openvas-mkcert -q openvas-nvt-sync test -e /var/lib/openvas/users/om || openvas-mkcert-client -n om -i /etc/init.d/openvas-manager stop /etc/init.d/openvas-scanner stop openvassd openvasmd --rebuild openvas-scapdata-sync openvas-certdata-sync test -e /var/lib/openvas/users/admin || openvasad -c add_user -n admin -r Admin killall openvassd sleep 15 /etc/init.d/openvas-scanner start /etc/init.d/openvas-manager start /etc/init.d/openvas-administrator restart /etc/init.d/greenbone-security-assistant restart