I. POSTGRESQL.
Start the service for the gvm module (Greenbone Vulnerability Management)
To do this, open a terminal window:
Code:
sudo /etc/init.d/postgresql start

II. INSTALLATION OF GVM.
In a terminal window:
Code:
sudo apt install --install-recommends gvm -y

Once the installation is complete, let's go to the setup check:
Code:
sudo gvm-check-setup

Once the setup is complete you will have this type of output:

To avoid a "FIX" error message on next boot:

To do this, simply start the redis-server service:
Code:
sudo systemctl start redis-server@openvas.service

Enable this same service on every boot:
Code:
sudo systemctl enable redis-server@openvas.service


Perform a final check of the setup which will tell us that the installation is ok:

Then let's add a "kali" user and his password: (by default but both need to be changed)
Code:
sudo runuser -u _gvm -- gvmd --create-user=kali --password=kali

Once the installation is complete, let's go to the management console.
To do this, open a web window and enter the following address:
Code:
https://127.0.0.1:9392/login

Press ?Advanced? to accept the self-signed certificate despite the alert:

Fill in the identifiers created previously:

And here you are in the dashboard:

If any time after a restart of your Kali Linux OpenVAS does not start, redo
a setup check:
Code:
sudo gvm-check-setup