Debian的官方源以稳定为主,所以软件版本相对比较老。dotdeb.org的源更新比较快,里面的软件包都是最新稳定版本的。
vim /etc/apt/sources.list
增加下面的行:
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable alldeb http://php53.dotdeb.org stable all
deb-src http://php53.dotdeb.org stable all
上面有php-fpm,还有google-perftools。
dotdeb.org更新源的各地镜像:
* Austria
deb http://dotdeb.gosi.at/ stable all
deb-src http://dotdeb.gosi.at/ stable all* Belgium
deb http://dotdeb.debian.skynet.be/ stable all
deb-src http://dotdeb.debian.skynet.be/ stable all* Bulgaria
deb http://dotdeb.ipacct.com/packages/ stable all
deb-src http://dotdeb.ipacct.com/packages/ stable all* Czech republic
deb http://debian-dotdeb.mirror.web4u.cz/ stable all
deb-src http://debian-dotdeb.mirror.web4u.cz/ stable all* France
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all* Germany
deb http://ftp.hosteurope.de/mirror/packages.dotdeb.org/ stable all
deb-src http://ftp.hosteurope.de/mirror/packages.dotdeb.org/ stable alldeb http://dotdeb.netmirror.org/ stable all
deb-src http://dotdeb.netmirror.org/ stable all* Japan
deb http://download.softagency.net/debian/dotdeb/ stable all
deb-src http://download.softagency.net/debian/dotdeb/ stable all* Netherlands
deb http://dotdeb.mirror.cambrium.nl/ stable all
deb-src http://dotdeb.mirror.cambrium.nl/ stable all* Romania
deb ftp://download.srv.ro/pub/dotdeb/ stable all
deb-src ftp://download.srv.ro/pub/dotdeb/ stable all* Slovakia
deb http://mirrors.mojhosting.sk/dotdeb/ stable all
deb-src http://mirrors.mojhosting.sk/dotdeb/ stable all* Switzerland
deb http://mirror.yux.ch/dotdeb/ stable all
deb-src http://mirror.yux.ch/dotdeb/ stable all* United Kingdom
deb http://dotdeb.mirror.somersettechsolutions.co.uk/ stable all
deb-src http://dotdeb.mirror.somersettechsolutions.co.uk/ stable all* USA (US/Canada/Mexico only)
deb http://dotdeb.mirror.borgnet.us/ stable all
deb-src http://dotdeb.mirror.borgnet.us/ stable all
backports更新源:http://www.macd11.com/923.html