nmap-5.21 for CentOS 5.5

sudo yum -y install gcc gcc-c++ openssl-devel
sudo /sbin/iptables -I OUTPUT -d 64.13.134.48 -j ACCEPT
wget "http://nmap.org/dist/nmap-5.21.tar.bz2"
sudo /sbin/iptables -D OUTPUT -d 64.13.134.48 -j ACCEPT
sudo mkdir /usr/local/nmap-5.21
sudo ln -s /usr/local/nmap-5.21 /usr/local/nmap
tar jxf nmap-5.21.tar.bz2
cd nmap-5.21/
./configure --prefix=/usr/local/nmap-5.21 2>&1 | tee configure-$(date +%Y%m%d%H%M%S).log
make 2>&1 | tee make-$(date +%Y%m%d%H%M%S).log
sudo make install 2>&1 | tee make_install-$(date +%Y%m%d%H%M%S).log
タイトルとURLをコピーしました