centos5.2下安装nessus服务器

一、安装所需软件
libnasl-2.2.11.tar.gz (359 KB)
nessus-core-2.2.11.tar.gz (664 KB)
nessus-libraries-2.2.11.tar.gz (418 KB)
nessus-plugins-2.2.11.tar.gz (7468 KB)
nessus-plugins-GPL-2.2.11.tar.gz (1071 KB)
下载地址: http://www.nessus.org/download/
二、安装过程
tar zxvf nessus-libraries-2.2.11.tar.gz
yum -y install openssl-devel
./configure
make
make install

tar zxvf libnasl-2.2.11.tar.gz
./configure
make
make install

tar nessus-core-2.2.11.tar.gz
yum -y install gtk+*
./configure
make
make install
 
tar zxvf nessus-plugins-2.2.11.tar.gz
tar zxvf nessus-plugins-GPL-2.2.11.tar.gz
./configure
vim makefile 
Edit Makefile line 26
将for scripts in scripts/*.nasl scripts/*.nbin; do \改为
for scripts in scripts/*.nasl; do \
make
make install
 
echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig
建立用户名和密码
/usr/local/sbin/nessus-adduser
 
注册
/usr/local/bin/nessus-fetch --register CFE9-DA38-BDCD-A56A-5210

启动snssuse
/usr/local/sbin/nessusd -D
可能出现的报错信息:
   # nessusd -D
  # *** 'ca_file' is not set - did you run nessus-mkcert ?
  解决方法:
/usr/local/sbin/nessus-mkcert -q
  /usr/local/var/nessus/CA created
  /usr/local/com/nessus/CA created

你可能感兴趣的:(centos,职场,休闲)