快速业务通道

游侠原创:在CentOS上安装Nessus

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-03-23

  此前游侠曾经写过在Windows下面安装Nessus的文章,然后就有朋友问我,在Linux下面怎么安装?今天游侠以CentOS 6为例,讲解如何安装Nessus 4.4.1 .

  相关阅读:[免费网络和主机漏洞评估程序Nessus 4.2.0安装试用]、[Nessus浏览器打不开的解决方法]、[利用Nessus进行WEB应用安全扫描]

  操作系统游侠推荐用wdlinux——一个精简的CentOS,删除了一些无用的程序,速度飞快.下载地址为:http://www.wdlinux.cn/download_center 选择 基于 CentOS 6.0的精简版,游侠这里用的是64位版本.

  CentOS的安装游侠就不说了,基本上下一步就OK,特别是wdlinux更加简单,只需要回车……装完重启,root登录系统后运行 setup,选择网络配置,设定IP地址、子网掩码、网关等就OK.

  确保CentOS可以上网,你可以运行 ping www.youxia.org,看网络是否通畅.如果通畅则运行:

wget -O nessus.rpm "http://downloads.nessus.org/nessus3dl.php?file=Nessus-4.4.1-es6.x86_64.rpm&licence_accept=yes&t=48cb3b8bf81326e63ce1ec461597442e"

  既:从nessus官网下载程序,并保存为nessus.rpm,根据你的网络速度会持续几分钟.看到“nessus.rpm saved”的时候就说明程序已经下载完毕.现在开始安装nessus,运行:

[root@wdCentOS6 ~]# rpm -ivh nessus.rpm
Preparing... ########################################### [100%]
1:Nessus ########################################### [100%]
nessusd (Nessus) 4.4.1 [build M15078] for Linux
(C) 1998 - 2011 Tenable Network Security, Inc.

Processing the Nessus plugins...
[##################################################]

All plugins loaded
- Please run /opt/nessus//sbin/nessus-adduser to add a user
- Register your Nessus scanner at http://www.nessus.org/register/ to obtain 拥有帝国一切,皆有可能。欢迎访问phome.net
all the newest plugins
- You can start nessusd by typing /sbin/service nessusd start

[root@wdCentOS6 ~]#

  现在我们添加一个帐号:

[root@wdCentOS6 ~]# /opt/nessus//sbin/nessus-adduser
Login : youxia
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 youxia has the right to test. For instance, you may want
him to be able to scan his own host only.

Please see the nessus-adduser 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)

Login : youxia
Password : ***********
This user will have ''admin'' privileges within the Nessus server
Rules :
Is that ok ? (y/n) [y] y
User added
[root@wdCentOS6 ~]#

  现在我们添加了一个名为“youxia”的管理员帐号,然后打开 http://www.nessus.org/products/nessus/nessus-plugins/obtain-an-activation-code 获取一个激活码.选择“Using Nessus at Home”,然后输入你的first name、last name、E-Mail之后,去你的邮箱看看,你会收到一封名为《Nessus Plugin Feed》的邮件.下面会有这样一行:

Your activation code for the Nessus HomeFeed is XXXX-XXXX-XXXX-XXXX-XXXX

  这个就是你的激

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号