cd
test -f installed/nessus/libnasl-2.0.12.tar.gz &&
mv installed/nessus/libnasl-2.0.12.tar.gz .
test ! -f libnasl-2.0.12.tar.gz &&
wget http://ftp.nessus.org/nessus/nessus-2.0.12/src/libnasl-2.0.12.tar.gz
cd /usr/local/src/nessus
tar xzvf ~/libnasl-2.0.12.tar.gz
find -type d -maxdepth 1 -name "libnasl-*" -exec rm -r {} \;
mv libnasl libnasl-2.0.12
cd libnasl-2.0.12
chown -R root.root .
./configure
make
make install
ldconfig
cd
rm -f installed/nessus/libnasl-*.tar.*
mv libnasl-2.0.12.tar.gz installed/nessus/
# nessus-core
# ===========
# Prerequisites (beyond those listed above):
# libnasl
# X
# glib
# gtk 1.2.x or 2.2.x
cd
test -f installed/nessus/nessus-core-2.0.12.tar.gz &&
mv installed/nessus/nessus-core-2.0.12.tar.gz .
test ! -f nessus-core-2.0.12.tar.gz &&
wget http://ftp.nessus.org/nessus/nessus-2.0.12/src/nessus-core-2.0.12.tar.gz
cd /usr/local/src/nessus
tar xzvf ~/nessus-plugins-2.0.12.tar.gz
find -type d -maxdepth 1 -name "nessus-plugins-*" -exec rm -r {} \;
mv nessus-plugins nessus-plugins-2.0.12
cd nessus-plugins-2.0.12
chown -R root.root .
./configure
make
make install
cd
rm -f installed/nessus/nessus-plugins-*.tar.*
mv nessus-plugins-2.0.12.tar.gz installed/nessus/
# Create a certificate for nessusd:
/usr/local/sbin/nessus-mkcert
# Add a user:
/usr/local/sbin/nessus-adduser
# Start nessusd:
/usr/local/sbin/nessusd
# Start nessus, connect to nessusd as the user that you created:
/usr/local/bin/nessus
# Configuration files are in /usr/local/etc/nessus, logs and other misc files
# are in /usr/local/var/nessus, the SSL certs are in /usr/local/com/nessus