Install Nmap dan Netstat di CentOS 7
Oke kali ini share sedikit tutorial instalasi Nmap dan Netstat di CentOS 7. Secara default kedua tools tersebut memang belum terinstall di CentOS 7. Hal ini baru saja saya alami ketika menyewa server baru tadi pagi. Nah berhubung kedua tools tersebut sangat penting, terutama untuk menganalisa servis yang berjalan di port tertentu dan melihat port mana saja yang terbuka, saya juga merekomendasikan teman teman menginstall tools tersebut.
Oke langsung saja ya.
Untuk Netstat, tidak ada paket bernama itu di repository. Untuk mendapatkannya bisa dengan menginstall net-tools.
sudo yum install net-tools
Contoh output :
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.tzulo.com
* epel: mirror.steadfast.net
* extras: mirror.steadfast.net
* updates: centos.mirrors.wvstateu.edu
Resolving Dependencies
--> Running transaction check
---> Package net-tools.x86_64 0:2.0-0.17.20131004git.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
net-tools x86_64 2.0-0.17.20131004git.el7 base 304 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 304 k
Installed size: 917 k
Is this ok [y/d/N]: y
Downloading packages:
net-tools-2.0-0.17.20131004git.el7.x86_64.rpm | 304 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : net-tools-2.0-0.17.20131004git.el7.x86_64 1/1
Verifying : net-tools-2.0-0.17.20131004git.el7.x86_64 1/1
Installed:
net-tools.x86_64 0:2.0-0.17.20131004git.el7
Complete!
Contoh penggunaan Netstat
netstat -plant
Oke lanjut ke penginstallan Nmap.
sudo yum install nmap -y
Output :
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.tzulo.com
* epel: mirror.steadfast.net
* extras: mirror.steadfast.net
* updates: centos.mirrors.wvstateu.edu
Resolving Dependencies
--> Running transaction check
---> Package nmap.x86_64 2:6.40-7.el7 will be installed
--> Processing Dependency: nmap-ncat = 2:6.40-7.el7 for package: 2:nmap-6.40-7.el7.x86_64
--> Running transaction check
---> Package nmap-ncat.x86_64 2:6.40-7.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================================================================
Installing:
nmap x86_64 2:6.40-7.el7 base 4.0 M
Installing for dependencies:
nmap-ncat x86_64 2:6.40-7.el7 base 201 k
Transaction Summary
==========================================================================================================================================================================
Install 1 Package (+1 Dependent package)
Total download size: 4.2 M
Installed size: 17 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): nmap-ncat-6.40-7.el7.x86_64.rpm | 201 kB 00:00:00
(2/2): nmap-6.40-7.el7.x86_64.rpm | 4.0 MB 00:00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 8.4 MB/s | 4.2 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 2:nmap-ncat-6.40-7.el7.x86_64 1/2
Installing : 2:nmap-6.40-7.el7.x86_64 2/2
Verifying : 2:nmap-ncat-6.40-7.el7.x86_64 1/2
Verifying : 2:nmap-6.40-7.el7.x86_64 2/2
Installed:
nmap.x86_64 2:6.40-7.el7
Dependency Installed:
nmap-ncat.x86_64 2:6.40-7.el7
Complete!
Contoh penggunaan Nmap. Disini saya ingin melihat port berapa saja yang terbuka.
nmap 192.xxx.xxx.xxx
Oke sekian tutorial singkat kali ini. Pembahasan mengenai Netstat dan nmap lebih lanjut kita bahas lain kali. Share juga ke teman teman mu biar mereka tau, dan silahkan komentar jika ada yang kurang jelas.
Posting Komentar untuk "Install Nmap dan Netstat di CentOS 7"
Posting Komentar
Silahkan tinggalkan komentar jika ada masukan, pertanyaan, kritik ataupun dukungan. Namun pastikan untuk berkomentar secara sopan.