How to install nmap security scanner for CentOS 6.x / RHEL 6.x

This is an early junior System Administrator guide to install nmap security scanner. That we will use for the upcoming nmap tutorials.

This is a how to that installs the old version nmap 5.51 go to the yum totorial How to create a local yum repo CentOS 6.x / RHEL 6.x to learn how to install nmap 6.40-1

Just run the command:

sudo yum install nmap -y
[c-johsor@sesstl168 tmp]$ sudo yum install nmap -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Existing lock /var/run/yum.pid: another copy is running as pid 8746.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 35 M RSS (1.4 GB VSZ)
Started: Thu Mar 13 00:29:53 2014 - 00:05 ago
State : Sleeping, pid: 8746
Loading mirror speeds from cached hostfile
* base: ftp.availo.se
* extras: ftp.availo.se
* updates: mirror.easyspeedy.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nmap.x86_64 2:5.51-3.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
nmap x86_64 2:5.51-3.el6 base 2.7 M

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

Total download size: 2.7 M
Installed size: 9.7 M
Downloading Packages:
nmap-5.51-3.el6.x86_64.rpm | 2.7 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 2:nmap-5.51-3.el6.x86_64 1/1
Verifying : 2:nmap-5.51-3.el6.x86_64 1/1

Installed:
nmap.x86_64 2:5.51-3.el6

Complete!
[c-johsor@sesstl168 tmp]$
[c-johsor@sesstl168 tmp]$ nmap -version

Nmap version 5.51 ( http://nmap.org )
[c-johsor@sesstl168 tmp]$

Finished

These are the nmap tutorials up to date:

 

 

 

I am a Senior System Administrator that work daily with Virtualization,Xenserver, Linux, IT automation, Ansible,Windows, Active Directory, Exchange and a lot more. Here you will find tips and trix from early junior, middle junior and senior to unique information of the topics I mentioned earlier. If you need help with something do not hesitate to contact me I will gladly help.

Tagged with: , , , , ,