centos中netspeeder網路加速/最佳化器安裝教程

來源:互聯網
上載者:User

支援環境:CentOS5、6
支援架構:KVM XEN open-vz
項目地址:http://code.google.com/p/net-speeder/
1.安裝教程
1.1.安裝前
運行時依賴的庫:libnet, libpcap
debian/ubuntu安裝libnet

apt-get install libnet1

安裝libpcap

apt-get install libpcap0.8

編譯需要安裝libnet和libpcap對應的dev包 debian/ubuntu安裝libnet-dev


apt-get install libnet1-dev

安裝libpcap-dev


apt-get install libpcap0.8-dev

1.2. 安裝編譯
Linux Cooked interface使用編譯(venetX,OpenVZ)

sh build.sh -DCOOKED

普通網卡使用編譯(Xen,KVM,物理機)

sh build.sh

1.3.使用方法
參數:./net_speeder 網卡名 加速規則(bpf規則)
最簡單用法: # ./net_speeder venet0 “ip” 加速所有ip協議資料
 
 
一鍵安裝包是hostloc的lazyzhu製作的

2.一鍵安裝包

wget --no-check-certificate https://gist.github.com/LazyZhu/dc3f2f84c336a08fd6a5/raw/d8aa4bcf955409e28a262ccf52921a65fe49da99/net_speeder_lazyinstall.sh
sh net_speeder_lazyinstall.sh
如果出現這個問題話的,可以嘗試下面的命令即可
nte-211
安裝完畢後


nohup /usr/local/net_speeder/net_speeder venet0 "你VPS的主IP地址" >/dev/null 2>&1 &

3.關閉net_speeder

killall net_speeder

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.