xfstart07
Get busy living or get busy dying

将会不断更新......

换源

代码:

sudo gedit /etc/apt/sources.list


(此 命令为更新源,删除原内容,然后将下面的内容拷过去,然后存盘)

存盘后,打开终端输入以下命令执行列表更新:

代码:

sudo apt-get update



Archive.ubuntu.com
更新服务器(欧洲,此为官方源,电信网通用户使用)

代码:

deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse



网 易 163更新服务器:

代码:

deb http://mirrors.163.com/ubuntu/ jaunty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-backports main restricted universe multiverse




Mirrors.shlug.org
更 新服务器(电信服务器,Ubuntu China Official Mirror, maintained by Shanghai Linux User Group):

代码:

deb http://cn.archive.ubuntu.com/ubuntu jaunty main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu jaunty-security main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu jaunty-updates main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu jaunty-backports main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu jaunty-proposed main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu jaunty main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu jaunty-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu jaunty-updates main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu jaunty-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu jaunty-proposed main restricted universe multiverse




Mirror.lupaworld.com
更新服务器(浙江省杭州市双线服务器,推荐 --我用的就是这个 ):

代码:

deb http://mirror.lupaworld.com/ubuntu jaunty main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu jaunty-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu jaunty-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu jaunty-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu jaunty-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu jaunty main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu jaunty-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu jaunty-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu jaunty-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu jaunty-proposed main restricted universe multiverse




中文支持

1.

ubuntu 下打开文本乱 码解决办法

XP
下的一个文本文件,在ubuntu下打开既然成了乱码,估计编码的原因。只要把相应的编码添加进去就可以咯。 具体解决办法如下:

终端输入:

代码:

gconf-editor

(配置编辑器)

依 次打开;apps-->gedit2-->preferences-->encodings双 击 右边的 “auto_detected"-->"添加"-->输入:GBK-->OK-->点向上把它移动到最上边 -->确认

posted on 2010-07-20 21:48 xfstart07 阅读(52) 评论(0)  编辑 收藏 引用 所属分类: Linux

只有注册用户登录后才能发表评论。
【推荐】超50万行VC++源码: 大型组态工控、电力仿真CAD与GIS源码库
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理