blob: e46934f699a794c0590366c5571ff330c93c685a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
[
{ type: install
message: <<EOM
OpenVAS 9 ports were installed
1) Redis is a dependency of OpenVAS. Please, configure redis-server for
listening on socket /tmp/redis.sock. openvassd needs it
2) If you installed security/openvas8-manager port (openvasmd) with PostgrSQL
support, please look at:
%%LOCALBASE%%/share/docs/openvas-scanner/postgres-HOWTO
It will guide you for configure PostgreSQL as OpenVAS database backend
instead of SQLite3
3) The following steps are neccessary before of you can access to OpenVAS web
interface (gsad):
# openvassd
# greenbone-nvt-sync
# greenbone-scapdata-sync
# greenbone-certdata-sync
# openvasmd --rebuild --progress
# openvasmd --create-user=admin --role=Admin
# openvasmd --user=admin --new-password=yourpassword
4) Add the following lines to /etc/rc.conf
openvassd_enable="YES"
openvasmd_enable="YES"
gsad_enable="YES"
5) Start OpenVAS Scanner. It will listen on /var/run/openvassd.sock by default
# service openvassd restart
6) 5) Start OpenVAS Manager. It will listen on /var/run/openvasmd.sock by default
# service openvasmd restart
# openvasmd --rebuild --progress
7) Start OpenVAS web interface. It will listen on http://127.0.0.1:8080 by
default
# service gsad start
8) gsad can export results to PDF. It needs print/texlive-texmf port
# pkg install texlive-texmf
It will install 1G of data
9) Enjoy it
EOM
}
]
|