OpenVAS 9 install (Ubuntu)

You can find this tutorial here

This is just a reminder-post to myself.

OpenVAS is a framework of several services and tools offering a comprehensive and powerful vulnerability scanning and vulnerability management solution. Homepage

A set of new packages for openvas 9 is now included.If you prefer to install them, you just have to install «openvas9» package instead of «openvas».

Then, update scripts/data with the following commands:
sudo apt install sqlite3
sudo greenbone-nvt-sync
sudo greenbone-scapdata-sync
sudo greenbone-certdata-sync
sudo service openvas-scanner restart
sudo service openvas-manager restart
sudo openvasmd --migrate #only required when upgrading from an older version
sudo openvasmd --rebuild --progress

Please note that the default port number of the web interface for the new packages are changed to 4000.
So, to access the web interface for version 9, go to https://localhost:4000

Use «admin» as username and password.

You can change the web interface port number by modifying /etc/default/openvas-gsa

Then, restart its service by ussing sudo service openvas-gsa restart

To enable pdf reports:
sudo apt install texlive-latex-extra --no-install-recommends
sudo apt install texlive-fonts-recommended --no-install-recommends

To install openvas-nasl utility:`sudo apt install libopenvas9-dev`You can update your system with unsupported packages from this untrusted PPA by adding **ppa:mrazavi/openvas** to your system\’s Software Sources.

`sudo add-apt-repository ppa:mrazavi/openvas`