1、配置安装源

# 启用EPEL、CRB源
dnf config-manager --set-enabled crb
dnf install epel-release -y

# 启用Atomic源
wget -q -O - https://updates.atomicorp.com/installers/atomic | sudo sh

2、安装OpenVAS

# dnf install -y gvm
# gvm-setup
...
Set the GSAD admin users password.
The admin user is used to configure accounts,
Update NVT's manually, and manage roles.

Enter Administrator Password:     # 配置管理员密码
Verify Administrator Password: 

Created symlink /etc/systemd/system/multi-user.target.wants/ospd-openvas.service → /usr/lib/systemd/system/ospd-openvas.service.
Created symlink /etc/systemd/system/multi-user.target.wants/notus-scanner.service → /usr/lib/systemd/system/notus-scanner.service.
Created symlink /etc/systemd/system/openvas-manager.service → /usr/lib/systemd/system/gvmd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/gvmd.service → /usr/lib/systemd/system/gvmd.service.
Created symlink /etc/systemd/system/greenbone-security-assistant.service → /usr/lib/systemd/system/gsad.service.
Created symlink /etc/systemd/system/multi-user.target.wants/gsad.service → /usr/lib/systemd/system/gsad.service.
Created symlink /etc/systemd/system/multi-user.target.wants/mosquitto.service → /usr/lib/systemd/system/mosquitto.service.


#####################################
Setup complete
  Log in to GSAD at https://localhost
#####################################

3、访问

访问地址:https://部署主机IP/
默认账号:admin

参考:

https://centlinux.com/install-openvas-on-linux/

  

posted on 2024-01-30 15:56  a120608yby  阅读(76)  评论(0编辑  收藏  举报