树莓派的服务器实在太慢了!会导致你安装一个几M的东西都要等大半天!肿么办!
好在树莓派官方有提供一个镜像列表:http://www.raspbian.org/RaspbianMirrors
面找到了几个国内的镜像一些软件无法更新,经过几番尝试,建议国内的阿里云更新源。
镜像主页:http://mirrors.aliyun.com/
阿里云镜像由阿里巴巴技术保障部基础系统组提供支持。
覆盖了Debian、Ubuntu、 Fedora、Arch Linux、 CentOS、openSUSE、Scientific Linux、Gentoo、Raspbian 等多个发行版的软件源镜像。
搭建此开源镜像的目的在于宣传自由软件的价值,提高自由软件社区文化氛围, 推广自由软件在国内应用。
同步频率为每天一次,每天凌晨2:00-4:00为镜像的同步时间
根据教程,咱们来编辑 /etc/apt/sources.list
文件。这里推荐用 nano 命令编辑。命令如下:
pi@raspberrypi:~$ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak #备份为 sources.list.bak pi@raspberrypi:~$ sudo nano /etc/apt/sources.list #编辑sources.list 文件
进入编辑界面,删除原有的内容或者用#注释掉原来的源,添加下方的源内容。
源如下:
deb http://mirrors.aliyun.com/raspbian/raspbian/ wheezy main non-free contrib deb-src http://mirrors.aliyun.com/raspbian/raspbian/ wheezy main non-free contrib
然后使用 Ctrl+O
回车后保存文件,Ctrl+X
退出编辑器。
然后执行
pi@raspberrypi:~$ sudo apt-get update #更新系统软件 pi@raspberrypi:~$ sudo apt-get upgrade #更新已安装的包
Thanks for sharing your thoughts on 树莓派. Regards
bookmarked!!, I really like your site!
For hottest news you have to visit the web and on world-wide-web I
found this website as a finest site for most recent updates.
Keep on writing, great job!
Very nice post. I just stumbled upon your blog and wished to say that
I have truly enjoyed browsing your blog posts.
After all I will be subscribing to your feed and I hope you write again very soon!
Ahaa, its pleasant dialogue on the topic of this article here at this website, I have read all that, so now me also commenting here.
whoah this weblog is great i love studying your articles.
Keep up the great work! You know, a lot of persons are searching around for this info, you can aid them greatly.
Hey there! Do you know if they make any plugins to protect against hackers?
I’m kinda paranoid about losing everything I’ve worked hard on. Any tips?
I love your blog.. very nice colors & theme. Did you make
this website yourself or did you hire someone to do it for you?
Plz answer back as I’m looking to design my
own blog and would like to know where u got this
from. thanks
Hey would you mind letting me know which webhost you’re utilizing?
I’ve loaded your blog in 3 completely different
browsers and I must say this blog loads a lot faster then most.
Can you suggest a good internet hosting provider at a honest price?
Thanks, I appreciate it!
I have read several excellent stuff here. Definitely worth bookmarking for revisiting.
I wonder how a lot attempt you place to create such a great
informative site.
Incredible! This blog looks just like my old one! It’s on a entirely different subject but it has pretty much the same layout and design. Outstanding choice of colors!
always i used to read smaller posts which also clear their motive, and that is also happening with this article which I am reading
at this time.
Wow, this piece of writing is fastidious, my younger sister
is analyzing these kinds of things, so I am
going to let know her.
skytteliga frankrike
Yes! Finally something about source.
I visited multiple blogs however the audio quality for audio songs present at this web site is
genuinely excellent.
Thanks for finally writing about >树莓派 | 树莓派 Raspberry
Pi 更换国内源 – Vedio Talk – VLOG、科技、生活、乐分享 <Loved it!
I do not even know how I ended up here, but I thought this post was good.
I do not know who you are but definitely you are going to a famous blogger if you aren’t
already 😉 Cheers!
I savour, lead to I discovered just what I was looking for.
You have ended my 4 day long hunt! God Bless you man.
Have a great day. Bye
Hey! Would you mind if I share your blog with my facebook group?
There’s a lot of folks that I think would really enjoy your content.
Please let me know. Thank you
My partner and I stumbled over here coming from
a different web page and thought I might check things out.
I like what I see so now i am following you. Look forward to
exploring your web page again.
Really informative article. Keep writing.
Write more, thats all I have to say. Literally, it seems as though
you relied on the video to make your point. You clearly know what youre talking about, why waste your intelligence on just posting videos to your site when you could
be giving us something informative to read?
Very nice article, just what I was looking for.
Post writing is also a fun, if you be familiar with afterward you can write if not it is complicated to write.
Howdy just wanted to give you a quick heads up. The words in your article
seem to be running off the screen in Internet explorer. I’m not sure if
this is a format issue or something to do with browser compatibility but I figured
I’d post to let you know. The design look great though!
Hope you get the problem resolved soon. Kudos