LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2116|回复: 15

怎样优化ubuntu的源,我的太慢?

[复制链接]
发表于 2006-4-7 19:07:42 | 显示全部楼层 |阅读模式
有什么命令吗 ?我是河南三门峡网通的,平时用apt-get时太慢,最快才十几K,现在用cn99的源。
发表于 2006-4-8 07:52:01 | 显示全部楼层
网通应该也不会太慢啊?你应该早上早一点起来开机升级比较快,平时不会太快啊,而且这和你的带宽有一点关系,可能就是最快几十k。你可以试试下面几个源:(建议你多去Ubuntu .org.cn的论坛里去转转,那里你会知道很多你想要或是学的东西)

sudo gedit /etc/apt/sources.list在编辑器里,删除所有东西,并在加上下面的行:

deb http://archive.ubuntu.org.cn/ubuntu/ breezy main restricted universe multiverse

deb http://archive.ubuntu.org.cn/ubuntu/ breezy-security main restricted universe multiverse

deb http://archive.ubuntu.org.cn/ubuntu/ breezy-updates main restricted universe multiverse

deb http://archive.ubuntu.org.cn/ubuntu/ breezy-backports main restricted universe multiverse

deb http://archive.ubuntu.org.cn/ubuntu-cn/ breezy main restricted universe multiverse

deb http://archive.ubuntu.org.cn/backports/ breezy-extras main restricted universe multiverse

这里你也可以直接使用更快速的ubuntu.cn99.com的源(推荐):

deb http://ubuntu.cn99.com/ubuntu/ breezy main restricted universe multiverse

deb http://ubuntu.cn99.com/ubuntu/ breezy-updates main restricted universe multiverse

deb http://ubuntu.cn99.com/ubuntu/ breezy-security main restricted universe multiverse

deb http://ubuntu.cn99.com/ubuntu/ breezy-backports main restricted universe multiverse

deb http://ubuntu.cn99.com/ubuntu-cn/ breezy main restricted universe multiverse

deb http://ubuntu.cn99.com/backports/ breezy-extras main restricted universe multiverse

这里你还可以使用速度也非常快的的mirror.lupaworld.com的源:

deb http://mirror.lupaworld.com/ubuntu/archive/ breezy main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu/archive/ breezy-security main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu/archive/ breezy-updates main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu/archive/ breezy-backports main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ breezy main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu/backports/ breezy-extras main restricted universe multiverse保存,关闭编辑器。
祝你好运。
回复 支持 反对

使用道具 举报

发表于 2006-4-9 10:31:00 | 显示全部楼层
用上海交大的源吧,我的也是网通,这些源都好慢的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-9 11:23:18 | 显示全部楼层
谢谢楼上的朋友们!我试试再说。
回复 支持 反对

使用道具 举报

发表于 2006-4-9 11:59:11 | 显示全部楼层
我用的也是河南网通,河南网通都一样,
我用这个源很快的,通常都是将近200K的速度
[php]
deb http://us.archive.ubuntu.com/ubuntu dapper main restricted
deb-src http://us.archive.ubuntu.com/ubuntu dapper main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu dapper universe
deb-src http://us.archive.ubuntu.com/ubuntu dapper universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted

deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe

deb http://archive.ubuntu.com/ubuntu dapper multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper multiverse

## Backports
deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
[/php]
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-9 14:26:02 | 显示全部楼层
楼上的兄弟,你的ubuntu好像是dapper,我的是breezy.源能用吗?我不懂阿~~~
回复 支持 反对

使用道具 举报

发表于 2006-4-10 16:12:58 | 显示全部楼层
Post by gentoofans
楼上的兄弟,你的ubuntu好像是dapper,我的是breezy.源能用吗?我不懂阿~~~


把dapper全改成breezy就可以了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-11 20:07:01 | 显示全部楼层
兄弟怎么不早说阿,我等不及就用你那个源apt-get dist-upgrade ,结果升级成dapper,进不了X,怎么也搞不好。我欲哭无泪啊!
回复 支持 反对

使用道具 举报

发表于 2006-4-11 21:43:04 | 显示全部楼层
把 x-window-system-core gdm gnome gnome-core 都卸掉重新装。
先升级 kernel udev initfsram这些包
dist-grade并不是很好用的。倒不好从低到高,自己一步步来的好。
回复 支持 反对

使用道具 举报

发表于 2006-4-11 21:43:49 | 显示全部楼层
把 x-window-system-core gdm gnome gnome-core 都卸掉重新装。
先升级 kernel udev initfsram这些包
dist-grade并不是很好用的。倒不好从低到高,自己一步步来的好。

mirror.vmmatrix.net这个源不错
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表