ubuntu——get apt to use a mirror close to me, or choose a faster mirror
来源:互联网 发布:c 编程思想 编辑:程序博客网 时间:2024/04/30 03:57
apt-get now supports a 'mirror' method that will automatically select a good mirror based on your location. Putting:
deb mirror://mirrors.ubuntu.com/mirrors.txt precise main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-backports main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-security main restricted universe multiverse
on the top in your /etc/apt/sources.list
file should be all that is needed to make it automatically pick a mirror for you based on your geographical location.
Just note that after making the change you need to run sudo apt-get update
before doing anyapt-get install
for it to use your closest mirror.
thanks: http://askubuntu.com/questions/37753/how-can-i-get-apt-to-use-a-mirror-close-to-me-or-choose-a-faster-mirror
- ubuntu——get apt to use a mirror close to me, or choose a faster mirror
- ip traffic export: how to mirror traffic on a router
- How to: Find the fastest apt mirror server for Debian or Ubuntu(如何为ubuntu或debian找到最快的apt镜像站点)
- [ubuntu]修改apt-get 默认源为163.mirror 源
- [ubuntu]修改apt-get 默认源为163.mirror 源
- answer to mirror
- A cygwin mirror website
- How to use apt-get behind proxy server (Ubuntu/Debian)
- Use the Theme combo box above the layout to choose a different layout, or fix the theme style refere
- give me a reason to use this blog...
- Create a mirror in DirectX
- What is a Key Mirror?
- apt-mirror建立本地ubuntu仓库源
- ubuntu apt-get update 失败解决。安装新的ubuntu时出现 mirror连接不上
- ubuntu apt-get update 失败解决。安装新的ubuntu时出现 mirror连接不上
- Tips to choose a crystal
- Tips to choose a crystal
- How to make brew faster 使用mirror 加速brew的安装过程
- js ajax 访问 axis2 webservice
- Android之ListView异步加载网络图片(优化缓存机制)
- Qt Designer设计 UI 文件并调用
- jquery mobile测试例子
- 20岁到30岁,我拿十年做什么
- ubuntu——get apt to use a mirror close to me, or choose a faster mirror
- iOS 7设计备忘单
- hdu 3496
- HDU 1116 并查集
- C语言深度解剖读书笔记(2.字符的技巧)
- Css hack
- Flash图表控件FusionCharts如何自定义图表的工具提示
- 一个SQL字符串问题的解决
- C/C++常用头文件及函数汇总 【转载】