Skip to content

Instantly share code, notes, and snippets.

@pedrosa-t
Last active December 2, 2022 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pedrosa-t/9ba2097c4f8f6225682702a210199e10 to your computer and use it in GitHub Desktop.
Save pedrosa-t/9ba2097c4f8f6225682702a210199e10 to your computer and use it in GitHub Desktop.

IPB-Logo Tiago Pedrosa @IPB.PT

Installation of kali 2020.1 on VMware

Specs for the VM

RAM 4GB+ CPU 2+ HD 100GB

Instalation steps

Resumed installation choices:

  • English language
  • Portugal Regional Configuration
  • Portugues keymap
  • Create normal user account
  • Guided partion -> full disk -> everything in one partition
  • Large collection of tools
  • Install Grub -> Yes
    • Device: /dev/sda
  • Continue
  • Reboot
  • Login and shutdown

Update and installation fo the Vmware tools

  • Make a snapshot before starting the VM
  • Boot and make update
  • Install or reinstall tools
  • Poweroff
  • Make snapshot

Install openvas

sudo apt update 
sudo apt full-upgraded # if needed
sudo apt install openvas
sudo openvas-setup #(old approach)
sudo gvm-setup 

if error like:

[>] Starting PostgreSQL service
[-] ERROR: The default PostgreSQL version (14) is not 15 that is required by libgvmd
[-] ERROR: Use pg_upgradecluster to update your PostgreSQL cluster

Execute the following commands:

sudo pg_dropcluster --stop 15 main

sudo pg_upgradecluster 14 main

sudo pg_dropcluster --stop 14 main 

Then re-run the command gvm-setup again.

Test openvas, scanning the localhost

Support

Videos available here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment