close
##Install JAVA J2SDK
wget http://cds-esd.sun.com/ESD43/JSCDL/j2sdk/1.4.2_18/j2sdk-1_4_2_18-linux-i586-rpm.bin?AuthParam=1217843276_e460de5bfc11fd948eddcf0c828cfef3&TicketId=B%2Fw%2BlxiJSFNIQB1DOVJSlAHg&GroupName=CDS&FilePath=/ESD43/JSCDL/j2sdk/1.4.2_18/j2sdk-1_4_2_18-linux-i586-rpm.bin&File=j2sdk-1_4_2_18-linux-i586-rpm.bin
chmod +x j2sdk-1_4_2_18-linux-i586-rpm.bin
./j2sdk-1_4_2_18-linux-i586-rpm.bin
rpm -Uvh j2sdk-1_4_2_18-linux-i586.rpm
##Download Network Probe Web Site
https://support.objectplanet.com/licenser/license.jsp?cid=92022&fid=4
mkdir ~/install
cd ~/install
gzip -cd netprobe-2.7.tar.gz |tar xvf -
vi ~/install/netprobe/netprobe
./netprobe start
reboot
wget http://cds-esd.sun.com/ESD43/JSCDL/j2sdk/1.4.2_18/j2sdk-1_4_2_18-linux-i586-rpm.bin?AuthParam=1217843276_e460de5bfc11fd948eddcf0c828cfef3&TicketId=B%2Fw%2BlxiJSFNIQB1DOVJSlAHg&GroupName=CDS&FilePath=/ESD43/JSCDL/j2sdk/1.4.2_18/j2sdk-1_4_2_18-linux-i586-rpm.bin&File=j2sdk-1_4_2_18-linux-i586-rpm.bin
chmod +x j2sdk-1_4_2_18-linux-i586-rpm.bin
./j2sdk-1_4_2_18-linux-i586-rpm.bin
rpm -Uvh j2sdk-1_4_2_18-linux-i586.rpm
##Download Network Probe Web Site
https://support.objectplanet.com/licenser/license.jsp?cid=92022&fid=4
mkdir ~/install
cd ~/install
gzip -cd netprobe-2.7.tar.gz |tar xvf -
vi ~/install/netprobe/netprobe
#JAVA_PATH=/usr/java/j2sdk1.4.0_01/bin ==>
#JAVA_PATH=/usr/java/j2sdk1.4.2_18/bin
cd ~/install/netprobe#JAVA_PATH=/usr/java/j2sdk1.4.2_18/bin
./netprobe start
#--------------------------------------------------------------------
# Example of usage:
# ./netprobe start
# - starts the probe with the first nic (eth0 on linux)
# ./netprobe stop
# - stops the probe, killing the processes
# ./netprobe restart
# - restarts the probe
# ./netprobe start eth1
# - starts the probe with the second nic (linux)
# ./netprobe start -noip eth1
# - starts the probe with a network card (eth2) that hasn't an ip configured
#--------------------------------------------------------------------
vi /etc/sysconfig/iptables# Example of usage:
# ./netprobe start
# - starts the probe with the first nic (eth0 on linux)
# ./netprobe stop
# - stops the probe, killing the processes
# ./netprobe restart
# - restarts the probe
# ./netprobe start eth1
# - starts the probe with the second nic (linux)
# ./netprobe start -noip eth1
# - starts the probe with a network card (eth2) that hasn't an ip configured
#--------------------------------------------------------------------
##Add a iptable rule
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 7030 -j ACCEPT
reboot
全站熱搜