You could use the Greenbone Community Edition (GCE) which is a ready to use and up to date virtual machine.