forked from flyher/shumeipai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
修改raspbian的源,加速apt-get.html
57 lines (47 loc) · 12.5 KB
/
修改raspbian的源,加速apt-get.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="exporter-version" content=mNote Mac 2.4.10"/><meta name="created" content="2013-07-29T14:14:50Z"/><meta name="updated" content="2013-07-29T14:14:50Z"/><title>修改raspbian的源,加速apt-get</title></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>
<i style="border: 0px none rgb(153, 153, 153); color: rgb(153, 153, 153); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 32px; font-family: Tahoma, 'Microsoft Yahei', Simsun; height: 32px; margin: 0px 0px -30px; outline: rgb(153, 153, 153) none 0px; padding: 0px; text-align: center; text-decoration: initial; width: 757px; word-wrap: break-word;"> 本帖最后由 hanchao 于 2012-12-15 23:47 编辑 </i><br>
<br>
使用了一天Raspberry Pi ,发现aspbian系统下载程序实在是慢的无法接受了。今天终于找到一些镜像的源。<br>
具体可见<br>
http://www.raspbian.org/RaspbianMirrors<br>
<br>
国内用户推荐使用这两个,我这里测试第一个速度在还可以。第二个是清华大学的,好多人都说不给力,教育网的同学们可以试试。<br>
Asia Singapore NUS School of Computing SigLabs http://mirror.nus.edu.sg/raspbian/raspbian<br>
Asia China Tsinghua University Network Administrators http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/<br>
<br>
更新源的方法<br>
备份之前的源文件<br>
sudo cp /etc/apt/sources.list /etc/apt/sources.list_bk<br>
更新源<br>
sudo vi /etc/apt/sources.list<br>
将默认地址替换成上面的地址<br>
<ignore_js_op style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">
<img id="aimg_13061" aid="13061" src="http://files.note.sdo.com/M5cEN~kg7DWVnM24s00NxP" zoomfile="forum.php?mod=attachment&aid=MTMwNjF8MmViYTcwZjF8MTM1OTA3OTM3M3wwfDQ5ODA%3D&noupdate=yes&nothumb=yes" file="forum.php?mod=attachment&aid=MTMwNjF8MmViYTcwZjF8MTM1OTA3OTM3M3wwfDQ5ODA%3D&noupdate=yes" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="570" inpost="1" alt="屏幕快照 2012-12-15 下午11.46.04.png" title="屏幕快照 2012-12-15 下午11.46.04.png" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" style="width: 570px; height: 365px; float: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; background-position: 0% 0%; background-repeat: repeat repeat;" lazyloaded="true" _load="1">
<div style="position: absolute; display: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgb(254, 254, 233); background-size: auto; border: 1px solid rgb(177, 177, 177); color: rgb(68, 68, 68); font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 10px; text-decoration: initial; width: 260px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;">
<div style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">
<div style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; float: right; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">2012-12-15 23:46 上传</div>
<a href="http://www.eeboard.com/bbs/forum.php?mod=attachment&aid=MTMwNjF8MmViYTcwZjF8MTM1OTA3OTM3M3wwfDQ5ODA%3D&nothumb=yes" title="屏幕快照 2012-12-15 下午11.46.04.png 下载次数:0" target="_blank" style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-decoration: underline; word-wrap: break-word;"><strong style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">下载附件</strong> <span style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: 14px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">(32.05 KB)</span></a>
</div>
<div style="background-image: url(http://www.eeboard.com/bbs/static/image/common/tip_bottom.png); background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; border: 0px none rgb(68, 68, 68); bottom: -6px; color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; height: 6px; left: 5px; margin: 0px; outline: rgb(68, 68, 68) none 0px; overflow: hidden; padding: 0px; position: absolute; text-decoration: initial; width: 11px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;"></div>
</div>
</ignore_js_op>
<br>
更新源信息<br>
sudo apt-get update<br>
<br>
接下来就可以下载软件咯<br>
sudo apt-get install tightvncserver<br>
<br>
昨天一天没下载完成,现在一会就下好了。<img class="s" src="http://files.note.sdo.com/M5cEN~kg7DWVnM24s00NxN" smilieid="soso_e142" border="0" alt="" style="width: 24px; height: 24px; float: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; background-position: 0% 0%; background-repeat: repeat repeat;"><br>
远程连接成功啦<br>
<ignore_js_op style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">
<div style="width: 600px; height: 100px; background-image: url(http://www.eeboard.com/bbs/static/image/common/loading.gif); background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word; background-position: 50% 50%; background-repeat: no-repeat no-repeat;"></div><img id="aimg_12868" aid="12868" src="http://files.note.sdo.com/M5cEN~kg7DWVnM24s00NxR" zoomfile="forum.php?mod=attachment&aid=MTI4Njh8MzBkNzkxODN8MTM1OTA3OTM3M3wwfDQ5ODA%3D&noupdate=yes&nothumb=yes" file="forum.php?mod=attachment&aid=MTI4Njh8MzBkNzkxODN8MTM1OTA3OTM3M3wwfDQ5ODA%3D&noupdate=yes" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" inpost="1" alt="屏幕快照 2012-12-11 下午9.40.58.png" title="屏幕快照 2012-12-11 下午9.40.58.png" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" style="height: 1px; width: 1px; float: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; background-position: 0% 0%; background-repeat: repeat repeat;" lazyloaded="true">
<div style="position: absolute; display: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgb(254, 254, 233); background-size: auto; border: 1px solid rgb(177, 177, 177); color: rgb(68, 68, 68); font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 10px; text-decoration: initial; width: 260px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;">
<div style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">
<div style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; float: right; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">2012-12-11 21:42 上传</div>
<a href="http://www.eeboard.com/bbs/forum.php?mod=attachment&aid=MTI4Njh8MzBkNzkxODN8MTM1OTA3OTM3M3wwfDQ5ODA%3D&nothumb=yes" title="屏幕快照 2012-12-11 下午9.40.58.png 下载次数:0" target="_blank" style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-decoration: underline; word-wrap: break-word;"><strong style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">下载附件</strong> <span style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: 14px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">(390.79 KB)</span></a>
</div>
<div style="background-image: url(http://www.eeboard.com/bbs/static/image/common/tip_bottom.png); background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; border: 0px none rgb(68, 68, 68); bottom: -6px; color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; height: 6px; left: 5px; margin: 0px; outline: rgb(68, 68, 68) none 0px; overflow: hidden; padding: 0px; position: absolute; text-decoration: initial; width: 11px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;"></div>
</div>
</ignore_js_op>
</div><div><a href="thread-4980-1-1.html" style="border: 0px none rgb(51, 51, 51); color: rgb(51, 51, 51); display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 16px; line-height: normal; font-family: 'Microsoft Yahei', Hei, Tahoma, SimHei, sans-serif; outline: rgb(51, 51, 51) none 0px; padding: 0px; text-decoration: initial; word-wrap: break-word;">【分享】</a></div></body></html>