Install Nessus Scanner on Rocky Linux 8

This tutorial intends to teach you to Install Nessus Scanner on Rocky Linux 8.

Nessus Vulnerability Scanner by Tenable is a growing challenger in the cybersecurity market.

Nessus checks both hardware and software for known vulnerabilities. It watches running processes for unusual behavior and it also monitors network traffic patterns. Nessus is a sort of firewall/antivirus system, but not quite.

Steps To Install Nessus Scanner on Rocky Linux 8

To complete this guide, you must log in to your server as a non-root user with sudo privileges and set up a basic firewall. To do this, you can follow our guide on Initial Server Setup with Rocky Linux 8.

Download Nessus for Rocky Linux 8

First, you need to update your local package index with the following command:

sudo dnf update -y

Then, you need to visit the Nessus Downloads page and download the latest installer with the following curl command:

sudo curl --request GET \
  --url 'https://www.tenable.com/downloads/api/v2/pages/nessus/files/Nessus-10.5.2-es8.x86_64.rpm' \
  --output 'Nessus-10.5.2-es8.x86_64.rpm'

Install Nessus on Rocky Linux 8

When your download is completed, run the following command to install the Nessus scanner on your server:

sudo rpm -ivh Nessus-10.5.2-es8.x86_64.rpm

Manage Nessus Scanner Service

At this point, you need to start and enable your Nessus service by using the following commands:

# sudo systemctl start nessusd
# sudo systemctl enable nessusd

Verify your Nessus scanner is active and running on Rocky Linux 8:

sudo systemctl status nessusd
Output
● nessusd.service - The Nessus Vulnerability Scanner
   Loaded: loaded (/usr/lib/systemd/system/nessusd.service; enabled; vendor pre>
   Active: active (running) since Mon 2023-05-15 09:40:49 EDT; 11s ago
 Main PID: 90466 (nessus-service)
    Tasks: 13 (limit: 23699)
   Memory: 87.5M
   CGroup: /system.slice/nessusd.service
           ├─90466 /opt/nessus/sbin/nessus-service -q
           └─90467 nessusd -q
...

Configure Firewall For Nessus

Here we assumed that you have enabled firewalld. Now you need to allow Nessus port through the firewall. To do this, run the command below:

sudo firewall-cmd --zone=public --permanent --add-port 8834/tcp

Reload the firewall to apply the new rules:

sudo firewall-cmd --reload

Access Nessus Scanner Dashboard

At this point, you can access your Nessus web interface by typing your server’s IP address in your web browser followed by 8834:

https://server-ip:8834

You will see the Nessus Scanner welcome page. At this point, you need to choose how you want to deploy Nessus. Select a product to get started.

Here we choose Nessus Essentials – The free version for educators, students, and hobbyists.

Nessus Essentials
Nessus Essentials

Then, you need to enter your information to register and get an activation code from Nessus on Rocky Linux 8.

get an activation code from Nessus
Nessus Active Code

After that, you need to enter the Nessus activation code that you have received and click continue.

Register Nessus Rocky Linux 8
Nessus Registration

Next, you need to create a Nessus admin user on Rocky Linux 8 and click submit.

Nessus User Account
Create Nessus User Account

At this point, you need to wait while Nessus prepares the files to scan your assets. When it is completed, you will see your Nessus Dashboard.

Nessus dashboard
Nessus dashboard

Create First Scan with Nessus on Rocky Linux 8

At this point, we want to show you how to scan your Rocky Linux system for vulnerabilities via the Nessus web dashboard.

From your Nessus dashboard, click on My Scans and click Create a new scan.

Next, select the scan templates for your new scan. Here we use the template ‘Basic Network Scan‘.

At this point, you need to enter a name for your scan, the description, the folder for storing the scan, and the target server. Then, click Save to save the new scan.

From your ‘My Scan’ page, you will see the new scan that you just created. Click the start button to start the scan. 

That’s it you are done.

Conclusion

At this point, you have learned to Install Nessus scanner on Rocky Linux 8.

Hope you enjoy it. You may be like these articles on the Orcacore website:

How To Install OpenSSL 3 on Rocky Linux 8

Install and Configure OpenNMS on Rocky Linux 8

Install and Configure Nagios on Rocky Linux 8

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Stay informed and not overwhelmed, subscribe now!