安装net-speeder,让你的服务器满血复活

在高延迟不稳定链路上优化单线程下载速度

注1:开启了net-speeder的服务器上对外ping时看到的是4倍,实际网络上是2倍流量.另外两倍是内部dup出来的,不占用带宽.另外,内部dup包并非是偷懒未判断…是为了更快触发快速重传的. 注2:net-speeder不依赖ttl的大小,ttl的大小跟流量无比例关系.不存在windows的ttl大,发包就多的情况.

安装步骤:

1.下载源码并解压:
wget https://github.com/snooda/net-speeder/archive/master.zip
unzip master.zip

git clone https://github.com/snooda/net-speeder.git
1.2打开netspeeder文件夹:
cd net-speeder
继续阅读安装net-speeder,让你的服务器满血复活

Ubuntu14.04更换阿里云源加速

1.首先进入/etc/apt.

2.然后备份原源,sudo mv sources.list sources.list.bak,切记需要用管理员权限.

3.新建文件并命名保存为sources.list,源在下方我会给出.

deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

4.然后更新源列表,并升级.(还是需要管理员权限)

本文完.