In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
1. Installation and use of traditional architecture 1.1. Schematic diagram
1.2. Installation
Install tcpcopy on-line and test environment machines respectively
Tar-xzvf tcpcopy-0.9.3.tar.gz
Cd tcpcopy-0.9.3
. / configure
Make & & make install
1.3. Run 1.3.1. The test machine is running:
TCPCopy server (root user execution)
1) start the kernel module ip_queue
# modprobe ip_queue
2) set the port to be intercepted, and set the output intercept
# iptables-I OUTPUT-p tcp-- sport-j QUEUE
: resin port
Eg: iptables-I OUTPUT-p tcp-- sport 8001-j QUEUE
3) start intercept
Nohup intercept &
1.3.2. Online machine operation
Tcpcopy-x-test machine ip:
Eg:nohup tcpcopy-x 80-192.168.74.205 purl 8001 &
1.3.3. Check whether it is successful
Check whether the request has been copied through netstat-na, top, or open accesslog.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.