> CentOS > CentOS教程 >

Centos6.5安装OpenVAS Scanner 4.0.6

由于yum问题,centos6.0以下版本我装不上openvas,有人说6.0和6.5能装。

 

1.配置网络

[root@localhost ~]#vi /etc/sysconfig/network-scripts/ifcfg-eth0 

ONBOOT=yes

 

[root@localhost ~]#/etc/init.d/network restart

 

2.禁用selinux,重启生效

[root@localhost ~]#vi /etc/selinux/config

SELINUX=disabled

 

[root@localhost ~]#reboot

 

因为是虚拟机,所以把防火墙关掉了

[root@localhost ~]#/etc/init.d/iptables stop

 

3.安装wget

[root@localhost ~]#yum -y install wget

 

4.配置yum源

[root@localhost ~]#wget -q -O - http://www.atomicorp.com/installers/atomic |sh

 

5.安装openvas

[root@localhost ~]#yum -y install openvas

 

6.更新openvas数据库,设置用户名密码,我用了80分钟左右 = =!

[root@localhost ~]#openvas-setup

 

7.同步,已经更新到最新,可以不执行

[root@localhost ~]#openvas-nvt-sync

 

8.下载检查脚本,赋予权限并执行

[root@localhost ~]#wget https://svn.wald.intevation.org/svn/openvas/trunk/tools/openvas-check-setup --no-check-certificate

 

[root@localhost ~]#chmod 755 openvas-check-setup

 

[root@localhost ~]#./openvas-check-setup --server

 

9.启动apache

[root@localhost ~]#/etc/init.d/httpd start

 

10.检查模块进程是否正常

[root@localhost src]# service gsad status 

gsad (pid  32552) is running...

[root@localhost src]#  service openvas-manager status

openvas-manager (pid  32534) is running...

[root@localhost src]# /etc/init.d/openvas-scanner status

openvassd (pid  32404) is running...

 

11.web登录

https://127.0.0.1:9392

 

(责任编辑:IT)