<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://ubuntuguide.org/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Ubuntu:Hardy cn - Revision history</title>
		<link>http://ubuntuguide.org/index.php?title=Ubuntu:Hardy_cn&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.1</generator>
		<lastBuildDate>Wed, 19 Jun 2013 03:08:04 GMT</lastBuildDate>
		<item>
			<title>Pigling:&amp;#32;/* ''''' Ubuntu 8.04 LTS (Hardy Heron) ''''' */</title>
			<link>http://ubuntuguide.org/index.php?title=Ubuntu:Hardy_cn&amp;diff=22557&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39; Ubuntu 8.04 LTS (Hardy Heron) &amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[http://translate.google.com/translate?hl=en&amp;amp;ie=UTF-8&amp;amp;sl=en&amp;amp;tl=zh-CN&amp;amp;u=http://ubuntuguide.org/wiki/Ubuntu:Hardy&amp;amp;prev=_t Ubuntuguide翻译成中文的谷歌]&lt;br /&gt;
&lt;br /&gt;
如果只是部分的网页翻译，请点击重新载入（刷新）按钮，把更多的。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Ubuntuguide_logo.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= ''''' Ubuntu 8.04 LTS (Hardy Heron) ''''' =&lt;br /&gt;
'''Ubuntu Hardy Heron,既Gutsy Gibbon后于2008年4月24日成功发布。请帮助测试和维护这份指南。'''&lt;br /&gt;
&lt;br /&gt;
{{HardyHeronLanguageBar|languages=Languages:|InProgress=In progress:}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== ''''' 绪言 ''''' ==&lt;br /&gt;
&lt;br /&gt;
=== 关于 Hardy  ===&lt;br /&gt;
&lt;br /&gt;
* 2008年4月24日Ubuntu 8.04发布。&lt;br /&gt;
* 它的开发代号为“Hardy Heron”，它是Ubuntu 7.10 Gutsy Gibbon的继任者。&lt;br /&gt;
* Hardy是一个LTS（长期支持）的版本，所以它将得到比正常版本（18个月）更长时间的技术支持－－桌面版3年，服务器版为5年。&lt;br /&gt;
&lt;br /&gt;
=== 如何查出你正在使用的Ubuntu版本号 ===&lt;br /&gt;
&lt;br /&gt;
使用以下命令:&lt;br /&gt;
&lt;br /&gt;
 lsb_release -a&lt;br /&gt;
&lt;br /&gt;
=== 如何查出你使用的Ubutnu发行版内核版本号 ===&lt;br /&gt;
&lt;br /&gt;
使用以下命令:&lt;br /&gt;
  &lt;br /&gt;
  uname -r&lt;br /&gt;
&lt;br /&gt;
=== Ubutnu的版本更新 ===&lt;br /&gt;
&lt;br /&gt;
* 每个版本的开发周期为6个月&lt;br /&gt;
* 时间为四月到六月&lt;br /&gt;
* 每年的十月三十号会发布下一个版本的开发日程表，2008年将会是Ubuntu 8.10 (Intrepid Ibex)&lt;br /&gt;
* Hardy Heron 将是一个LTS（长期支持）版本，它的服务器版本和桌面版将会分别得到五年和三年的安全更新的支持&lt;br /&gt;
&lt;br /&gt;
=== About Ubuntu and Official Ubuntu Derivatives === &lt;br /&gt;
&lt;br /&gt;
==== Ubuntu 8.04 指南和链接 ====&lt;br /&gt;
&lt;br /&gt;
*[http://www.ubuntu.com/ Ubuntu Official Website]&lt;br /&gt;
*[http://www.ubuntu.com/products/whatisubuntu Official About Ubuntu Page]&lt;br /&gt;
*[http://ubuntuforums.org/ Official Ubuntu Forums]&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Ubuntu_(Linux_distribution) Wikipedia: Ubuntu (Linux Distribution)]&lt;br /&gt;
*[http://www.ubuntugeek.com/ Ubuntu Geek includes Tips,Howtos,Tutorials and Articles about Ubuntu Linux]&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 截图 =====&lt;br /&gt;
&lt;br /&gt;
[http://www.debianadmin.com/ubuntu-804-hardy-heron-screenshots-tour.html Ubuntu 8.04 Screenshots Gallery]&lt;br /&gt;
&lt;br /&gt;
== 用户知识 ==&lt;br /&gt;
&lt;br /&gt;
这个小节包含了对本指南其他部分有用的辅助信息。&lt;br /&gt;
&lt;br /&gt;
=== 使用终端/ terminal / shell ===&lt;br /&gt;
&lt;br /&gt;
上述所有操作都用到了同一个程序－一个可以让用户像使用图形界面（GUI)一样用来控制系统的命令行界面。这个指南中的大部分任务都可以用GUI来完成，但是在大部分情况下使用命令行会让我们感觉更加方便与快捷。&lt;br /&gt;
&lt;br /&gt;
打开控制台方法，用鼠标指向：程序--&amp;gt; 附件--&amp;gt; 终端-　你将后看到一个可以录入文字的窗口。&lt;br /&gt;
&lt;br /&gt;
任何一个以“sudo”为前缀的命令都将拥有管理员（或者root）权限，所以你需要输入密码。&lt;br /&gt;
&lt;br /&gt;
=== 检视一个程序或命令的帮助 - 手册页 ===&lt;br /&gt;
&lt;br /&gt;
大部分程序都附带自身的manpages－－帮助说明&lt;br /&gt;
你可以检查怎么使用一个命令，例如：&lt;br /&gt;
    man apt-get&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
    man gedit&lt;br /&gt;
&lt;br /&gt;
在我们执行一个程序之前知道它是什么对我们来讲是非常有用的事。&lt;br /&gt;
&lt;br /&gt;
== 保持系统最新 ==&lt;br /&gt;
&lt;br /&gt;
系统更新是非常重要的，所以我们必须可以从服务器上下载最新的补丁，安全更新和升级包。&lt;br /&gt;
&lt;br /&gt;
首先，我们指向&lt;br /&gt;
   系统 --&amp;gt; 管理--&amp;gt; 软件源&lt;br /&gt;
检查是不是不所有的源都是可用的。&lt;br /&gt;
&lt;br /&gt;
然后我们打开终端：&lt;br /&gt;
&lt;br /&gt;
   程序--&amp;gt; 附件 --&amp;gt; 终端&lt;br /&gt;
&lt;br /&gt;
输入：&lt;br /&gt;
&lt;br /&gt;
   sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
系统将会让你输入密码，你输入的密码是不可见的（安全策略），但是系统可以正常识别到你的录入&lt;br /&gt;
&lt;br /&gt;
   sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
   sudo apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
完成！&lt;br /&gt;
&lt;br /&gt;
== 安装软件包（程序）和库 ==&lt;br /&gt;
&lt;br /&gt;
在Ubuntu系统中有两种软件包安装方式。&lt;br /&gt;
&lt;br /&gt;
你可以通过终端或者新立得软件包管理器来安装新的软件。&lt;br /&gt;
&lt;br /&gt;
=== A.如何使用APT安装软件包 - 终端方式 ===&lt;br /&gt;
&lt;br /&gt;
打开&lt;br /&gt;
&lt;br /&gt;
  系统 --&amp;gt; 附件--&amp;gt; 终端&lt;br /&gt;
&lt;br /&gt;
Apt是Debian的包管理器，但是它也同样可以用于Ubuntu。&lt;br /&gt;
&lt;br /&gt;
现在我们来通过键盘安装一个包：&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install package&lt;br /&gt;
&lt;br /&gt;
例如, Amarok, 一个音乐播放器:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install amarok&lt;br /&gt;
&lt;br /&gt;
如你如见，这十分简单。&lt;br /&gt;
&lt;br /&gt;
有时我们可能需要删除一个包&lt;br /&gt;
&lt;br /&gt;
输入:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get remove package&lt;br /&gt;
&lt;br /&gt;
如果我们想删除exaile音乐播放器，输入:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get remove exaile&lt;br /&gt;
&lt;br /&gt;
Apt会在我们安装或删除程序时自动检查程序的依赖关系。&lt;br /&gt;
&lt;br /&gt;
===B. 如何用新立得安装软件包 - 简单的GUI方式 ===&lt;br /&gt;
&lt;br /&gt;
操作导航:&lt;br /&gt;
&lt;br /&gt;
  系统 --&amp;gt; 系统管理 --&amp;gt; 新立得软件包管理器&lt;br /&gt;
&lt;br /&gt;
你可以通过“搜索”的方式安装任意你希望安装的软件，只需要点击“搜索”按钮。&lt;br /&gt;
&lt;br /&gt;
在窗口的左边你看到的是一片空白，根据自己的需要选择你所要安装的软件所属目录。&lt;br /&gt;
&lt;br /&gt;
点击“应用”按钮，新立得软件包首先会自动分析：和你所要安装的软件存在依赖关系的软件包，然后自动安装。&lt;br /&gt;
&lt;br /&gt;
== 搜索软件包/程序 ==&lt;br /&gt;
&lt;br /&gt;
有4种办法在软件库中搜索软件包/程序。办法都很容易实现。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== A. 如何在Synaptic(新立得)中搜索软件包 ===&lt;br /&gt;
&lt;br /&gt;
打开新立得软件包管理程序(Synaptic Package Manager)&lt;br /&gt;
&lt;br /&gt;
   系统 --&amp;gt; 系统管理 --&amp;gt; 新立得软件包管理程序&lt;br /&gt;
&lt;br /&gt;
然后点击搜索按钮。在弹出的输入框里面输入你需要的软件名称（关键词即可）然后回车就可以开始搜索软件。&lt;br /&gt;
&lt;br /&gt;
=== B.如何通过互联网搜索软件包 ===&lt;br /&gt;
&lt;br /&gt;
打开你的网页浏览器然后去该网址： &lt;br /&gt;
&lt;br /&gt;
   http://packages.ubuntu.com/&lt;br /&gt;
&lt;br /&gt;
其中如下四个链接是与Hardy Heron（Ubuntu8.04）有关的：a. http://packages.ubuntu.com/hardy/ , b.http://packages.ubuntu.com/hardy-updates/ , c.http://packages.ubuntu.com/hardy-backports/ , d.http://packages.ubuntu.com/hardy-backports/main/newpkg&lt;br /&gt;
&lt;br /&gt;
=== C. 如何用APT搜索软件包 ===&lt;br /&gt;
&lt;br /&gt;
打开终端(Terminal)程序： &lt;br /&gt;
&lt;br /&gt;
  Applications --&amp;gt; Accessories --&amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
如果想按名称搜索，比如：输入&amp;quot;pack-age&amp;quot; &lt;br /&gt;
&lt;br /&gt;
   sudo apt-cache search pack-age&lt;br /&gt;
&lt;br /&gt;
在Synaptic (新立得)中，图形界面下采用APT缓存（apt-cache)搜索，你可能会搜到其他包含你所输入“搜索字符”的其他软件包。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
如果你想搜索“音乐播放器”，键入：&lt;br /&gt;
&lt;br /&gt;
   sudo apt-cache search music player&lt;br /&gt;
&lt;br /&gt;
=== D. 如何用Aptitude搜索软件包 ===&lt;br /&gt;
&lt;br /&gt;
Aptitude 是字符界面下的 ”Synaptic“. 在它上方的菜单界面里面有个一个“搜索”选项。 你可以点击打开它或者通过键盘浏览该选项。&lt;br /&gt;
&lt;br /&gt;
== 已安装的程序不在“应用程序”菜单中显示 ==&lt;br /&gt;
&lt;br /&gt;
所幸的是从Gnome 2.12起，该问题已经很容易解决了！&lt;br /&gt;
&lt;br /&gt;
你可以鼠标“右击”，位于屏幕左上的“菜单”区域（如：Applications, Places,System 等的区域），再编辑内容。&lt;br /&gt;
&lt;br /&gt;
或者（采用替代的方法）：&lt;br /&gt;
&lt;br /&gt;
以防出现问题，打开terminal，再键入：&lt;br /&gt;
&lt;br /&gt;
   alacarte&lt;br /&gt;
&lt;br /&gt;
从新的弹出的GUI界面，可以编辑，新加你所新安装的“应用程序”。当然，前提是你知道“应用程序”安装的位置在哪里。如果不知道安装位置，请试键入：&lt;br /&gt;
&lt;br /&gt;
   locate applicationame&lt;br /&gt;
&lt;br /&gt;
可以显示“应用程序”可能安装的位置。&lt;br /&gt;
&lt;br /&gt;
== 显卡和显示器 ==&lt;br /&gt;
&lt;br /&gt;
=== 安装配置ATi和nVidia显卡驱动 ===&lt;br /&gt;
&lt;br /&gt;
有三种可选方法——第一种可以保证你一直使用最新的驱动，第二种则稍微简单一些。第三种是提供给已安装老版ATi GPU用户的备选方法。最后一种适用于拥有最新ATi卡（2xxx和3xxx代），但使用最新的ATi驱动（通过EnvyNG）或库驱动都无法获得正常显示的用户。&lt;br /&gt;
&lt;br /&gt;
==== A. 用EnvyNG安装最新版本驱动(ATi &amp;amp; nVidia)====&lt;br /&gt;
&lt;br /&gt;
Read first this faq: http://albertomilone.com/envyngfaq.html#A&lt;br /&gt;
&lt;br /&gt;
Open a terminal and type :&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install envyng-gtk&lt;br /&gt;
&lt;br /&gt;
After rebooting, drivers should be installed and working.&lt;br /&gt;
&lt;br /&gt;
==== B. 受限驱动管理器安装(ATi &amp;amp; nVidia) ====&lt;br /&gt;
&lt;br /&gt;
Navigate to:&lt;br /&gt;
&lt;br /&gt;
  System --&amp;gt; Administration --&amp;gt; Hardware Drivers&lt;br /&gt;
&lt;br /&gt;
and there you'll see your Graphics Card and an option for installation of its drivers.&lt;br /&gt;
&lt;br /&gt;
Choose it and the press &amp;quot;Apply&amp;quot;. It shall install the repository driver - a reboot may be required. &lt;br /&gt;
&lt;br /&gt;
(Applicable for both ATi/AMD and nVidia)&lt;br /&gt;
&lt;br /&gt;
==== C. ATi开源radeon驱动(仅ATi)====&lt;br /&gt;
&lt;br /&gt;
Navigate to https://help.ubuntu.com/community/RadeonDriver&lt;br /&gt;
&lt;br /&gt;
for more instructions.&lt;br /&gt;
&lt;br /&gt;
==== D. RadeonHD驱动(仅ATi)====&lt;br /&gt;
&lt;br /&gt;
Check with Synaptic Package Manager for&lt;br /&gt;
&lt;br /&gt;
   xf86-video-radeonhd&lt;br /&gt;
&lt;br /&gt;
package.&lt;br /&gt;
&lt;br /&gt;
Always make sure that you don't have another ATi driver installed.&lt;br /&gt;
&lt;br /&gt;
More info: http://www.phoronix.com/scan.php?page=article&amp;amp;item=842&amp;amp;num=1&lt;br /&gt;
&lt;br /&gt;
=== nVidia显卡配置多显示器 ===&lt;br /&gt;
&lt;br /&gt;
Install the nVidia graphics control panel: &lt;br /&gt;
&lt;br /&gt;
   sudo apt-get install nvidia-settings&lt;br /&gt;
&lt;br /&gt;
And then run the configuration utility:&lt;br /&gt;
&lt;br /&gt;
   sudo nvidia-settings&lt;br /&gt;
&lt;br /&gt;
You should be able to configure all your monitors, set them to seperate resolutions, and change their positioning relative to one another. When you are finished, make sure you click 'Save to X Configuration File'. It is possible that you may have problems with the boundries of monitors; logging off and back on again should resolve this.&lt;br /&gt;
&lt;br /&gt;
== 如何安装多媒体支持 ==&lt;br /&gt;
&lt;br /&gt;
=== 安装解码器 ===&lt;br /&gt;
&lt;br /&gt;
打开 a terminal and 键入 :&lt;br /&gt;
&lt;br /&gt;
  sudo -s -H&lt;br /&gt;
&lt;br /&gt;
输入用户密码（user password）.&lt;br /&gt;
&lt;br /&gt;
安装多媒体解码器（Codecs）&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
要安装，请检查你有所有的软件库（repositories）源已经开放，按如下顺序检查： System &amp;gt; Administration &amp;gt; Software sources.&lt;br /&gt;
&lt;br /&gt;
然后，运行如下命令：&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ubuntu-restricted-extras&lt;br /&gt;
&lt;br /&gt;
现在，你就拥有了几乎所有你需要的多媒体解码器（Codecs）&lt;br /&gt;
&lt;br /&gt;
=== 安装DVD 支持 ===&lt;br /&gt;
&lt;br /&gt;
At the console, type:&lt;br /&gt;
&lt;br /&gt;
   sudo gedit /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
Αnd paste in the end of the file the below:&lt;br /&gt;
&lt;br /&gt;
   ## Medibuntu - Ubuntu 8.04 &amp;quot;hardy&amp;quot; &lt;br /&gt;
   ## Please report any bug on https://bugs.launchpad.net/medibuntu/ &lt;br /&gt;
   deb http://packages.medibuntu.org/ hardy free non-free&lt;br /&gt;
&lt;br /&gt;
save the document and then in the terminal type:&lt;br /&gt;
&lt;br /&gt;
   wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
in order to receive the appropriate key.&lt;br /&gt;
&lt;br /&gt;
Finally, at the terminal, type:&lt;br /&gt;
&lt;br /&gt;
    apt-get update &lt;br /&gt;
    &lt;br /&gt;
    apt-get install libdvdcss2&lt;br /&gt;
&lt;br /&gt;
=== Pulseaudio ===&lt;br /&gt;
&lt;br /&gt;
On Xubuntu, you may experience some glitches with Pulseaudio like no sound at all after upgrading from Gutsy. The reason may be that the Pulseaudio daemon is not started. Take note that the sound server is not started at boot time (to reduce the risk of inter-user audio corruption), but at login time. So, you will have to add an entry to your autostarted applications for Pulseaudio. Here is an example:&lt;br /&gt;
&lt;br /&gt;
 :[Desktop Entry]&amp;lt;br&amp;gt;&lt;br /&gt;
 :Encoding=UTF-8&amp;lt;br&amp;gt;&lt;br /&gt;
 :Version=0.9.4&amp;lt;br&amp;gt;&lt;br /&gt;
 :Type=Application&amp;lt;br&amp;gt;&lt;br /&gt;
 :Name=Pulseaudio&amp;lt;br&amp;gt;&lt;br /&gt;
 :Comment=&amp;lt;br&amp;gt;&lt;br /&gt;
 :Exec=pulseaudio&amp;lt;br&amp;gt;&lt;br /&gt;
 :StartupNotify=false&amp;lt;br&amp;gt;&lt;br /&gt;
 :Terminal=false&amp;lt;br&amp;gt;&lt;br /&gt;
 :Hidden=false&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 安装VLC媒体播放器 ===&lt;br /&gt;
&lt;br /&gt;
At the console, type:&lt;br /&gt;
&lt;br /&gt;
   sudo apt-get install vlc&lt;br /&gt;
&lt;br /&gt;
To remove,&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get --purge autoremove vlc&lt;br /&gt;
&lt;br /&gt;
If you encounter sound problems (due to PulseAudio ), type:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install vlc-plugin-pulse&lt;br /&gt;
&lt;br /&gt;
and choose PulseAudio as output in VLC options.&lt;br /&gt;
&lt;br /&gt;
==== 当你插入一张DVD时如何用VLC打开 ====&lt;br /&gt;
Totem is the default program for DVD-playback in Hardy, and the is no obvious way to change it. A lot of tips that worked in previous versions no longer work. The main problem is that VLC does not register itself as a DVD-capable application. &lt;br /&gt;
&lt;br /&gt;
At the console, type:&lt;br /&gt;
&lt;br /&gt;
    cp /usr/share/applications/vlc.desktop /home/hildenae/.local/share/applications/vlc-dvd.desktop&lt;br /&gt;
&lt;br /&gt;
edit the file&lt;br /&gt;
&lt;br /&gt;
    gedit ~/.local/share/applications/vlc-dvd.desktop&lt;br /&gt;
&lt;br /&gt;
replace the line&lt;br /&gt;
&lt;br /&gt;
    Exec=vlc %U&lt;br /&gt;
&lt;br /&gt;
with either&lt;br /&gt;
:1. (all you really need)&lt;br /&gt;
&lt;br /&gt;
    Exec=vlc %f&lt;br /&gt;
&lt;br /&gt;
:2. (recommended settings from ubuntuforums for better dvd playback)&lt;br /&gt;
&lt;br /&gt;
    Exec=vlc --vout-filter deinterlace --deinterlace-mode blend --volume 512 %f&lt;br /&gt;
&lt;br /&gt;
:3. (recommended settings from ubuntuforums for better dvd playback and automatic full screen playback)&lt;br /&gt;
&lt;br /&gt;
    Exec=vlc --vout-filter deinterlace --deinterlace-mode blend --volume 512 --fullscreen %f&lt;br /&gt;
&lt;br /&gt;
Save the file and close gedit. At the console, type:&lt;br /&gt;
&lt;br /&gt;
    gedit ~/.local/share/applications/mimeapps.list&lt;br /&gt;
&lt;br /&gt;
make the line «x-content/video-dvd=» under [Added Associations] read:&lt;br /&gt;
&lt;br /&gt;
    [Added Associations]&lt;br /&gt;
    x-content/video-dvd=vlc-dvd.desktop;totem.desktop;&lt;br /&gt;
&lt;br /&gt;
Open Nautilus (default file manager), and navigate to Edit-&amp;gt;Preferences&amp;gt;Media&amp;gt;DVD Video and select VLC media player (you should be able to choose between Totem and VLC)&lt;br /&gt;
&lt;br /&gt;
=== 安装Amarok音乐播放器 ===&lt;br /&gt;
&lt;br /&gt;
Whilst Amarok is a KDE/Qt application, it will work fine on Ubuntu, and can be installed by typing:&lt;br /&gt;
&lt;br /&gt;
   sudo apt-get install amarok&lt;br /&gt;
&lt;br /&gt;
=== 安装Exaile(类Amarok音乐播放器) ===&lt;br /&gt;
&lt;br /&gt;
Exaile is a GTK, Amarok-like Music Player and it is very easy to install. In terminal, type:&lt;br /&gt;
&lt;br /&gt;
   sudo apt-get install exaile&lt;br /&gt;
&lt;br /&gt;
Make sure you have the appropriate [http://ubuntuguide.org/wiki/Ubuntu:Hardy#Installing_Codecs multimedia codecs ] installed.&lt;br /&gt;
&lt;br /&gt;
=== 安装Pulseaudio工具 ===&lt;br /&gt;
&lt;br /&gt;
This will install pulseaudio utilities such as individual application volume controls and audio server tools.&lt;br /&gt;
&lt;br /&gt;
Open a Terminal window and type the following:&lt;br /&gt;
&lt;br /&gt;
   sudo apt-get install libasound2-plugins &amp;quot;pulseaudio-*&amp;quot; paman padevchooser paprefs pavucontrol pavumeter libflashsupport&lt;br /&gt;
&lt;br /&gt;
Run Pulseaudio Device Manager from the Applications &amp;gt; Sound and Video menu to access the tools.&lt;br /&gt;
&lt;br /&gt;
== 互联网与Web开发 ==&lt;br /&gt;
&lt;br /&gt;
=== 桌面安装LAMP服务器 ===&lt;br /&gt;
&lt;br /&gt;
LAMP stands for Linux, Apache, MSQL and PHP. You can install an integrated package that includes all four from the Synaptic Package manager (if you are using a Desktop Edition).&lt;br /&gt;
&lt;br /&gt;
 System--&amp;gt;Administration--&amp;gt;Synaptic Package Manager--&amp;gt;&lt;br /&gt;
 Edit--&amp;gt;Mark Packages by Task--&amp;gt;LAMP server --&amp;gt;Apply&lt;br /&gt;
&lt;br /&gt;
=== 为本地web开发安装LAMP服务器 ===&lt;br /&gt;
&lt;br /&gt;
This will install Apache2, PHP5, MySql5, and PHPMyAdmin.&lt;br /&gt;
&lt;br /&gt;
Firstly, type the following command at the console:&lt;br /&gt;
&lt;br /&gt;
   sudo apt-get install apache2 php5 mysql-server-5.0 phpmyadmin&lt;br /&gt;
&lt;br /&gt;
This will install all the necessary applications. You may be prompted to decide on a MySQL root password (set one if you want), and to configure PHPMyAdmin (select apache2 as the server type). After this is complete, we need to perform some minor configuration to get PHPMyAdmin working. Type:&lt;br /&gt;
&lt;br /&gt;
   sudo gedit /etc/apache2/apache2.conf&lt;br /&gt;
&lt;br /&gt;
Scroll right to the bottom of the file that opens, and add:&lt;br /&gt;
&lt;br /&gt;
   # Enable PHPMyAdmin&lt;br /&gt;
   Include /etc/phpmyadmin/apache.conf&lt;br /&gt;
&lt;br /&gt;
Now save, exit, and type:&lt;br /&gt;
&lt;br /&gt;
   sudo /etc/init.d/apache2 restart&lt;br /&gt;
&lt;br /&gt;
Everything should now be configured - go to http://127.0.0.1 for webpages, and http://127.0.0.1/phpmyadmin for database administration. The webroot is located in /var/www/ by default. This is not particularly useful, as we do not have write access to this directory. Fortunately, this is easy to solve, by...&lt;br /&gt;
&lt;br /&gt;
=== 添加虚拟host到你的LAMP服务器 ===&lt;br /&gt;
This allows us to access a different folder as our webroot from a different address in our browser - face it, 'localhost' or 127.0.0.1 is boring.&lt;br /&gt;
&lt;br /&gt;
Start by adding a new host. This is easy to do via System --&amp;gt; Administration --&amp;gt; Network; click on the Hosts tab, select the localhost item from the list and click properties. You may need to click the 'Unlock' button and enter your password first. Underneath the entry 'localhost', on a new line, add your entry of choice; for example, we'll use 'testhost'. Add this, and close all the dialogs.&lt;br /&gt;
&lt;br /&gt;
Now we need to edit a configuration file, so type into the console:&lt;br /&gt;
   sudo gedit /etc/apache2/httpd.conf&lt;br /&gt;
In the resulting file (which may well be empty), add the definition for your host! My username is 'dan', and I want my webpages to be served from a directory named 'www' in my home, so I would add:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;VirtualHost *&amp;gt;&lt;br /&gt;
      ServerName testhost&lt;br /&gt;
      DocumentRoot /home/dan/www&lt;br /&gt;
   &amp;lt;/Virtualhost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I can now add files to /home/dan/www, and access them by visiting http://testhost&lt;br /&gt;
&lt;br /&gt;
== 家庭自动化/家庭影院/家庭安全 ==&lt;br /&gt;
===  完整系统 ===&lt;br /&gt;
==== Linux MCE ====&lt;br /&gt;
[http://en.wikipedia.org/wiki/LinuxMCE LinuxMCE] is an integrated home theater/home security/home automation/telephone PBX/intercom system for your home. It is a community project that is a fork of the Linux Pluto commercial endeavour. There is a version that runs on Kubuntu 7.04 (Feisty) and a version for Kubuntu 7.10 (Gutsy). A version for Kubuntu 8.04 (Hardy) is due out soon. It is available in 32 and 64 bit versions. LinuxMCE can run either as a standalone Home Theater PC or can co-ordinate a fully networked home, using the networking capabilities that are intrinsically part of the Kubuntu Linux OS. For more info see the [http://www.linuxmce.org LinuxMCE website].&lt;br /&gt;
&lt;br /&gt;
LinuxMCE can be installed at the same time as the Kubuntu OS, on a new PC with an Nvidia graphics card (6000, 7000, or 8000 series), from a single DVD. &lt;br /&gt;
&lt;br /&gt;
LinuxMCE can also be installed as an add-on package to an existing Kubuntu system, using the LinuxMCE 2 CD installation. You will need a Kubuntu LiveCD for your installation, even if you already have a full Kubuntu installation in place. (The LinuxMCE installation uses the Kubuntu LiveCD for additional modules.) Note that the LinuxMCE version must match the Kubuntu version -- i.e. the LinuxMCE 710 version CDs require the Kubuntu 7.10 (Gutsy) Live CD.&lt;br /&gt;
&lt;br /&gt;
With the 2 CD installation, it is possible to run Kubuntu separately from LinuxMCE on the same PC, but it is recommended to dedicate at least one PC to LinuxMCE as a Core server.&lt;br /&gt;
&lt;br /&gt;
LinuxMCE incorporates [http://en.wikipedia.org/wiki/MythTV MythTV], [http://plutohome.com/ Pluto] home automation, [http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome Motion] security surveillance, [http://www.asterisk.org/ Asterisk] PBX, [http://www.cadsoft.de/vdr/ VDR] video disk recorder, and other home automation/security/theater packages in an integrated platform.&lt;br /&gt;
&lt;br /&gt;
At this time, the automatic installer for Linux MCE uses the [http://kubuntuguide.org/Gutsy KDE desktop (Kubuntu)]. There are users that have made Linux MCE work with the Gnome desktop (Ubuntu) and other Linux distributions, but it is recommended to stick with the Kubuntu OS, as required by the LinuxMCE automatic installation.&lt;br /&gt;
&lt;br /&gt;
=== PVR (Personal Video Recorder) ===&lt;br /&gt;
&lt;br /&gt;
==== Mythbuntu ====&lt;br /&gt;
&lt;br /&gt;
[http://www.mythbuntu.org Mythbuntu] is an Ubuntu-based derivative (based on the Xubuntu (XFCE) desktop) that is meant to function as a standalone PVR, based on MythTV. It can be used, however, with a Gnome (Ubuntu), KDE (Kubuntu) or XFCE (Xubuntu) desktop, which can be added at any later time.&lt;br /&gt;
&lt;br /&gt;
=== 家庭安全 ===&lt;br /&gt;
==== Zoneminder监控系统 ====&lt;br /&gt;
Zoneminder manages surveillance cameras and stores images on the hard disk. Images can be viewed using a [[#Install a LAMP server on a Desktop|(LAMP) server]] remotely. X10 devices can be triggered using built-in perl scripts. For more info see the [http://www.zoneminder.com/ Zoneminder website].&lt;br /&gt;
&lt;br /&gt;
*Read [[#General Notes]]&lt;br /&gt;
*Read [[#Install a LAMP server on a Desktop]]&lt;br /&gt;
*Detailed instructions that appear to work for Gutsy are at [http://www.zoneminder.com/wiki/index.php/Main_Documentation#Installation_from_a_.deb the Zoneminder Installation Wiki].&lt;br /&gt;
&lt;br /&gt;
There is a Zoneminder package for Hardy (that was the package from Gutsy). You should be able to install the package from Synaptic Package Manager. &lt;br /&gt;
&lt;br /&gt;
However, if that does not work, try the instructions that worked for Feisty:&lt;br /&gt;
&lt;br /&gt;
*You must have the LAMP server installed. In addition, you will need additional modules:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ffmpeg libarchive-tar-perl libarchive-zip-perl libdate-manip-perl libdevice-serialport-perl&lt;br /&gt;
 sudo apt-get install libjpeg62 libmime-perl libstdc++6 libunwind7 libwww-perl zlib1g&lt;br /&gt;
&lt;br /&gt;
*Download the .deb package from the package manager's website:&lt;br /&gt;
&lt;br /&gt;
ftp://www.northern-ridge.com.au/zoneminder/ubuntu/edgy/zoneminder_1.22.3-8_i386.deb&lt;br /&gt;
&lt;br /&gt;
*Install using the Debian package manager. (No other method seems to work.)&lt;br /&gt;
&lt;br /&gt;
 dpkg -i zoneminder_1.22.3-8_i386.deb&lt;br /&gt;
&lt;br /&gt;
*(Note: If some dependencies are still unsatisfied, make sure you have these packages installed):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libc6 libc6.1 libgcc1 libgcc4 libstdc++6&lt;br /&gt;
&lt;br /&gt;
:(These should already be installed as part of the LAMP installation):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install apache2-mpm-prefork libapache2-mod-php5 libmysqlclient15off mysql-client mysql-server php5  php5-mysql&lt;br /&gt;
&lt;br /&gt;
If your installation is successful, you will now need to set up the configuration files and databases for Zoneminder.&lt;br /&gt;
&lt;br /&gt;
*Copy the configuration file and restart the Apache2 server.&lt;br /&gt;
 sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf&lt;br /&gt;
 sudo /etc/init.d/apache2 reload&lt;br /&gt;
&lt;br /&gt;
*View Zoneminder from your web browser:&lt;br /&gt;
&lt;br /&gt;
 http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
*Set up a MySQL database for Zoneminder&lt;br /&gt;
&lt;br /&gt;
:If this is the first time you have used MySQL, the default global MySQL superuser root will not have a password. You should set one now. Instructions for setting mySQL initial privileges are [http://dev.mysql.com/doc/refman/5.0/en/default-privileges.html here].&lt;br /&gt;
&lt;br /&gt;
:In short:&lt;br /&gt;
&lt;br /&gt;
 mysql -u root&lt;br /&gt;
 mysql&amp;gt; UPDATE mysql.user SET Password=PASSWORD('your_new_password') WHERE User='root';&lt;br /&gt;
 mysql&amp;gt; FLUSH PRIVILEGES;&lt;br /&gt;
 mysql&amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
:In addition, you can set up an additional global MySQL user (such as mysql_user, for example) by following the instructions [http://dev.mysql.com/doc/refman/5.0/en/create-user.html here]. That way you can reserve root login for emergencies.&lt;br /&gt;
&lt;br /&gt;
:In short:&lt;br /&gt;
&lt;br /&gt;
 mysql -u root&lt;br /&gt;
 mysql&amp;gt; CREATE USER 'mysql_user'@'localhost' IDENTIFIED BY 'mysql_user_passwd';&lt;br /&gt;
 mysql&amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
Now you must create a MySQL database for use by Zoneminder. This is an administrative MySQL command, so you must use one of your global MySQL users (either root or mysql_user, as created in the example above). You can name your Zoneminder database anything you want, instead of zmdatabase.&lt;br /&gt;
&lt;br /&gt;
 mysqladmin -u root -p CREATE zmdatabase&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 mysqladmin -u mysql_user -p CREATE zmdatabase&lt;br /&gt;
&lt;br /&gt;
Create users for the Zoneminder database. As always, I create a root user for emergency use. I use the same password for root as I do elsewhere on my system. Then I also create a user named zm_user (but you could also creat a user named mysql_user, to keep everything consistent). [I use a unique user here because this is a home security system, after all, and I don't want it breached.] These users are specific to this database; they can be the same users as used elsewhere in the system or can be unique users.&lt;br /&gt;
&lt;br /&gt;
 mysql&amp;gt; GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON zmdatabase.* TO 'zm_user'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
 mysql&amp;gt; GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON zmdatabase.* TO 'root'@'localhost' IDENTIFIED BY 'password'; (I used my usual root password here).&lt;br /&gt;
 mysql&amp;gt; quit&lt;br /&gt;
 mysqladmin reload&lt;br /&gt;
&lt;br /&gt;
Note: mysql commands (i.e. any entered at the mysql&amp;gt; prompt) must end with a semicolon. If you forget the semicolon, nothing will happen.&lt;br /&gt;
&lt;br /&gt;
====Myth Zoneminder====&lt;br /&gt;
&lt;br /&gt;
[http://mythtv.org/wiki/index.php/MythZoneMinder MythZoneminder] allows you to view your security cameras through Myth TV, essentially. It is a plugin that interfaces the two packages Zoneminder (which must be working on your system) and Myth TV (which must also be working.)&lt;br /&gt;
It can be found in Synpatic Package Manager as the mythzoneminder package.&lt;br /&gt;
&lt;br /&gt;
See the [http://mythtv.org/wiki/index.php/MythZoneMinder#Install_MythZoneMinder installation instructions].&lt;br /&gt;
&lt;br /&gt;
== 如何用Ubuntu Live CD恢复GRUB到启动分区或MBR ==&lt;br /&gt;
&lt;br /&gt;
Sometimes, if an Ubuntu installation goes wrong, or a Windows NT bootloader overwrites MBR and doesn't recognise the Linux installation, we have to restore our GRUB bootloader that is, generally, very flexible.&lt;br /&gt;
&lt;br /&gt;
First of all, we burn a Hardy Heron (Ubuntu 8.04) ISO (on a CD(R , RW) or DVD (+R , +RW)) or make sure that we have one already.&lt;br /&gt;
&lt;br /&gt;
Then, we change, in the BIOS, the boot load sequence and we put the CD/DVD option first.&lt;br /&gt;
&lt;br /&gt;
After that, we boot the Live CD, we choose the first option and in a few minutes we have arrived at the Live CD Desktop.&lt;br /&gt;
&lt;br /&gt;
So, we go :&lt;br /&gt;
&lt;br /&gt;
  Applications --&amp;gt; Accessories --&amp;gt; Terminal &lt;br /&gt;
&lt;br /&gt;
Then, we have to remember which is our Ubuntu installation partition. &lt;br /&gt;
&lt;br /&gt;
In our example, it is the second one (/dev/sda2), formatted as ext3, in the first HDD of a SATA controller. We suppose that it is the second one, since, in case we have Windows that demand to be in the first partition (/dev/sda1), this one is occupied.&lt;br /&gt;
&lt;br /&gt;
'''Now, you have to be really careful. You have to enter the right partition, instead of sda2''' (unless it is the same)&lt;br /&gt;
In the terminal :&lt;br /&gt;
&lt;br /&gt;
   cd /&lt;br /&gt;
   &lt;br /&gt;
  &lt;br /&gt;
   sudo -s -H&lt;br /&gt;
&lt;br /&gt;
   mount -t ext3 /dev/sda2 /mnt&lt;br /&gt;
&lt;br /&gt;
   mount -t proc proc /mnt/proc&lt;br /&gt;
&lt;br /&gt;
   mount -t sysfs sys /mnt/sys&lt;br /&gt;
&lt;br /&gt;
   mount -o bind /dev /mnt/dev&lt;br /&gt;
&lt;br /&gt;
   chroot /mnt  /bin/bash&lt;br /&gt;
&lt;br /&gt;
And now, you are actually &amp;quot;running&amp;quot; Ubuntu within the Hard Drive but through Live CD's terminal.&lt;br /&gt;
&lt;br /&gt;
Now we restore GRUB like that:&lt;br /&gt;
&lt;br /&gt;
1) Restoration to MBR&lt;br /&gt;
&lt;br /&gt;
   grub-install /dev/sda&lt;br /&gt;
&lt;br /&gt;
2) Restoration to partition (example: /dev/sda2)&lt;br /&gt;
&lt;br /&gt;
   grub-install /dev/sda2&lt;br /&gt;
&lt;br /&gt;
In the first case (that is the most usual) you have certainly installed GRUB on MBR after you receive, in the terminal, the message that there are no errors.&lt;br /&gt;
&lt;br /&gt;
After you reboot, you have your favorite bootloader restored.&lt;br /&gt;
&lt;br /&gt;
== 用Cryptsetup&amp;amp;LUKS加密home分区 ==&lt;br /&gt;
&lt;br /&gt;
First step is to backup all necessary data, if something goes wrong '''your data will be lost in the process if it's not backed up.'''  Also note that your home folder needs to be located on a separate partition than your root partition, if not see [[#How to make partitions]].&lt;br /&gt;
&lt;br /&gt;
Second, install necessary software:&lt;br /&gt;
&lt;br /&gt;
   sudo apt-get install cryptsetup&lt;br /&gt;
&lt;br /&gt;
Insert the new module, dm-crypt into the kernel:&lt;br /&gt;
&lt;br /&gt;
   sudo modprobe dm-crypt&lt;br /&gt;
&lt;br /&gt;
Check to see what encryption schemes are available:&lt;br /&gt;
&lt;br /&gt;
   cat /proc/crypto&lt;br /&gt;
&lt;br /&gt;
If only MD5 is listed, try inserting the appropriate modules into the kernel:&lt;br /&gt;
&lt;br /&gt;
   sudo modprobe serpent&lt;br /&gt;
&lt;br /&gt;
Above is an example, this could also be twofish, blowfish or anything other crypto module that you would like to use.&lt;br /&gt;
&lt;br /&gt;
The following commands will assume that your home partition is /dev/sda1, please change it to match your ''own'' configuration.&lt;br /&gt;
&lt;br /&gt;
Next step we use cryptsetup to change the partition with the luksFormat option, '''this command will cause you to lose all data on /dev/sda1.'''&lt;br /&gt;
&lt;br /&gt;
   sudo cryptsetup luksFormat -c algorithm -y -s size /dev/sda1&lt;br /&gt;
&lt;br /&gt;
Where algorithm is the algorithm that you chose above such as serpent aes, etc.&lt;br /&gt;
&lt;br /&gt;
Size is the key size for encryption, this is generally 128 or 256.  Without specifying the algorithm or the size, I believe it defaults to AES 256, more information and additional options can be found by reading the man page.  The above step will ask you to choose a password and verify it.  Do not forget this password.&lt;br /&gt;
&lt;br /&gt;
We can then use the luksOpen option to open the encrypted drive.&lt;br /&gt;
&lt;br /&gt;
   sudo cryptsetup luksOpen /dev/sda1 home&lt;br /&gt;
&lt;br /&gt;
Home is a nickname which cryptsetup uses to refer to /dev/sda1.  It also creates the device /dev/mapper/home, this is what you would actually mount to access the filesystem.  If you specify another name other than home, it will create the device /dev/mapper/[name], where [name] is the nickname that cryptsetup will use.  This step will ask you for your LUKS passphrase, this is the password you created in the previous step.&lt;br /&gt;
&lt;br /&gt;
Next, we create the actual filesystem on the device.  I use reiserfs, but it could just as well be ext3.&lt;br /&gt;
&lt;br /&gt;
   sudo mkreiserfs /dev/mapper/home&lt;br /&gt;
&lt;br /&gt;
Or&lt;br /&gt;
&lt;br /&gt;
   sudo mkfs.ext3 /dev/mapper/home&lt;br /&gt;
&lt;br /&gt;
Next step is to mount your encrypted device and copy your files back to your home directory.&lt;br /&gt;
&lt;br /&gt;
   mkdir new_home&lt;br /&gt;
   sudo mount /dev/mapper/home new_home&lt;br /&gt;
   cp -r * new_home&lt;br /&gt;
&lt;br /&gt;
Now we have to set up everything so that it's ready to go at boot, we need to tell the system that there are encrypted disks that we want mounted.&lt;br /&gt;
&lt;br /&gt;
   gksudo gedit /etc/crypttab&lt;br /&gt;
&lt;br /&gt;
Enter the following as one line at the end of the file.&lt;br /&gt;
&lt;br /&gt;
   home       /dev/sda1       none       luks,tries=3&lt;br /&gt;
&lt;br /&gt;
remember home can be any name that you want, just remember that this maps to /dev/mapper/[name].  The option tries=3 allows 3 tries before a reboot is required or the disk is not decrypted.&lt;br /&gt;
&lt;br /&gt;
Next enter the device info in fstab that we want to mount on boot.&lt;br /&gt;
&lt;br /&gt;
   gksudo gedit /etc/fstab&lt;br /&gt;
&lt;br /&gt;
Enter the information as one line at the end of the file.&lt;br /&gt;
&lt;br /&gt;
   /dev/mapper/home       /home       reiserfs       defaults       0       0&lt;br /&gt;
&lt;br /&gt;
Remember to substitute /dev/mapper/home with your device /dev/mapper/[name], /home is the mount point, since this is our home directory, reiserfs is the filesystem type, put ext3 if you formatted it as ext3.  For now the default options should be good, change this if you need/require something else.  Also, now is a good time to remove the old /dev/sda1 device entry so that fstab doesn't try to load it at boot.  This can be accomplished by commenting out the /dev/sda1 line or deleting it.&lt;br /&gt;
&lt;br /&gt;
Final step is to make sure that the proper modules are loaded at boot time.  &lt;br /&gt;
&lt;br /&gt;
   gksudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Now add dm-crypt and the crypto module that you used earlier, such as serpent, aes, etc.  Each needs to be on its own line.&lt;br /&gt;
&lt;br /&gt;
   dm-crypt&lt;br /&gt;
   serpent&lt;br /&gt;
&lt;br /&gt;
That should be it, all that's required is a reboot.  During the reboot process, the computer will say &amp;quot;Starting early crypto disks&amp;quot; and ask for your passphrase.  If the passphrase is accepted, it will unlock the encrypted partition and mount it on your specified mount point.&lt;br /&gt;
&lt;br /&gt;
== Aliases ==&lt;br /&gt;
&lt;br /&gt;
You can change the way you enter a command in order to be executed by entering an alias.&lt;br /&gt;
&lt;br /&gt;
For example, you may enter in a terminal &amp;quot;update-system&amp;quot; (a command that in face doesn't exists) that replaces &amp;quot;sudo apt-get update&amp;quot;. You can do the same thing for other commands.&lt;br /&gt;
&lt;br /&gt;
This is what you do. Our example is going to be the alias of the command &lt;br /&gt;
&lt;br /&gt;
  ls -FCal --color=auto&lt;br /&gt;
&lt;br /&gt;
that shows with colours and many details the contents of a folder.&lt;br /&gt;
&lt;br /&gt;
Open a terminal&lt;br /&gt;
&lt;br /&gt;
   Applications --&amp;gt; Accessories --&amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
and enter&lt;br /&gt;
&lt;br /&gt;
   gedit ~/.bashrc&lt;br /&gt;
&lt;br /&gt;
'''Be carefull now. Don't erase anything there.'''&lt;br /&gt;
&lt;br /&gt;
Now, go to the end of the document and enter&lt;br /&gt;
&lt;br /&gt;
   alias ll=&amp;quot;ls -FCal --color=auto&amp;quot;&lt;br /&gt;
&lt;br /&gt;
As you can see, now with the command &lt;br /&gt;
&lt;br /&gt;
   ll&lt;br /&gt;
&lt;br /&gt;
whenever we want, we call, in fact, this one&lt;br /&gt;
&lt;br /&gt;
   ls -FCal --color=auto&lt;br /&gt;
&lt;br /&gt;
You can do the same thing for other commands that need a lot of switches.&lt;br /&gt;
&lt;br /&gt;
Save the document, close the terminal and reopen it. You may now check your new alias.&lt;br /&gt;
&lt;br /&gt;
== 点滴&amp;amp;教程 ==&lt;br /&gt;
&lt;br /&gt;
=== 修改欢迎屏幕颜色 ===&lt;br /&gt;
&lt;br /&gt;
Originally a brownish color to match the Ubuntu theme, it does not quite fit with other themes and might want to be changed.&lt;br /&gt;
Enter the gdm.conf file (sudo gedit /etc/gdm/gdm.conf). About two-thirds of the way down you will see the lines:&lt;br /&gt;
  BackgroundColor=#dab082&lt;br /&gt;
  GraphicalThemedColor=#dab082&lt;br /&gt;
&lt;br /&gt;
Change it to what you like. For all black, use:&lt;br /&gt;
  BackgroundColor=#000000&lt;br /&gt;
  GraphicalThemedColor=#000000&lt;br /&gt;
&lt;br /&gt;
=== 修改默认终端窗口尺寸 ===&lt;br /&gt;
&lt;br /&gt;
The default size of the Terminal window is around 80 columns wide and 24 columns high. To alter this, edit the file /usr/share/vte/termcap/xterm. You can use the following command:&lt;br /&gt;
  sudo gedit /usr/share/vte/termcap/xterm&lt;br /&gt;
Just a few lines from the top will be the line reading:&lt;br /&gt;
  :co#80:it#8:li#24:\&lt;br /&gt;
Change the number right after co# to change the width.&lt;br /&gt;
Change the number right after li# to change the height.&lt;br /&gt;
&lt;br /&gt;
== 如何格式化分区 ==&lt;br /&gt;
&lt;br /&gt;
It is very easy to make partitions with Ubuntu .&lt;br /&gt;
&lt;br /&gt;
Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
   sudo apt-get install gparted&lt;br /&gt;
&lt;br /&gt;
Then navigate to &lt;br /&gt;
 &lt;br /&gt;
   System --&amp;gt; Administration --&amp;gt; Partition Editor&lt;br /&gt;
&lt;br /&gt;
Then gParted is going to check for your disks and partitions.&lt;br /&gt;
&lt;br /&gt;
There you can modify your partitions but on those that are NOT on the System.&lt;br /&gt;
&lt;br /&gt;
More info :&lt;br /&gt;
&lt;br /&gt;
1) Usage of gParted (it is distributed as Live CD as well) --&amp;gt;http://howtoforge.com/partitioning_with_gparted&lt;br /&gt;
&lt;br /&gt;
2) How to separate your /home partition in Ubuntu --&amp;gt; http://www.psychocats.net/ubuntu/separatehome&lt;br /&gt;
&lt;br /&gt;
== 如何启用Compiz Fusion ==&lt;br /&gt;
&lt;br /&gt;
In Ubuntu Hardy Heron, [http://en.wikipedia.org/wiki/Compiz_Fusion Compiz Fusion] is already installed and is automatically enabled after you have installed [http://ubuntuguide.org/wiki/Ubuntu:Hardy#Graphics_cards_and_displays your graphics' card drivers].&lt;br /&gt;
&lt;br /&gt;
The only thing you have to do is to install the Compiz Configuration Settings Manager.&lt;br /&gt;
&lt;br /&gt;
Open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
&lt;br /&gt;
and it shall be installed. After that navigate to:&lt;br /&gt;
&lt;br /&gt;
    System --&amp;gt; Preferences --&amp;gt; Advanced Desktop Effects Settings&lt;br /&gt;
&lt;br /&gt;
and there you may enable/disable any plugin you want.&lt;br /&gt;
&lt;br /&gt;
== 附加应用程序 ==&lt;/div&gt;</description>
			<pubDate>Mon, 31 Aug 2009 03:13:34 GMT</pubDate>			<dc:creator>Pigling</dc:creator>			<comments>http://ubuntuguide.org/wiki/Ubuntu_talk:Hardy_cn</comments>		</item>
	</channel>
</rss>