ubuntu镜像使用说明

来源:互联网 发布:在线贷网络贷款 编辑:程序博客网 时间:2024/06/04 19:54

Ubuntu下的使用方法:

使用命令sudogedit /etc/apt/sources.list编辑sources.list,将原来的全部删除,添加上与自己的ubuntu版本匹配的更新源。切记一定要匹配,否则会很悲剧。例如:

使用说明

软件包管理中心(推荐)

在软件包管理中心“软件源”中选择“中国的服务器”下mirrors.ustc.edu.cn即可自动使用。

手动更改配置文件

以Quantal(12.10)为例,编辑/etc/apt/sources.list文件(需要使用sudo), 在文件最前面添加以下条目(操作前请做好相应备份)

deb http://mirrors.ustc.edu.cn/ubuntu/ quantal main restricted universe multiversedeb http://mirrors.ustc.edu.cn/ubuntu/ quantal-security main restricted universe multiversedeb http://mirrors.ustc.edu.cn/ubuntu/ quantal-updates main restricted universe multiversedeb http://mirrors.ustc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiversedeb http://mirrors.ustc.edu.cn/ubuntu/ quantal-backports main restricted universe multiversedeb-src http://mirrors.ustc.edu.cn/ubuntu/ quantal main restricted universe multiversedeb-src http://mirrors.ustc.edu.cn/ubuntu/ quantal-security main restricted universe multiversedeb-src http://mirrors.ustc.edu.cn/ubuntu/ quantal-updates main restricted universe multiversedeb-src http://mirrors.ustc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiversedeb-src http://mirrors.ustc.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse

如果您使用的是Quantal(12.10)以外的版本,或者希望选择IPv4/IPv6、HTTP/FTP,请使用我们的 配置生成器

相关链接

官方主页: http://www.ubuntu.com/ 
邮件列表: http://www.ubuntu.com/support/community/mailinglists 
论坛: http://ubuntuforums.org/ 
中文论坛: http://forum.ubuntu.org.cn/ 
Wiki: https://wiki.ubuntu.com/ 
文档: https://help.ubuntu.com/ 

0 0