Install GVM-20.08 from source on Ubuntu Server 20.04 LTS

I wrote a tutorial to install GVM-20.08 from source on an Ubuntu Server 20.04 LTS. It is based on https://sadsloth.net/post/install-gvm-20_08-src-on-debian/ released for Debian 10 systems.

The tutorial is in German languages only:
https://pentestit.de/gvm-20-08-auf-ubuntu-server-20-04-installieren/

I hope that it will help somebody to start with this topic.

2 Likes

Hi,
nice write up.
You could install the python packages directly through pip (https://github.com/carlstegmann/snippets/blob/master/gvm2008/Dockerfile#L92), than you don’t need to git clone them.

Cheers,
Carl

1 Like

Nice to know! Thanks! I’ll try your Docker configuration too. :slight_smile:

Be carefull, it’s only for education / experimentation. It’s not production ready :sunglasses:

Why don’t you use the GVM/ Openvas Packaging Project with CentOS 8?

You can find my post (German language only) here:

https://pentestit.de/gvm-20-08-auf-centos-8-mittels-openvas-packaging-project-installieren/

1 Like

Hi,

well I started long time ago with ubuntu, due too compliance reasons. And also at this time I couldn’t find some stuff online which fitted my needs.

For a long time I’m thinking of getting a version running with centos, as I personally like centos more than ubuntu :sunglasses: . I didn’t found the time yet. Currently I’m playing around with getting the components into smaller containers. But well its not a high priority task for me.

I will definitely look into your howto.

Edit:
Well… your part about selinux is a very bad decission. You should never ever disable it. If stuff is not working with selinux enabled change it to be permissive. The difference is files created after setting it to disabled will not have a selinux label at all. If you reenable selinux and reboot your server it will take much longer until it is started, because selinux will spend much time in labeling the files.
You can view the difference with ls -lZ this will show you the selinux context in the long listing, files created after disabling selinux do not have a context.

Cheers,
Carl

1 Like