Pages

Tuesday, 10 November 2015

Debian系统添加Dotdeb源的好处

最近使用Debian配置LNMP环境时发现,使用apt-get install安装的东西版本都比较旧.
一切的版本都是太低了! 怎么办了 更换了阿里云,163之类的源 感觉并不是很好!
最终终于找到了Dotdeb源 发现的确很强大啊! 
下面就给大家介绍怎么添加Dotdeb源和Dotdeb源的好处!!!!
首先这是添加Dotdeb源 :
echo "deb http://packages.dotdeb.org squeeze all" >>/etc/apt/sources.list
echo "deb-src http://packages.dotdeb.org squeeze all" >>/etc/apt/sources.list
#添加dotdeb源,已多次介绍dotdeb源的好处
apt-get update
另外,用国内的VPS的请注意,把packages.dotdeb.org换成其他服务器,个人推荐日本的吧,离我们最近了:
echo "deb http://download.softagency.net/debian/dotdeb/ stable all" >> /etc/apt/sources.list
echo "deb-src http://download.softagency.net/debian/dotdeb/ stable all" >> /etc/apt/sources.list
apt-get update
当然,还有其他的服务器,自己挑:
Austria
deb http://dotdeb.gosi.at/ stable all
deb-src http://dotdeb.gosi.at/ stable all
Belgium
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
Estonia
deb http://servingzone.com/mirrors/dotdeb/ stable all
deb-src http://servingzone.com/mirrors/dotdeb/ 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 all


deb http://dotdeb.netmirror.org/ stable all
deb-src http://dotdeb.netmirror.org/ stable all


deb http://mirror.de.leaseweb.net/dotdeb/ stable all
deb-src http://mirror.de.leaseweb.net/dotdeb/ 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://mirror.nl.leaseweb.net/dotdeb/ stable all
deb-src http://mirror.nl.leaseweb.net/dotdeb/ stable all
New Caledonia
deb http://debian.nautile.nc/dotdeb/ stable all
deb-src http://debian.nautile.nc/dotdeb/ stable all
Poland
deb http://dotdeb.0xdb.pl stable all
deb-src http://dotdeb.0xdb.pl stable all
Portugal
deb http://mirrors.fe.up.pt/dotdeb/ stable all
deb-src http://mirrors.fe.up.pt/dotdeb/ 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
Sweden
deb http://dotdeb.dm3.se/ stable all
deb-src http://dotdeb.dm3.se/ stable all

deb http://dotdeb.jine.se/ stable all
deb-src http://dotdeb.jine.se/ stable all
United Kingdom
deb http://mirror.stshosting.co.uk/dotdeb/ stable all
deb-src http://mirror.stshosting.co.uk/dotdeb/ stable all