How to install netspeeder Network Accelerator in centos
This article is about how to install netspeeder network accelerator in centos. Xiaobian thinks it is very practical, so share it with everyone to learn. I hope you can gain something after reading this article. Let's not say much. Let's take a look at it together with Xiaobian.
1. installation tutorial
1.1. before installation
Runtime dependencies: libnet, libpcap
debian/ubuntu install libnet
apt-get install libnet1
Install libpcap
apt-get install libpcap0.8
Compilation requires installation of dev packages corresponding to libnet and libpcap debian/ubuntu installation of libnet-dev
apt-get install libnet1-dev
Install libpcap-dev
apt-get install libpcap0.8-dev
1.2. install compilation
Linux Cooked interface compiled using (venetX, OpenVZ)
sh build.sh -DCOOKED
Common network cards use compilation (Xen, KVM, physical machine)
sh build.sh
1.3. use method
Parameters: ./ net_speeder network card name acceleration rule (bpf rule)
The simplest usage: # ./ net_speeder venet0 "ip" Speeds up all ip protocol data
One-click installation package is hostloc lazyzhu production
2. One-click installation package
wget --no-check-certificate https://gist.github.com/LazyZhu/dc3f2f84c336a08fd6a5/raw/d8aa4bcf955409e28a262ccf52921a65fe49da99/net_speeder_lazyinstall.sh
sh net_speeder_lazyinstall.sh
If this problem occurs, try the following command
nte-211
after installation
nohup /usr/local/net_speeder/net_speeder venet0 "Primary IP address of your VPS" >/dev/null 2>&1 &
3. Close net_speeder
killall net_speeder
The above is how to install netspeeder network accelerator in centos, Xiaobian believes that some knowledge points may be seen or used in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.