Install the Nessus on the CentOS

Source: Internet
Author: User
Tags centos port number

Before the ranger had written a Nessus article under Windows, then a friend asked me how to install it under Linux. Today Ranger takes CentOS 6 as an example to explain how to install Nessus 4.4.1.

Related reading: [Free network and Host vulnerability Assessment Program Nessus 4.2.0 installation trial], [Nessus Browser not open solution], [use Nessus for Web application Security scanning]

The operating system Ranger recommends using wdlinux--a streamlined centos, removing some useless programs that are fast. Download Address: 51cto.com/download_center Select a compact version based on CentOS 6.0, where the Ranger uses a 64-bit version.

CentOS installation Ranger will not say, basically next on OK, especially wdlinux more simple, only need to enter ... After loading reboot, root login system run Setup, select Network configuration, set IP address, subnet mask, gateway, etc. OK.

Make sure CentOS can surf the internet and you can run ping www.youxia.org to see if the network is unobstructed. Run if unobstructed:

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

Both: Download the program from the Nessus website and save it as nessus.rpm, depending on your network speed will last a few minutes. When you see the "nessus.rpm saved", the program has been downloaded. Now start installing Nessus and running:

[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

All the newest plugins

-Can start NESSUSD by Typing/sbin/service NESSUSD start

[Root@wdcentos6 ~]#

Now we add an account number:

[Root@wdcentos6 ~]#/opt/nessus//sbin/nessus-adduser

Login:youxia

Login Password:

Login Password (again):

Do I 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's youxia has to test. For instance/may want

Him to is able to scan he own host only.

Please, the Nessus-adduser manual for the Rules syntax

Enter the rules for this user, and enter a BLANK line once your are done:

(The user can have an empty rules set)

Login:youxia

Password: ***********

This user would have ' admin ' privileges within the Nessus server

Rules:

Is that OK? (y/n) [Y] Y

User added

[Root@wdcentos6 ~]#

Now we have added an administrator account named "Youxia" and then open the Http://www.nessus.org/products/nessus/nessus-plugins/obtain-an-activation-code Gets an activation code. Select Using Nessus at home, and then enter your first name, last name, e-mail, and go to your mailbox and you will receive a message called "Nessus Plugin Feed." Here is a line:

Your Activation code for the Nessus homefeed is xxxx-xxxx-xxxx-xxxx-xxxx

This is your activation code, under CentOS, enter:

[Root@wdcentos6 ~]#/opt/nessus/bin/nessus-fetch--register xxxx-xxxx-xxxx-xxxx-xxxx (carriage return)

Your Activation Code has been registered Properly-thank you.

Now fetching the newest plugin set from plugins.nessus.org ...

Then, it's a long wait ... It is indeed a long wait! (because the server that connects to Nessus is very slow), wait until this prompt is over, succeed!

Enter/opt/nessus/sbin/nessus-service-d to start your nessus, and then open the browser, enter: https://your CentOS IP address: 8834 (remember HTTPS, And to 8834 of the port number to visit your Nessus!

Author: Zhang Bachuang (Internet Ranger)

Website: http://www.youxia.org

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.