File: README.Debian

package info (click to toggle)
gvm 25.04.3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 108 kB
  • sloc: sh: 626; makefile: 2
file content (58 lines) | stat: -rw-r--r-- 1,819 bytes parent folder | download
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
58
About GVM installation and setup
--------------------------------

On a fresh install or with a new GVM version you need to run the following
scripts:
    - Run 'sudo gvm-setup'
    On a fresh install, note the password displayed at the end of the setup. You
    will need it to connect you to the Web UI GSA (greenbone-security-assistant)
    Or change the admin password with
    'sudo -u _gvm gvmd --user=admin --new-password=yourpassword'

    - Run 'sudo gvm-check-setup'
    It will check the setup and start the all the required services if
    everything is OK.
    You can now open your browser on https://127.0.0.1:9392 and use GVM.


How to use GVM in Kali / Debian
-------------------------------

To start the GVM services, use:
    'sudo gvm-start'

To stop the GVM services, use:
    'sudo gvm-stop'

To update the feeds, use the command
    'sudo greenbone-feed-sync --type all'

To update only a type of data, use the commande
    'sudo greenbone-feed-sync --type <feed-type>'
Check with 'greenbone-feed-sync -h' the <feed-type>


How to run other GVM commands in Kali / Debian
-------------------------------------------------

Since gvm 11, we use a special user _gvm.

You need to use this user to run the GVM commands, like

'sudo -u _gvm -- gvmd --get-scanners'
'sudo -u _gvm -- gvmd *'
'sudo -u _gvm -- gvm-cli [options]'

NOTE: if you run commands only with sudo (or as root user), created or
updated files may by owned by root instead of _gvm user and your
installation will not work correctly.


Other information
-----------------

Postgresql optimization: with latest versions of postgresql gvm can be
very slow.
It can help to add "jit = off" in the postgresql.conf
https://community.greenbone.net/t/everything-works-but-i-cant-see-any-report/5875/13
https://bugs.kali.org/view.php?id=6763