个人工具

“Qref/Hardy”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
设置Firefox
多媒体应用环境设置
第78行: 第78行:
 
推荐能连接国外网的用户加入[[UbuntuHelp:Medibuntu/zh|Medibuntu源]],输入命令
 
推荐能连接国外网的用户加入[[UbuntuHelp:Medibuntu/zh|Medibuntu源]],输入命令
  
sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list
+
  sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
+
  sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
  
 
其他用户要确保已加入'''ubuntu-cn源'''
 
其他用户要确保已加入'''ubuntu-cn源'''

2008年4月26日 (六) 20:56的版本

Ubuntu8.04LTS快速设置指南

  • 本文的作用:当你刚刚安装完毕之后,我们来花10分钟设置一下系统,让我们有一个更加舒适的环境。
  • 本文的内容:仅包含常用,必要的步骤及简略的描述,不详细解释原因。
  • 本文的格式:由于是快速设置,操作绝大部分使用命令行描述。
  • 本文的适用范围:适用于Ubuntu 8.04(i386)操作系统(其他用户如有问题请到论坛咨询)
  • 参与本文修订的同仁注意:修订前请务必先阅读本文的讨论页,对本文的看法、建议、请求也欢迎在讨论页中发表。

从这里开始

首先我们要修改系统的软件源列表。关于什么是软件源,请参考软件源

  1. 请确保你的系统已联入互联网。不会设置的请看HOW-TO连接到互联网
  2. 打开一个终端。打开终端的方法是:单击主菜单中的“应用程序 - 附件 - 终端”。关于终端的使用,请参考基本终端命令
  3. 修改你的更新服务器列表。请在终端中执行下面的两条命令:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list

注意:接下来在打开的文本编辑器中,把你看到的内容全部删掉,访问我们推荐的源 8.04页面。在那里里请选择一组对于你来说速度最快的更新服务器列表。粘贴到你所看到的窗口中。

电信/网通用户,推荐将欧洲官方源服务器粘贴到最后

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

同时推荐加入 ubuntu-cn 源(网通访问偏慢)

deb http://archive.ubuntu.org.cn/ubuntu-cn/ hardy main restricted universe multiverse
4.更新软件包列表。执行下面的命令:
sudo apt-get update
5.安装系统更新
打开“系统->系统管理->更新管理器”,安装更新。完成后若系统提示重新启动,请重新启动系统。
语言支持对话框

设置中文环境

  • 重要:继续之前请确定本文前面的操作你都完成了
  • 打开“语言支持”对话框(见右图)。单击主菜单中的“系统(System) --> 系统管理(Administration) --> 语言支持(language support)”。
  • 在“支持的语言”列表中找到“汉语(Chinese)”,在右端打上勾。同时将默认语言修改为“汉语(Chinese)”并勾选“启用复杂字符输入支持(Enable support to enter complex characters)”,点击确定按钮。
    Ubuntu 这时会下载并安装语言包。安装完毕之后,当你注销后重新登录,界面就变成中文的了。
  • 如果你喜欢用 Adobe Reader 来阅读 pdf 文档,可在官网下载或者本地下载
  • 设置文档查看器 Evince 的中文支持:
 sudo apt-get install xpdf-chinese-simplified xpdf-chinese-traditional poppler-data

设置Firefox

  • 安装Flash插件(注:公网用户可通过以下命令直接安装: sudo apt-get install flashplugin-nonfree)
 wget http://ubuntu:[email protected]/home/dbzhang800/wiki/install_flash_player_9_linux.tar.gz
 tar -zxvf install_flash_player_9_linux.tar.gz
 cd install_flash_player_9_linux/
 sudo ./flashplayer-installer

多媒体应用环境设置

推荐能连接国外网的用户加入Medibuntu源,输入命令

 sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
 sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

其他用户要确保已加入ubuntu-cn源

  • 安装多媒体解码器,输入命令
sudo apt-get install libdvdcss2 libxine1-ffmpeg libxine1-plugins w32codecs gcc-3.3-base libstdc++5
  • 配置电影播放器,输入命令
sudo apt-get remove totem-gstreamer -y
sudo apt-get install totem totem-xine totem-mozilla -y

若无法正常播放RMVB,请参考Xine前端播放器设置问题

  • 配置音乐播放器,输入命令
sudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mpegdemux gstreamer0.10-gnonlin
  • 如果喜欢音乐播放器Audacious,视频播放器Mplayer或RealPlayer的话,

请访问相关词条安装Audacious安装MPlayer安装RealPlayer

安装星际译王

星际译王(stardict)是 Linux 下类似于金山词霸的辞典软件。要安装星际译王,请执行下面的命令:

sudo apt-get install stardict stardict-common stardict-plugin stardict-plugin-espeak stardict-plugin-festival
  • 已加入 ubuntu-cn 源的用户,可以通过下面的命令安装 stardict 的词典文件:
sudo apt-get install stardict-cdict-gb stardict-cedict-gb stardict-hanzim stardict-langdao-ce-gb stardict-langdao-ec-gb stardict-oxford-gb stardict-xdict-ce-gb stardict-xdict-ec-gb
  • 未加入 ubuntu-cn 源的用户,到星际译王的词典网页或者本地镜像,挑选自己需要用的词典,下载到自己的主目录下。现在以安装文件名为a.tar.bz2 的词典为例:
tar -xjvf a.tar.bz2 
sudo mv a /usr/share/stardict/dic 

注意:a.tar.bz2是词典文件,a 是解压出来的词典目录

如果需要给 stardict 添加更多的词库真人发音,请访问星际译王

可选设置

大功告成,现在我们的系统已经能很好的工作了。请注销重新进入桌面!

很好,对Ubuntu系统的基本设置,你已经完成。不过这些设置对于你来说远远不够,请参看可选设置条目继续对您的系统进行微调,当然可选设置里的内容不是所有人必须要做的。请针对自己的情况有选择的操作。

不错,可选设置看完了,你一定还想安装自己需要的软件,比如ftp软件,看chm什么的,忘掉windows下的工具吧。我们可以用开源/自由软件代替它。软件推荐条目放置了一份清楚的清单,相信其中有你想要的东东。

其它参考