Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
    • Security
Google Cloud Platform icon
Labs

Installing and Configuring OpenVAS

In this lab, we'll be installing OpenVAS, an open source vulnerability scanner. Then we'll configure it to scan `localhost` and export the scan task to our Downloads directory.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Beginner
Last updated
Sep 19, 2025
Duration
1h 0m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Install OpenVAS.

    Run the following commands:

    • `sudo add-apt-repository ppa:mrazavi/openvas (press ENTER when prompted)''
    • sudo apt-get update
    • sudo apt-get install -y sqlite3
    • sudo apt-get install -y openvas9 (select YES when prompted)
    • sudo service openvas-manager restart

    If you are installing for a production system, you will need to run the below commands. However, it will take about an additional hour for Greenbone to download all of the data. We are not going to do this as part of the lab since it's not necessary to complete the tasks.

    • sudo greenbone-nvt-sync
    • greenbone-scapdata-sync
    • greenbone-certdata-sync
    • sudo openvasmd --rebuild --progress
    • sudo service openvas-manager restart
  2. Challenge

    Create an OpenVAS scan of `localhost` and export the task to your Downloads directory.
    1. Open a web browser on your Ubuntu lab host and go to https://10.0.0.116:4000. When prompted about an unsecure connection select Advanced, then Add Exception, then Confirm Security Exception

    2. Login with the username admin and password of admin

    3. Within OpenVAS, click on Scans, then Tasks. (You can close out the pop-up welcome message)

    4. Click on the star icon and select New Task.

    5. Fill out the following scan information:
      Name: LabScan Scan Targets: (click on the star icon next to "Target)", replace "unnamed" with "localhost", then click "Create".
      Schedule: Check the box next to "Once" Alterable Task: Mark "Yes"

    6. Click the Create button.

    7. That completes the tasks in this lab.

About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight