原文:https://github.com/yu210148/gvm_install
安装
wget https://raw.githubusercontent.com/yu210148/gvm_install/master/install_gvm.sh
chmod +x install_gvm.sh
sudo ./install_gvm.sh -v 21 -u
更新
Run the below to force an update of the data within Greenbone Security Assistant
a) On Ubuntu 20.04, sudo -i
b) su gvm
c) /opt/gvm/sbin/greenbone-feed-sync --type SCAP
d) /opt/gvm/bin/greenbone-nvt-sync
e) /opt/gvm/sbin/greenbone-feed-sync --type CERT
f) /opt/gvm/sbin/greenbone-feed-sync --type GVMD_DATA
g) /usr/bin/sudo /opt/gvm/sbin/openvas --update-vt-info
登录
https://localhost
Username is gvmadmin and pasword is StrongPass
openvasmd --user=admin --new-password=password
sudo -Hiu gvm gvmd --user=gvmadmin --new-password=<PASSWORD>