1. Download
: HTTP://SOURCEFORGE.NET/PROJECTS/NETCAT/FILES/NETCAT/0.7.1/
The netcat-0.7.1.tar.gz version is downloaded.
2. Copy
Copy to the/home/hadoop directory with a USB stick
To decompress:
Cd/home/hadoop
TAR-ZXVF netcat-0.7.1.tar.gz-c/usr/local
Renamed:
Cd/usr/local
MV netcat-0.7.1 Netcat
3. Installation
To switch directories:
Cd/usr/local/netcat
Configuration, the file is stored under/opt/netcat, delete, when uninstalling the software, just delete this file on the line:
./configure--prefix=/opt/netcat
Compile:
Make
Installation:
Make install
4. Configuration
Vim/etc/profile
Add the following content:
# Set Netcat path
Export Netcat_home=/opt/netcat
Export path= $PATH: $NETCAT _home/bin
Save, exit, and make the configuration effective:
Source/etc/profile
5. Inspection
Nc-help success
CentOS6.5 under Netcat Tools installation Tutorial