Installation Instructions: Download The Latest Version of Nessus From
Installation Instructions: Download The Latest Version of Nessus From
Download the latest version of Nessus from
http://www.nessus.org/download/
Install Command
===================
After downloading the appropriate rpm please install the rpm as
follows:
# rpm ivh Nessus4.2.2es4.i386.rpm
Sample Output
# rpm ivh Nessus4.2.2es4.i386.rpm
Preparing...
########################################### [100%]
1:Nessus
########################################### [100%]
nessusd (Nessus) 4.2.2. for Linux
(C) 1998 2009 Tenable Network Security, Inc.
Please run /opt/nessus//sbin/nessusadduser to add a
user
Register your Nessus scanner at
http://www.nessus.org/register/ to obtain
all the newest plugins
You can start nessusd by typing /sbin/service nessusd
start
#
Configuration
Nessus Major Directories
=========================
The following table lists the installation location and primary
directories used by Nessus:
Create a Nessus User
=========================
After installation the very first thing is to create one Nessus user
so client utilities can log into Nessus to initiate scans
and retrieve results.
Command
===================
# /opt/nessus/sbin/nessusadduser
Sample Output
=============================================
# /opt/nessus/sbin/nessusadduser
Login : sumi_nessus
Login password :
Login password (again) :
Do you want this user to be a Nessus 'admin' user ? (can upload
plugins,
etc...) (y/n) [n]: y
User rules
nessusd has a rules system which allows you to restrict the hosts
that sumi_nessus has the right to test. For instance, you may want
him to be able to scan his own host only.
Please see the nessusadduser manual for the rules syntax
Enter the rules for this user, and enter a BLANK LINE once you are
done :
(the user can have an empty rules set)
Copyright 20042010, Tenable Network Security, Inc.
21
Login
: sumi_nessus
Password
: ***********
This user will have 'admin' privileges within the Nessus server
Rules
Is that ok ? (y/n) [y] y
User added
#
=============================================
Installing the Plugin Activation Code
To install the Activation Code, type the following command on the
system running Nessus,
where <license code> is the registration code that you received:
Linux:
Install Command
===================
# /opt/nessus/bin/nessusfetch register <Activation Code>
The example below shows the steps involved in registering the plugin
Activation Code,
retrieving the latest plugins from the Nessus website and verifying a
successful download.
Sample Output
=============================================
# /opt/nessus/bin/nessusfetch register XXXXXXXXXXXXXXXXXXXX
Your activation code has been registered properly – thank you.
Now fetching the newest plugin set from plugins.nessus.org...
Your Nessus installation is now uptodate.
If auto_update is set to 'yes' in nessusd.conf, Nessus will
update the plugins by itself.
# cat /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc
PLUGIN_SET = "200912160934";
PLUGIN_FEED = "ProfessionalFeed (Direct)";
=============================================
The file plugin_feed_info.inc, located in the directory
/opt/nessus/lib/nessus/plugins/, will verify which plugin set and
type of feed you have.
Reviewing this file helps you ensure that you have the latest plugins
available.
After the plugin activation Start the Nessus service as root with the
following command:
Linux and Solaris:
# /opt/nessus/sbin/nessusservice D
nessusd (Nessus) 4.2.0 for Linux
(C) 1998 2008 Tenable Network Security, Inc.
Processing the Nessus plugins...
[##################################################]
All