Hostxpeed
Login Get Started →
Security

How to Set Up Vulnerability Scanning

6 min read
28 views
Jun 10, 2026

Option 1: Install Greenbone Community Edition

sudo apt update && sudo apt install greenbone-community-edition -y

Option 2: Use OpenVAS (Manual)

sudo apt install openvas -y
sudo gvm-setup
sudo gvm-start

Option 3: Use Lynis for Compliance

sudo apt install lynis -y
sudo lynis audit system > lynis-report.txt

Schedule Weekly Scans with Cron

0 2 * * 0 /usr/bin/lynis audit system --quiet --report-file /var/log/lynis-weekly.log

Was this article helpful?