Install Nmap on Centos 6.3

How to Install Nmap on Centos 6.3

1. Install Nmap on Centos 6.3

[root@localhost ~]# yum install nmap
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.neu.edu.cn
* epel: kartolo.sby.datautama.net.id
* extras: centos-hcm.viettelidc.com.vn
* updates: centos-hcm.viettelidc.com.vn
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package nmap.x86_64 2:5.51-2.el6 will be installed
–> Finished Dependency ResolutionDependencies Resolved================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
nmap x86_64 2:5.51-2.el6 base 2.7 MTransaction Summary
================================================================================
Install 1 Package(s)Total download size: 2.7 M
Installed size: 9.7 MIs this ok [y/N]: y
Downloading Packages:
nmap-5.51-2.el6.x86_64.rpm | 2.7 MB 00:49
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 2:nmap-5.51-2.el6.x86_64 1/1
Verifying : 2:nmap-5.51-2.el6.x86_64 1/1Installed:
nmap.x86_64 2:5.51-2.el6

Complete!
[root@localhost ~]#

 

2. Scan a host 8.8.8.8

[root@localhost ~]# nmap 8.8.8.8
Starting Nmap 5.51 ( http://nmap.org ) at 2012-12-09 15:57 PST
Nmap scan report for google-public-dns-a.google.com (8.8.8.8)
Host is up (0.23s latency).
Not shown: 999 filtered ports
PORT STATE SERVICE
53/tcp open domainNmap done: 1 IP address (1 host up) scanned in 33.35 seconds
[root@localhost ~]#

3. Check nmap version

[root@localhost ~]# nmap –version
Nmap version 5.51 ( http://nmap.org )
[root@localhost ~]#

That’s all. Thanks for using IThelpblog.com.

 

 

Tags:  

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>