商讯信箱
用户名: @
密  码:   注册|忘记密码
登录
个人用户经销商
信箱 E杂志
您的位置:首页 > 学院 > 正文       

    【IT168 实用技巧】上篇我们学习了Ubuntu Linux的安装,相信你已经可以让XP和Ubuntu Linux和平共处,并且对UbuntuLinux有一定了解了吧,但是,现在的Ubuntu Linux还不太好看,和我们平时的工作环境大不相同,看起来不舒服,比如说浏览器的字体方面等等,其实,经过我们的精心设计之后,Ubuntu Linux可以很漂亮的,我们动工吧!(相关文章:你还在用不安全的Windows系统吗

    1、首先修改我们的源,以便升级到最新的系统:

    点击工具栏上的“应用程序”或者“Applications”,在下拉菜单中选择“附件”或者“Accessories”,在下一级菜单中选择“终端”或者“Terminal”,在终端输入“sudo gedit /etc/apt/sources.list”如图一所示:


图1

    注意,因为默认我们不是以超级用户登录的,所以这里输入命令gedit前,我们先输入sudo,意思是“super user do”——超级用户执行。“sudo” 需要提供密码 “Password:”。 那么就输入装Ubuntu时设定的密码。如果厌烦反复键入 “sudo” 可以通过键入 “sudo -s -H”和你的密码转换到超级用户。

    输入 sudo gedit /etc/apt/sources.list 回车后,gedit文本编辑程序会以超级用户身份打开文件sources.list,这时,把文件所有的内容删除,再加上下面的行:

  #deb cdrom : [Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted
  ## Uncomment the following two lines to fetch updated software from the network
  deb http://cn.archive.ubuntu.com/ubuntu breezy main restricted
  deb-src http://cn.archive.ubuntu.com/ubuntu breezy main restricted
  ## Uncomment the following two lines to fetch major bug fix updates produced
  ## after the final release of the distribution.
  #deb http://cn.archive.ubuntu.com/ubuntu breezy-updates main restricted
  #deb-src http://cn.archive.ubuntu.com/ubuntu breezy-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://cn.archive.ubuntu.com/ubuntu breezy universe
  deb-src http://cn.archive.ubuntu.com/ubuntu breezy 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://cn.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
  #deb-src http://cn.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
  #deb http://security.ubuntu.com/ubuntu breezy-security main restricted
  #deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
  #deb http://security.ubuntu.com/ubuntu breezy-security universe
  #deb-src http://security.ubuntu.com/ubuntu breezy-security universe

    点击工具栏中的“保存”以保存这个文件,然后关闭它,如图二所示:


图2

    在终端依次运行下面这两个命令:

  sudo apt-get update
  sudo apt-get dist-upgrade

    运行时会出现类似下面的询问:

    “需要下载 X MB 的软件包。
    解压缩后会消耗掉 XMB 的额外空间。
    您希望继续执行吗?[Y/n]”
    这时一律按“y”并回车。

    通过这步,我们就完成了系统的更新,类似windows中的Update,不过放心,这里不会检查你的系统序列号,呵呵。

相关文章:你还在用不安全的Windows系统吗

相关文章:你还在用不安全的Windows系统吗2

1 2 3 4 5 6
有问必答
©版权所有。未经许可,不得转载。
[责任编辑:李乾仑] [我要挑错]
相关产品
本文相关产品
   没有相关产品