Skip to content

Instantly share code, notes, and snippets.

@linuxbiekaisar
Last active March 3, 2020 13:21
Show Gist options
  • Select an option

  • Save linuxbiekaisar/7bc3ef226ca254e068da87fa41b72b2f to your computer and use it in GitHub Desktop.

Select an option

Save linuxbiekaisar/7bc3ef226ca254e068da87fa41b72b2f to your computer and use it in GitHub Desktop.
Install OpenVAS on Ubuntu 18.04 LTS
#!/bin/bash
Youtube: https://www.youtube.com/watch?v=N6tVmSW4lVg
# add the ppa repo, update your system
sudo add-apt-repository ppa:mrazavi/openvas
sudo apt-get update
# install the required packages
sudo apt install sqlite3
sudo apt install openvas9
sudo apt install texlive-latex-extra --no-install-recommends
sudo apt install texlive-fonts-recommended
sudo apt install libopenvas9-dev
# Update the network vulnerability tests database.
sudo greenbone-nvt-sync
sudo greenbone-scapdata-sync
sudo greenbone-certdata-sync
# Restart the OpenVAS scanner, manager and security assistant.
sudo systemctl restart openvas-scanner
sudo systemctl restart openvas-manager
sudo systemctl restart openvas-gsa
# Enable the services
sudo systemctl enable openvas-scanner
sudo systemctl enable openvas-manager
sudo systemctl enable openvas-gsa
# Confirm that the openvas processes are running.
ps aux | grep openvas
# Go to IP_address_of_server:4000. And use login credential.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment