Created by: Macamba
Date: 5 march 2006
For this installation procedure to work
- Back|Track needs to be installed on harddisk;
- you should login as root.
Step 1:
Download the following packeges from Nessus.org to /tmp on your harddisk:
- Nessus-3.0.1-fc4.i386.rpm (server)
- NessusClient-1.0.0.RC4.tar (client)
Step 2: remove Nessus 2.2.6
- cd /usr/local/sbin
- ./uninstall-nessus (remove everything)
Step 3: Install Nessus 3.0.1
Convert the server packege to .tgz with the following command:
- cd /tmp
- rpm2tgz Nessus-3.0.1-fc4.i386.rpm (now you have Nessus-3.0.1-fc4.i386.tgz in /tmp)
- pkginstall Nessus-3.0.1-fc4.i386.tgz (or use pkgtool command to select the package)
Step 4: Install Nessus 1.0 0 RC4
- cd /tmp
- tar -zxf /tmp/NessusClient-1.0.0.RC4.tar.gz
- cd NessusClient-1.0.0.RC4/
- ./configure
- make
- make install (the following message appears " NessusClient has been sucessfully installed")
Step 5: Configure Nessus
- check with the $PATH command if "/opt/nessus/bin" and "/opt/nessus/sbin" are configured
- if not, add "/opt/nessus/bin" and "/opt/nessus/sbin" in "/etc/profile"
--------------------------------------------------------------------------------------
# Set the default system $PATH:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/opt/nessus/bin:/opt/nessus/sbin:/pentest/forensics/sleuthkit/bin"
--------------------------------------------------------------------------------------
- copy all libraries from "/opt/nessus/lib/" to "/lib"
- cd /lib
- ln libdb-4.2.so libdb-4.3.so
- edit "/etc/ld.so.conf" and add the following path: "/opt/nessus/lib/
- cd /etc/rc.d
- ldconfig
- cd /opt/nessus/sbin
- nessus-mkcert
CA certificate life time in days [1460]: 1460
Server certificate life time in days [365]: 365
- nessus-adduser
Login : root
Authentication (pass/cert) [pass] : pass
Login password : toor
Login password (again) : toor
- the following message appears: "Enter the rules for this user, and hit ctrl-D once you are done : (the user can have an empty rules set)"
- ctrl-D
- Is that ok ? (y/n) [y] y
Step 6: Run Nessus
- nessusd
- NessusClient


