Install Nessus Fedora



The article below show how you can install Nessus the security venerability scanner on Fedora system.  The example below show step by step to install Nessus on Fedora system and this installation step are done on Linux Fedora 15 operating system.

Install Nessus on Fedora 15

1.  Login on your Linux Fedora system.

2.  Open terminal and execute su - command.

3.  Execute yum install *nessus* as show on example below to start the process of installing Nessus, let yum running until...
[root@fedora ~]# yum install *nessus*
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: free.nchc.org.tw
 * rpmfusion-free: download1.rpmfusion.org
 * rpmfusion-free-updates: download1.rpmfusion.org
 * rpmfusion-nonfree: download1.rpmfusion.org
 * rpmfusion-nonfree-updates: download1.rpmfusion.org
 * updates: free.nchc.org.tw
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nessus-client.i686 0:2.2.11-6.fc15 will be installed
---> Package nessus-core.i686 0:2.2.11-6.fc15 will be installed
---> Package nessus-core-devel.i686 0:2.2.11-6.fc15 will be installed
---> Package nessus-gui.i686 0:2.2.11-6.fc15 will be installed
---> Package nessus-libraries.i686 0:2.2.11-4.fc15 will be installed
---> Package nessus-libraries-devel.i686 0:2.2.11-4.fc15 will be installed
--> Processing Dependency: libpcap-devel for package: nessus-libraries-devel-2.2.11-4.fc15.i686
---> Package nessus-server.i686 0:2.2.11-6.fc15 will be installed
--> Processing Dependency: libnasl.so.2 for package: nessus-server-2.2.11-6.fc15.i686
--> Running transaction check
---> Package libnasl.i686 0:2.2.11-8.fc15 will be installed
---> Package libpcap-devel.i686 14:1.1.1-3.fc15 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package                          Arch           Version                     Repository        Size
====================================================================================================
Installing:
 nessus-client                    i686           2.2.11-6.fc15               fedora            95 k
 nessus-core                      i686           2.2.11-6.fc15               fedora            71 k
 nessus-core-devel                i686           2.2.11-6.fc15               fedora            23 k
 nessus-gui                       i686           2.2.11-6.fc15               fedora           179 k
 nessus-libraries                 i686           2.2.11-4.fc15               fedora            74 k
 nessus-libraries-devel           i686           2.2.11-4.fc15               fedora            26 k
 nessus-server                    i686           2.2.11-6.fc15               fedora           134 k
Installing for dependencies:
 libnasl                          i686           2.2.11-8.fc15               fedora           126 k
 libpcap-devel                    i686           14:1.1.1-3.fc15             fedora            98 k

Transaction Summary
====================================================================================================
Install       9 Package(s)

Total download size: 826 k
Installed size: 2.3 M
Is this ok [y/N]:

4.  till you see the yes or no option... type in y and hit enter key to start the nessus installation process..
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 826 k
(1/9): libnasl-2.2.11-8.fc15.i686.rpm                                        | 126 kB     00:01    
(2/9): libpcap-devel-1.1.1-3.fc15.i686.rpm                                   |  98 kB     00:01    
(3/9): nessus-client-2.2.11-6.fc15.i686.rpm                                  |  95 kB     00:00    
(4/9): nessus-core-2.2.11-6.fc15.i686.rpm                                    |  71 kB     00:01    
(5/9): nessus-core-devel-2.2.11-6.fc15.i686.rpm                              |  23 kB     00:00    
(6/9): nessus-gui-2.2.11-6.fc15.i686.rpm                                     | 179 kB     00:01    
(7/9): nessus-libraries-2.2.11-4.fc15.i686.rpm                               |  74 kB     00:01    
(8/9): nessus-libraries-devel-2.2.11-4.fc15.i686.rpm                         |  26 kB     00:00    
(9/9): nessus-server-2.2.11-6.fc15.i686.rpm                                  | 134 kB     00:01    
----------------------------------------------------------------------------------------------------
Total                                                                64 kB/s | 826 kB     00:12    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : nessus-libraries-2.2.11-4.fc15.i686                                              1/9
  Installing : nessus-core-2.2.11-6.fc15.i686                                                   2/9
  Installing : 14:libpcap-devel-1.1.1-3.fc15.i686                                               3/9
  Installing : nessus-libraries-devel-2.2.11-4.fc15.i686                                        4/9
  Installing : nessus-core-devel-2.2.11-6.fc15.i686                                             5/9
  Installing : libnasl-2.2.11-8.fc15.i686                                                       6/9
  Installing : nessus-server-2.2.11-6.fc15.i686                                                 7/9
  Installing : nessus-client-2.2.11-6.fc15.i686                                                 8/9
  Installing : nessus-gui-2.2.11-6.fc15.i686                                                    9/9

Installed:
  nessus-client.i686 0:2.2.11-6.fc15             nessus-core.i686 0:2.2.11-6.fc15                  
  nessus-core-devel.i686 0:2.2.11-6.fc15         nessus-gui.i686 0:2.2.11-6.fc15                   
  nessus-libraries.i686 0:2.2.11-4.fc15          nessus-libraries-devel.i686 0:2.2.11-4.fc15       
  nessus-server.i686 0:2.2.11-6.fc15           

Dependency Installed:
  libnasl.i686 0:2.2.11-8.fc15                  libpcap-devel.i686 14:1.1.1-3.fc15                

Complete!
[root@fedora ~]#



nm-tool NetworkManager Tool



   NetworkManager tool the nm-tool command show the information about your Linux NetworkManager device state, and wireless networks.  The example below show the output from nm-tool that execute on Linux Fedora 15

nm-tool

Show the information and status of you NetworkManager network device and wireless network
[root@fedora ~]# nm-tool

NetworkManager Tool

State: connected (global)

- Device: p1p1  [System p1p1] --------------------------------------------------
  Type:              Wired
  Driver:            skge
  State:             connected
  Default:           yes
  HW Address:        00:1B:11:B4:0E:8E

  Capabilities:
    Carrier Detect:  yes
    Speed:           1000 Mb/s

  Wired Properties
    Carrier:         on

  IPv4 Settings:
    Address:         172.16.160.112
    Prefix:          24 (255.255.255.0)
    Gateway:         172.16.160.119

    DNS:             172.16.165.9
    DNS:             60.49.199.73


- Device: em1 ------------------------------------------------------------------
  Type:              Wired
  Driver:            8139too
  State:             disconnected
  Default:           no
  HW Address:        00:1E:90:E5:83:3D

  Capabilities:
    Carrier Detect:  yes
    Speed:           100 Mb/s

  Wired Properties
    Carrier:         on


- Device: wlan0 ----------------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            zd1211rw
  State:             disconnected
  Default:           no
  HW Address:        00:02:72:4B:EA:45

  Capabilities:

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points
    Zaihan:          Infra, 00:22:6B:78:3D:28, Freq 2437 MHz, Rate 54 Mb/s, Strength 14 WPA
    dota ensem:      Ad-Hoc, F6:59:03:2D:F5:6E, Freq 2437 MHz, Rate 54 Mb/s, Strength 16
    Free Public WiFi:Ad-Hoc, AE:39:A0:5E:87:58, Freq 2437 MHz, Rate 54 Mb/s, Strength 33


[root@fedora ~]#



p1p1 network



   The p1p1 network card that appear on Linux Fedora 15 are stand for your PCI network device.   The first p1 is for pci name and the other part of p1 is for number, so f your network card show p1p1 that show that your network card is on pci slot number 1 and using number 1 port.  To edit the configuration of the p1p1 network card, go to /etc/sysconfig/network-scripts/ and edit the ifcfg-p1p1 network configuration file or user the nm-connection-editor command.

p1p1 network configuration file

The example of p1p1 network configuration file on Linux Fedora 15
[root@fedora ~]# cat /etc/sysconfig/network-scripts/ifcfg-p1p1
DEVICE="p1p1"
ONBOOT="yes"
NM_CONTROLLED="yes"
TYPE=Ethernet
BOOTPROTO=none
IPADDR0=172.16.160.112
PREFIX0=24
GATEWAY0=172.16.160.119
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System p1p1"
UUID=46e26279-f69b-daf5-1b79-d03677b7178d
DNS1=172.16.165.9
DNS2=60.49.199.73
HWADDR=00:1B:11:B4:0E:8E
[root@fedora ~]# 



em1 network



   On Linux Fedora 15, the eth0 now replace with em1for built-in network card on the system.  The configuration file of these em1still inside the  /etc/sysconfig/network-scripts/ directory.  To view or edit the em1 network card configuration(ifcfg-em1), use the NetworkManager tool nm-connection-editor command, or edit these ifcfg-em1 directly (not recommend)

em1 network configuration file

The example of em1 network configuration file.
[root@fedora ~]# cat /etc/sysconfig/network-scripts/ifcfg-em1
DEVICE="em1"
ONBOOT="no"
NM_CONTROLLED="yes"
TYPE=Ethernet
BOOTPROTO=none
IPADDR0=172.16.165.5
PREFIX0=24
GATEWAY0=172.16.165.9
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System em1"
UUID=1dad842d-1912-ef5a-a43a-bc238fb267e7
DNS1=172.16.165.9
HWADDR=00:1E:90:E5:83:3D
[root@fedora ~]#



Install Fedora fastest mirror



   Need to update your Fedora more faster, just install Fedora fastest mirror, and get your Fedora will find nearest and faster update server for your system.  The step by step example below show how to install yum fastest mirror plugin.


Install yum-fastestmirror plugin

1.  Login on your Fedora system.

2.  Open terminal and execute su - command, enter root password when ask.

3.  Execute yum -y install yum-fastestmirror to start yum-fastestmirror repo installation.
[root@serverc ~]# yum -y install yum-fastestmirror
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package yum-plugin-fastestmirror.noarch 0:1.1.31-2.fc15 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================
 Package                            Arch             Version                 Repository         Size
=====================================================================================================
Installing:
 yum-plugin-fastestmirror           noarch           1.1.31-2.fc15           updates            24 k

Transaction Summary
=====================================================================================================
Install       1 Package(s)

Total download size: 24 k
Installed size: 53 k
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 24 k
yum-plugin-fastestmirror-1.1.31-2.fc15.noarch.rpm                             |  24 kB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : yum-plugin-fastestmirror-1.1.31-2.fc15.noarch                                     1/1

Installed:
  yum-plugin-fastestmirror.noarch 0:1.1.31-2.fc15                                                    

Complete!
[root@serverc ~]#