版本:CentOS7 1810
Step1:安装依赖
[root@RHEL ~]# yum install -y wget bzip2 texlive net-tools alien gnutls-utils
Step2:添加仓库
[root@RHEL ~]# wget -q -O - https://www.atomicorp.com/installers/atomic | sh
Step3:安装openvas
[root@RHEL ~]# yum install openvas -y
Step4:修改配置文件
[root@RHEL ~]# vi /etc/redis.conf
unixsocket /tmp/redis.sock #取消改行注释
unixsocketperm 700 #取消改行注释
Step5:重启redis服务
[root@RHEL ~]# systemctl enable redis && systemctl restart redis
Step6:初始化openvas
[root@RHEL ~]# openvas-setup
Step7:登录openvas web
在本地浏览器使用https://127.0.0.1:9392
Step8:修改admin密码
root@kali:~# openvas-stop
root@kali:~# openvasmd --user=admin --new-password=xxxxx
Step9:修改any host可以登录openvas
root@kali:~# vi /etc/default/openvas-manager
#MANAGER_ADDRESS=127.0.0.1 #注释行
MANAGER_ADDRESS=0.0.0.0 #增加行
root@kali:~# vi /etc/default/openvas-scanner
SCANNER_ADDRESS=0.0.0.0 #增加行
root@kali:~# openvas-start