GVM Setup
Below are the commands used in the video to install GVM:
apt update
apt upgrade
apt dist-upgrade
apt autoremove
Reboot Kali
apt install openvas
sudo gvm-setup
sudo -u postgres psql
\l
ALTER DATABASE gvmd REFRESH COLLATION VERSION;
ALTER DATABASE postgres REFRESH COLLATION VERSION;
ALTER DATABASE table1 REFRESH COLLATION VERSION;
EXIT
sudo systemctl daemon-reload
sudo systemctl restart gvmd.service gsad.service
sudo gvm-check-setup
sudo runuser -u _gvm -- gvmd --create-user=admin --password=abc123
sudo -E -u _gvm -g _gvm gvmd --user=admin --new-password=ics281
sudo netstat -alnp | grep LISTEN
sudo greenbone-feed-sync
Open web browser
login
Show feed status under Administration
Wait 30-45 minutes
Do a scan