个人工具

“Ubuntu:Hardy/zh”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
Add a program to the Applications menu
(已恢复1.202.39.53对话)的编辑至220.164.101.201的最后一个修订版本)
 
(未显示14个用户的38个中间版本)
第6行: 第6行:
 
'''Ubuntu Hardy Heron, 发布于2008年4月24日,是 [[Ubuntu:Gutsy|Gutsy Gibbon]] 的延续. 请帮助测试和完善本指南.'''
 
'''Ubuntu Hardy Heron, 发布于2008年4月24日,是 [[Ubuntu:Gutsy|Gutsy Gibbon]] 的延续. 请帮助测试和完善本指南.'''
  
本指南是由 [[User:Jiyuu0|Chua Wen Kiat]] (Kuala Lumpur, Malaysia) 开始编写。
+
本指南是由 [[User:Jiyuu0|Chua Wen Kiat]] (Kuala Lumpur, 马来西亚) 开始编写。
  
 
__TOC__
 
__TOC__
第14行: 第14行:
  
 
* Ubuntu 8.04 发布于2008年4月24日 。
 
* Ubuntu 8.04 发布于2008年4月24日 。
* 名字叫做 Hardy Heron ,是 Ubuntu 7.10 Gutsy Gibbon 的延续版本 。
+
* 代号叫做 Hardy Heron ,是 Ubuntu 7.10 Gutsy Gibbon 的延续版本 。
* * Hardy Heron 是一个 LTS (长期支持) 版本 , 将提供服务器版本五年和桌面版本三年的安全升级支持。
+
* * Hardy Heron 是一个 LTS (长期支持) 版本 , 将提供服务器版本五年和桌面版本三年的安全性升级支持。
  
 
=== 如何找出您正在使用的哪个版本 ===
 
=== 如何找出您正在使用的哪个版本 ===
第32行: 第32行:
  
 
* Ubuntu 使用6个月的发布周期
 
* Ubuntu 使用6个月的发布周期
* 发布时间为4月和十月
+
* 发布时间为4月和10月
* 下一个发行版计划于2008年10月30日,命名为 Ubuntu 8.10 (Intrepid Ibex)。
+
* 下一个发行版计划于2009年10月30日,命名为  Ubuntu9.10 (代号Karmic Koala )。
  
 
=== 关于 Ubuntu 和官方的 Ubuntu 衍生版 ===  
 
=== 关于 Ubuntu 和官方的 Ubuntu 衍生版 ===  
第62行: 第62行:
 
=== 使用 控制台 / 终端 / shell ===
 
=== 使用 控制台 / 终端 / shell ===
  
控制台, 终端, 和 shell 意味着同样一件事 - 一个命令行界面. 他可以用来控制系统从而代理图形用户界面 (GUI)。 这个指南本的大部分任务都可以使用GUI来完成, 但对于大多数用户而言使用命令行更加简单。
+
控制台, 终端, 和 shell 意味着同样一件事 - 一个命令行界面. 他可以用来控制系统从而代替图形用户界面 (GUI)。 这个指南本的大部分任务都可以使用GUI来完成, 但对于大多数用户而言使用命令行更加简单。
  
 
打开一个控制台:
 
打开一个控制台:
第68行: 第68行:
 
  应用程序 --> 附件 --> 终端
 
  应用程序 --> 附件 --> 终端
  
任何一个使用 'sudo' 作为前缀的命令都需要拥有管理员 (或 root) 访问权限。 所以你会被提示输入你自己的密码。
+
任何一个使用 'sudo' 作为前缀的命令都需要拥有管理员 (或 root) 访问权限。 所以在输入命令之后你会被提示输入当前使用中用户的密码。
 
+
=== 使用 manpages 显示命令行的参数和帮助 ===
+
  
 +
=== 使用 manpages 显示命令行的参数和帮助
 
大多数的程序和命令都含有一个帮助手册或者屏幕,称为 "manpages"。
 
大多数的程序和命令都含有一个帮助手册或者屏幕,称为 "manpages"。
  
第84行: 第83行:
 
将显示 apt-get 命令的选项。
 
将显示 apt-get 命令的选项。
  
=== Windows 和 Ubuntu 双启动 ===
+
=== Windows 和 Ubuntu 双启动 ===
 +
 
 +
您可能遇到Ubuntu 和 基于 Windows Vista 新引导程序的双启动问题。 Wubi (Windows Based Ubuntu Installer, 基于 Windows 的 Ubuntu 安装程序) 是一个正式支持双启动的安装程序。 如果你使用 Wubi 有任何问题, EasyBCD 是一个免费的 Windows 程序,可以快速和安全的完成 Windows Vista 和 Ubuntu (或其它发行版)的双启动.
  
您可能遇到遇到 Ubuntu 和 基于 Windows Vista 新引导程序的双启动问题。 Wubi (基于 Windows 的 Ubuntu 安装程序) 是一个正式支持双启动的安装程序。 如果你使用 Wubi 有任何问题, EasyBCD 是一个免费的 Windows 程序,可以快速和安全的完成 Windows Vista 和 Ubuntu (或其它发行版)的双启动.
+
*[http://www.wubi-installer.org/ Wubi 安装程序]  
*[http://www.wubi-installer.org/ Wubi 安装程序]
+
*[http://neosmart.net/dl.php?id=1 下载 EasyBCD]  
*[http://neosmart.net/dl.php?id=1 下载 EasyBCD]
+
 
*[http://neosmart.net/wiki/display/EBCD/Ubuntu Ubuntu 和 Windows Vista 双启动说明]
 
*[http://neosmart.net/wiki/display/EBCD/Ubuntu Ubuntu 和 Windows Vista 双启动说明]
  
第125行: 第125行:
 
您可以从命令行安装包或者从新立得软件包管理器
 
您可以从命令行安装包或者从新立得软件包管理器
  
=== 如果使用 Apt 安装包 (从命令行终端) ===
+
=== 如何使用 Apt 安装包 (从命令行终端) ===
 
*Apt 是 Debian 包管理器,同样也在 Ubuntu 下使用良好。
 
*Apt 是 Debian 包管理器,同样也在 Ubuntu 下使用良好。
  
第136行: 第136行:
 
   sudo apt-get install package
 
   sudo apt-get install package
  
:*安装音乐播放器 Amarok, 例如:
+
:*例如,安装音乐播放器 Amarok:
  
 
   sudo apt-get install amarok
 
   sudo apt-get install amarok
第144行: 第144行:
 
   sudo apt-get remove package
 
   sudo apt-get remove package
  
:*删除 Exaile 音乐播放器, 例如:
+
:*例如,删除 Exaile 音乐播放器:
  
 
   sudo apt-get remove exaile
 
   sudo apt-get remove exaile
第161行: 第161行:
  
 
*点击 "应用"。 新立得将计算选择包的依赖关系,将其一并安装到系统。
 
*点击 "应用"。 新立得将计算选择包的依赖关系,将其一并安装到系统。
 +
test
  
 
== 查找软件包/程序 ==
 
== 查找软件包/程序 ==
第222行: 第223行:
 
   locate <applicationname>
 
   locate <applicationname>
  
== Graphics cards and displays ==
+
== 显卡和显示 ==
  
=== Installation of ATI and nVidia Graphics drivers ===
+
=== 安装 ATI nVidia 显卡驱动 ===
====Install restricted drivers====
+
====安装受限制的驱动====
===== NVidia Driver =====
+
===== NVidia 驱动 =====
  
*Determine what kernel you have running:
+
更多NVIDIA驱动安装详细信息(参阅http://wiki.ubuntu.org.cn/NVIDIA)
 +
 
 +
*确定您现在运行的内核版本:
  
 
  user@localhost:~$ uname -a
 
  user@localhost:~$ uname -a
 
  Linux ubuntu804server 2.6.24-17-server #1 SMP Thu May 1 14:28:06 UTC 2008 x86_64 GNU/Linux
 
  Linux ubuntu804server 2.6.24-17-server #1 SMP Thu May 1 14:28:06 UTC 2008 x86_64 GNU/Linux
  
*I have the '''server''' kernel, so I need to install the following:
+
*我有一个 '''server''' 内核, 因此我需要安装下面的:
  
 
  sudo apt-get install linux-restricted-modules-server
 
  sudo apt-get install linux-restricted-modules-server
  
You can also install this package from Synaptic Package Manager (which I did.)
+
你也可以从新立得软件包管理器来安装
  
*Go to '''''System > Administration > Restricted Drivers Manager''''' and turn on the driver.
+
*点击 '''''系统 > 系统管理 > 硬件驱动''''' 并打开驱动.
  
*Reboot
+
*重启
  
*Some users may receive an error screen: "The software source for the packsge nvidia-glx-new is not enabled." This can be overcome by going to '''''System > Administration > Software Sources''''' and ticking all the boxes under the heading "Downloadable from the Internet", click close and then allow Ubuntu to reload the package lists. The NVidia drivers can then be enabled using the method above.
+
*有些用户可能得到如下错误信息: "这个 nvidia-glx-new 包的软件来源并不被允许启动." 可以如下修复,到 '''''系统 > 系统管理 > 软件源''''' "可从互联网下载"页面,勾选下面所有的选项, 点击关闭将重新更新包列表. NVidia 驱动能通过上面的办法可用。
  
*You can optionally prevent showing NVidia logo on startup by:
+
*您可以选择启动时不显示 NVidia 标志:
 
  sudo nvidia-xconfig --no-logo
 
  sudo nvidia-xconfig --no-logo
  
==== Install latest EnvyNG driver (ATI & nVidia) ====
+
==== 安装 EnvyNG 驱动 (ATI & nVidia) ====
*Ensures you are always running the latest version of the drivers.
+
*确保您正在运行最新版本的驱动程序.
*Read [http://albertomilone.com/envyngfaq.html#A this faq].  
+
*阅读 [http://albertomilone.com/envyngfaq.html#A 这个指南].  
  
*Install the gtk package:
+
*安装 gtk 软件包:
 +
<pre>sudo apt-get install envyng-gtk</pre>
  
  sudo apt-get install envyng-gtk
+
对于最新的ATI/AMD二进制驱动的apt-get安装
 +
<pre>sudo add-apt-repository ppa:ubuntu-x-swat/x-updates</pre>
 +
<pre>sudo apt-get update</pre>
 +
<pre>sudo apt-get install fglrx</pre>
  
==== Install drivers from the repository (ATI & nVidia) ====
+
==== 安装驱动从软件仓库 (ATI & nVidia) ====
  
*From Synaptic Package Manager:
+
*从新立得软件包管理器:
  
   System --> Administration --> Hardware Drivers
+
   系统 > 系统管理 > 硬件驱动
  
*Choose your Graphics Card and desired options.
+
*选择您的显卡和所需的选项:
  
*Reboot.
+
*重启.
  
==== Open Source rRadeon driver (ATI)====
+
==== 开源的 rRadeon 驱动 (ATI)====
*For those that have older ATi GPU installed
+
*针对于那些老的 ATi GPU  
*See [https://help.ubuntu.com/community/RadeonDriver these instructions].
+
*参考 [https://help.ubuntu.com/community/RadeonDriver 这些指示].
  
==== RadeonHD driver (ATI only)====
+
==== RadeonHD 驱动 (ATI only)====
*For those that own the latest ATi cards (2xxx and 3xxx generations) and can't have appropriate display with the latest ATi drivers (via EnvyNG) or with the repository driver.
+
*对于那些最新的 ATi 显卡 (2xxx 3xxx) 并且使用最新的ATi驱动无法显示 (通过 EnvyNG) 或者软件仓库带的驱动.
  
*Make sure that you don't have another ATI driver installed.
+
*确保您没有安装其它的 ATI 驱动.
*Also see this location for [http://www.phoronix.com/scan.php?page=article&item=842&num=1 more info].  
+
*也可以阅读这里 [http://www.phoronix.com/scan.php?page=article&item=842&num=1 更多信息].  
  
*Search Synaptic Package Manager for the package:
+
*在新立得软件包管理器搜索下面的软件包:
  
 
   xf86-video-radeonhd
 
   xf86-video-radeonhd
  
==== Fix for Video Playback Problem in Compiz-Fusion ====
+
==== 修复在 Compiz-Fusion 下视频回放的问题 ====
Problem:
+
问题:
While running Compiz-Fusion in fullscreen, a blue screen appears instead of special effects (3D cube, expo window viewing, video while moving the window).
+
当在 Compiz-Fusion 下全屏时, 一个蓝色的屏幕代替了应该出现的特效。
  
Solution:
+
解决方案:
Try [http://www.ubuntugeek.com/fix-for-video-playback-problem-in-compiz-fusion.html this fix].
+
尝试 [http://www.ubuntugeek.com/fix-for-video-playback-problem-in-compiz-fusion.html 这个修复].
  
Note: This fix is not a permanent fix. It makes your CPU render the video, not your graphic card. The video will seem pixelated when re-sized at a higher resolution because the CPU is not able to post-process the video (and taxes your system resources). There seems to be no current fix for this video playback issue. This is a driver problem at the X-Server side.
+
注意:此修补不是一个永久性的修复。它使用您的CPU渲染视频,而不是您的显卡。当在高分辨率下改变大小时,视频将显示一格一格的点,因为 CPU 是无法后处理的视频(额外消耗您的系统资源) 。似乎目前无法修复此视频播放问题,这是一个X服务器端的驱动程序问题。
  
=== Configuring multiple monitors with a nVidia graphics card ===
+
=== 配置 nVidia 显卡的多个显示器 ===
  
Install the nVidia graphics control panel:  
+
安装 nVidia 显卡控制面板:  
  
 
   sudo apt-get install nvidia-settings
 
   sudo apt-get install nvidia-settings
  
And then run the configuration utility:
+
并运行配置工具:
  
 
   gksu nvidia-settings
 
   gksu nvidia-settings
  
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.
+
您可以配置您的所有显示器,设置单独的刷新率,并改变相对于其它的定位。当您完成时,请务必按一下'储存到X配置文件' 。某些显示器可能有问题; 注销再重新登录可解决这个问题。
  
==Wireless adapters==
+
==无线网卡==
A lot of wireless devices should work out of the box. They can be configured using the networking tool ''System -> Administration -> Network''
+
大多数的无线设备都工作正常。 可以点击 ''系统 -> 系统管理 -> 网络工具'' 来配置它们。
=== Atheros 5007EG with madwifi on i386 platform ===
+
=== Atheros 5007EG madwifi i386 平台 ===
  
For those, who have an Atheros 5007EG chipset and can’t get it working with ndiswrapper.This guide only works on i386 platforms, so if you’re running an x64 linux, then you’ve to try again with ndiswrapper or wait for a new solution from atheros and madwifi.
+
对于那些, 使用 Atheros 5007EG 芯片的用户将无法使用 ndiswrapper 工作.这个手册仅仅适合 i386 平台, 因此如果您运行 x64 linux, 那么您继续尝试 ndiswrapper 或从 atheros madwifi 等待一个新的解决方案.
  
[http://www.ubuntugeek.com/atheros-5007eg-with-madwifi-on-i386-platform.html atheros and madwifi]
+
[http://www.ubuntugeek.com/atheros-5007eg-with-madwifi-on-i386-platform.html atheros madwifi]
  
=== Atheros AR5007 wireless with madwifi on Ubuntu 8.04 (Hardy heron) ===
+
=== Atheros AR5007 wireless madwifi Ubuntu 8.04 (Hardy heron) ===
  
If you have Atheros AR5007 wireless network adapter follow this procedure to make it work in ubuntu 8.04  
+
如果您使用 Atheros AR5007 无线网卡,按照下面的步骤让它在 ubuntu 8.04 下正常工作
  
[http://www.ubuntugeek.com/atheros-ar5007-wireless-with-madwifi-on-ubuntu-804-hardy-heron.html Atheros AR5007 wireless with madwifi]
+
[http://www.ubuntugeek.com/atheros-ar5007-wireless-with-madwifi-on-ubuntu-804-hardy-heron.html Atheros AR5007 wireless madwifi]
  
 
===Atheros ar242x===
 
===Atheros ar242x===
The driver for the atheros ar242x wireless adapters seems to come out of the box as it is installed as a proprietary driver (see ''System -> Administration -> Hardware Drivers''). You may notice however that no wireless device is found by your network tool (System -> Administration -> Network). The following post below might fix your issue without having to install ndiswrapper for support of windows drivers.
+
atheros ar242x 无线网卡的驱动作为一个私有的驱动看起来已经可以用了 (参考 ''系统 > 系统管理 > 硬件驱动'')。 您可以注意到在您的网路工具 (系统 > 系统管理 > 网络)并没有发现无线网卡。 以下的步骤可能会解决您的问题,从而无需安装 ndiswrapper 支持 Windows 驱动程序。
 
   
 
   
 
http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/
 
http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/
  
Note: the downside of this approach is that you will have to recompile the driver with every new kernel update.
+
注意:这种做法的坏处是,每一个新的内核更新后,您将不得不重新编译驱动。
  
===Intel Corporation PRO/Wireless 2915ABG Network===
+
===Intel Corporation PRO/Wireless 2915ABG 网络===
Though this support is pre-built in ubuntu hardy...but on some laptops such as Acer Travelmate C200, the wireless press button doesn't blink and the user has no indication of device as working.A very simple solution is as follows:
+
虽然这个支持已经预先建立在了 ubuntu hardy...但对于有一些笔记本电脑,例如 Acer Travelmate C200, 无线按钮没有反应,用户不能知道设备是否在工作。一个非常简单的解决办法如下:
  
Step 1:
+
第一步:
 
         sudo cat > ipw2200.modprobe << "EOF"
 
         sudo cat > ipw2200.modprobe << "EOF"
 
         options ipw2200 led=1
 
         options ipw2200 led=1
 
         EOF
 
         EOF
  
Step 2:
+
第二步:
 
         sudo mv ipw2200.modprobe /etc/modprobe.d/
 
         sudo mv ipw2200.modprobe /etc/modprobe.d/
  
Step 3:
+
第三步:
  
         Run "lsmod |grep ipw2200" to check if ipw2200 module is loaded....Restart System and enjoy!
+
         运行 "lsmod |grep ipw2200" 来检查 ipw2200 模块是否被装载....重新启动系统即可享受乐趣!
  
== How to Backup Your Ubuntu Desktop ==
+
== 如何备份您的 Ubuntu 桌面 ==
  
=== Pybackpack - A user friendly file backup tool for Ubuntu Linux Desktop ===
+
=== Pybackpack - 一个针对 Ubuntu Linux 桌面的友好文件备份工具 ===
  
A graphical tool to make file backup simpler. Provides a user-friendly interface which allows you to back up your files easily to an archive, to a CD/DVD or to a remote location using SSH.
+
图形化的工具使文件备份简单。提供了一个友好的用户界面可让您备份您的文件到一个压缩档,或者 CD/DVD 或者使用 SSH 的远程位置。
  
Installation guide including screenshots [http://www.ubuntugeek.com/pybackpack-a-user-friendly-file-backup-tool-for-ubuntu-linux-desktop.html check here]
+
包含了截图的安装指南 [http://www.ubuntugeek.com/pybackpack-a-user-friendly-file-backup-tool-for-ubuntu-linux-desktop.html 点击这里]
  
  
== How to install multimedia support on Hardy Heron ==
+
== 如何在 Hardy Heron 上安装多媒体支持 ==
  
=== Installing Codecs ===
+
=== 安装解码包 ===
  
 
   sudo apt-get update
 
   sudo apt-get update
  
To be upgraded. Please check that you have all repositories enabled in '''''System > Administration > Software sources'''''.
+
准备好后. 请检查你所有的仓库源都开启了,位于 '''''系统 > 系统管理 > 软件源'''''.
  
Then run this command:
+
然后运行下面命令:
  
 
   sudo apt-get install ubuntu-restricted-extras
 
   sudo apt-get install ubuntu-restricted-extras
  
 +
现在您已经有了用来播放您自己多媒体的大部分解码器。
  
Now you have the most of the codecs needed to play most of the multimedia you may own.
+
=== 安装 DVD 支持 ===
  
=== Installing DVD Support ===
+
如果您需要安装解码器在 i386 和 64 位,点击 [http://www.ubuntugeek.com/install-mplayer-and-multimedia-codecs-libdvdcss2w32codecsw64codecs-in-ubuntu-804-hardy-heron.html 这个]
  
If you want to install codecs in i386 and 64 bit check [http://www.ubuntugeek.com/install-mplayer-and-multimedia-codecs-libdvdcss2w32codecsw64codecs-in-ubuntu-804-hardy-heron.html This]
+
如果您需要一个自动运行的脚本,到 [http://www.hildoersystems.com/index.php/home/62 这里].
  
If you want a script to automate this for you, go [http://www.hildoersystems.com/index.php/home/62 here].
+
在控制台,输入:
 
+
At the console, type:
+
  
 
   sudo gedit /etc/apt/sources.list
 
   sudo gedit /etc/apt/sources.list
  
Αnd paste in the end of the file the below:
+
在文件的最后增加下面的内容:
  
 
   ## Medibuntu - Ubuntu 8.04 "hardy"  
 
   ## Medibuntu - Ubuntu 8.04 "hardy"  
第377行: 第383行:
 
   deb http://packages.medibuntu.org/ hardy free non-free
 
   deb http://packages.medibuntu.org/ hardy free non-free
  
save the document and then in the terminal type:
+
保存文档后在终端输入:
  
 
   wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
 
   wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
  
in order to receive the appropriate key.
+
用来得到相对应的密钥。
  
Finally, at the terminal, type:
+
最后,在终端输入:
  
 
     sudo apt-get update  
 
     sudo apt-get update  
第389行: 第395行:
 
     sudo apt-get install libdvdcss2
 
     sudo apt-get install libdvdcss2
  
== Revision ==
+
== 校订 ==
I used this method and DVD movies wouldn't play previews or allow me to go to the Main Menu.
+
我用了这个方法,但是 DVD 影片却不能预览,或让我回到主菜单。
English DVD's would also play French or Spanish language when set to Auto in Language.
+
当语言设置为自动时,英文的DVD却使用法文或西班牙文播放。
  
I used this [http://ubuntuforums.org/showthread.php?t=828342&highlight=dvd+xinelink forum page] to get my DVD working and it works great! Not just for xubuntu.
+
我使用了这个 [http://ubuntuforums.org/showthread.php?t=828342&highlight=dvd+xinelink 论坛页面]上的方法来让我的 DVD 影片工作,并且运行的很好!甚至不只是在 Xubuntu 下能用。
  
This has also been completely automated for all versions of Ubuntu here: [http://www.hildoersystems.com/index.php/home/62 http://www.hildoersystems.com/index.php/home/62].
+
这个是全自动完成,适合所有 Ubuntu 版本: [http://www.hildoersystems.com/index.php/home/62 http://www.hildoersystems.com/index.php/home/62].
  
I just set up a fresh box, here's what worked well to take care of dvd/cd playback.
+
方法 1:
Run in order
+
我仅仅新开了一个窗口, 下面的方法将 dvd/cd 回放的问题处理的很好。
 +
运行下面的命令:
  
Code:
+
代码:
 
       sudo wget http://www.medibuntu.org/sources.list.d/hardy.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
  
第407行: 第414行:
 
       sudo apt-get install vlc libdvdcss2 ubuntu-restricted-extras w32codecs
 
       sudo apt-get install vlc libdvdcss2 ubuntu-restricted-extras w32codecs
  
Thats it.
+
就这些。
  
To add the better totem-xine player as default totem player
+
用于增加更好的 totem-xine 播放器用来取代缺省的 totem 播放器
  
 
       sudo apt-get install totem-xine
 
       sudo apt-get install totem-xine
第415行: 第422行:
 
       sudo update-alternatives --config totem
 
       sudo update-alternatives --config totem
  
choose 2
+
方法 2
  
edit : the libdvdread3/install-css.sh thing is somewhat outdated, much better to get your libs, codecs and players from medibuntu. In the rare case the current libdvdcss2 doesn't work for your system then that's an option
+
编辑 : libdvdread3/install-css.sh 这个有些过时了, 最好的选择是从 medibuntu 获得您需要的库,解码器和播放器,在一些少见的案例中,当前的 libdvdcss2 无法在你的系统上工作,下面是另外的选择
  
 
=== Pulseaudio ===
 
=== Pulseaudio ===
  
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:
+
Xubuntu, 您可以体验到一些小问题,从 Gutsy 升级后 Pulseaudio 没有声音。 原因可能是 Pulseaudio 服务没有启动。 音效服务没有在启动时自动启动 (为了降低使用音效崩溃的风险), 但在登录后。 因此, 您可以为 Pulseaudio 增加一个项目到自动启动程序中。 下面是一个范例:
  
 
  :[Desktop Entry]<br>
 
  :[Desktop Entry]<br>
第434行: 第441行:
 
  :Hidden=false<br>
 
  :Hidden=false<br>
  
=== Installing VLC Media Player ===
+
=== 安装 VLC Media 播放器 ===
  
At the console, type:
+
在控制台输入:
  
 
   sudo apt-get install vlc
 
   sudo apt-get install vlc
  
To remove,
+
删除,
  
 
  sudo apt-get --purge autoremove vlc
 
  sudo apt-get --purge autoremove vlc
  
If you encounter sound problems (due to PulseAudio ), type:
+
如果您遇到声音的问题 (因为 PulseAudio ), 输入:
  
 
     sudo apt-get install vlc-plugin-pulse
 
     sudo apt-get install vlc-plugin-pulse
  
and choose PulseAudio as output in VLC options.
+
并在 VLC 选项中选择 PulseAudio 作为输出。
  
==== How to make VLC open when you insert a DVD ====
+
==== 如何当您插入一个 DVD 时,使用 VLC 打开 ====
Some users may run into problems using Totem to play DVDs. Totem is the default program for DVD-playback in Hardy, and there 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. These steps will set VLC media player as your default DVD player.
+
有些用户使用 Totem 播放 DVD 时有些问题。 Totem 是 Hardy 缺省的 DVD-回放程序, 而且没有明显的办法修改。 很多之前版本的技巧不再适合。 这个主要的问题在于 VLC 没有将自己注册为一个可以播放 DVD 的程序。 下面的步骤可以设置 VLC 媒体播放器作为您缺省的 DVD 播放器。
  
Create a new directory, if it doesn't already exist, for our custom settings. At the console, type:
+
如果不存在此目录,就建立一个新的,作为自定义设置,在控制台输入:
  
 
     mkdir ~/.local/share/applications
 
     mkdir ~/.local/share/applications
  
Copy the standard VLC settings file. Type:
+
复制独立的 VLC 设置文件。输入:
  
 
     cp /usr/share/applications/vlc.desktop ~/.local/share/applications/vlc-dvd.desktop
 
     cp /usr/share/applications/vlc.desktop ~/.local/share/applications/vlc-dvd.desktop
  
Edit vlc-dvd.desktop. Type:
+
编辑 vlc-dvd.desktop。输入:
  
 
     gedit ~/.local/share/applications/vlc-dvd.desktop
 
     gedit ~/.local/share/applications/vlc-dvd.desktop
  
Scroll down, and find the line that reads:
+
卷动,并找到下面的行:
  
 
     Exec=vlc %U
 
     Exec=vlc %U
  
Replace the above line with one of the following:
+
使用下面的一行替换上面的行
:1. (all you really need)
+
:1. (你只需要)
  
 
     Exec=vlc %f
 
     Exec=vlc %f
  
:2. (recommended settings from ubuntuforums for better dvd playback)
+
:2. (ubuntu论坛中更好的 dvd 回放设置)
  
 
     Exec=vlc --vout-filter deinterlace --deinterlace-mode blend --volume 512 %f
 
     Exec=vlc --vout-filter deinterlace --deinterlace-mode blend --volume 512 %f
  
:3. (recommended settings from ubuntuforums for better dvd playback and automatic full screen playback)
+
:3. (ubuntu论坛中更好的 dvd 回放设置,并自动全屏播放)
  
 
     Exec=vlc --vout-filter deinterlace --deinterlace-mode blend --volume 512 --fullscreen %f
 
     Exec=vlc --vout-filter deinterlace --deinterlace-mode blend --volume 512 --fullscreen %f
  
Save the file and close gedit, then open mimeapps.list. At the console, type:
+
保存文件并关闭 gedit, 然后打开 mimeapps.list。 在控制台输入:
  
 
     gedit ~/.local/share/applications/mimeapps.list
 
     gedit ~/.local/share/applications/mimeapps.list
  
In most cases this will be a new (blank) file, and all you will need to do is paste in the following text. If mimeapps.list already exists, scroll down until you find the line that begins with «x-content/video-dvd» under the [Added Associations] heading, and change it to match the following text (or paste in the entire line if you couldn't find it).
+
在大多数的情况下应该是一个新的空白文件, 而你仅仅需要从下面的行贴上。 如果 mimeapps.list 已经存在, 滚动到你找到这个[Added Associations]下面的 «x-content/video-dvd» 为止, 并修改到下面蚊子 (当你找不到时,直接贴上下面的行)
  
 
     [Added Associations]
 
     [Added Associations]
 
     x-content/video-dvd=vlc-dvd.desktop;totem.desktop;
 
     x-content/video-dvd=vlc-dvd.desktop;totem.desktop;
  
Save the file and close gedit. To check that the settings have properly applied, from the Gnome menus go to Places &rarr; Home Folder, then from the file manager menus go to Edit &rarr; Preferences &rarr; Media, and «DVD Video» should be set to «Open VLC media player» (you should be able to choose between Totem/Move Player and VLC)
+
保存文件并关闭 gedit。 检查是否设置正确, 从 Gnome 菜单 位置 -> 主文件夹, 接着在文件浏览器菜单编辑 Edit -> 首选项 -> 介质, «DVD 视频» 设置到 «打开 VLC media player» (您应该可以在 Totem/Move Player VLC 之间选择)
  
=== Installing Amarok (a Music Player) ===
+
=== 安装 Amarok (音乐播放器) ===
  
Whilst Amarok is a KDE/Qt application, it will work fine on Ubuntu, and can be installed by typing:
+
虽然 Amarok 是一个 KDE/Qt 程序, 但它可以在 Ubuntu 下良好工作, 输入下面的命令来安装:
  
 
   sudo apt-get install amarok
 
   sudo apt-get install amarok
  
=== Installing Exaile (Amarok-like Music Player) ===
+
=== 安装 Exaile (类似 Amarok 的音乐播放器) ===
  
Exaile is a GTK, Amarok-like Music Player. From the command-line terminal:
+
Exaile 是一个 GTK, 类似 Amarok 的音乐播放器。 在命令行终端:
  
 
   sudo apt-get install exaile
 
   sudo apt-get install exaile
  
Make sure you have the appropriate [http://ubuntuguide.org/wiki/Ubuntu:Hardy#Installing_Codecs multimedia codecs ] installed.
+
确信您已经安装了多媒体解码器。
  
=== Installing Pulseaudio Tools ===
+
=== 安装 Pulseaudio 工具 ===
  
This will install pulseaudio utilities such as individual application volume controls and audio server tools.
+
这将安装 pulseaudio 工具,包含了专有的应用程序声音控制和音效服务器控制工具。
  
Open a Terminal window and type the following:
+
打开一个终端窗口输入下面的:
  
 
   sudo apt-get install libasound2-plugins "pulseaudio-*" paman padevchooser paprefs pavucontrol pavumeter libflashsupport
 
   sudo apt-get install libasound2-plugins "pulseaudio-*" paman padevchooser paprefs pavucontrol pavumeter libflashsupport
  
Run Pulseaudio Device Manager from the Applications > Sound and Video menu to access the tools.
+
从 应用程序 -> 影音 菜单来访问这个工具-运行 Pulseaudio 设备管理员。
  
=== Installing XMMS ===
+
=== 安装 XMMS ===
  
Note: XMMS is no longer included in the package tree and must be installed from source. This guide is based on <http://blog.sartek.net/2008/04/install-xmms-on-ubuntu-804-hardy-heron.html>.
+
备注: XMMS 不再包含到软件库,必须从源码安装。 手册在 <http://blog.sartek.net/2008/04/install-xmms-on-ubuntu-804-hardy-heron.html>.
  
  
 +
'''''特别小心'''. 不通过 PMS (软件包管理系统, 意味着 apt 和它的前端, Synaptic) 可能有风险, 因为系统不会追踪编译完成后安装的二进制文件。
  
 +
''你确信清楚你在做什么。
  
'''''Be extra carefull'''. The installation of a package out of PMS (package management system, that means apt and its frontend, Synaptic) may be dangerous, since the system doesn't have a trace of the binaries that are installed after the compilation.
+
如果您想合适的安装,可以考虑制作一个 .deb 软件包''''
  
''Be sure that you know very well what you do.
+
XMMS 依赖很多软件包; 在终端输入下面的命令安装他们:
 
+
Instead of that you should consider of making a .deb package so that you may do an appropriate installation''''
+
 
+
 
+
 
+
 
+
XMMS depends on a lot of packages; install them by typing the following into a terminal:
+
  
 
   sudo apt-get install autotools-dev automake1.9 libtool gettext libasound2-dev libaudiofile-dev  
 
   sudo apt-get install autotools-dev automake1.9 libtool gettext libasound2-dev libaudiofile-dev  
第539行: 第541行:
 
   libsm-dev libvorbis-dev libxxf86vm-dev libxml-dev libssl-dev build-essential make
 
   libsm-dev libvorbis-dev libxxf86vm-dev libxml-dev libssl-dev build-essential make
  
Download the source from the XMMS website and unpack the .tar.gz:
+
XMMS 站点下载源代码,解压缩 .tar.gz:
  
 
   http://xmms.org/
 
   http://xmms.org/
  
From a terminal move to the newly untarred director and type:
+
从一个终端进入到新解压的目录并输入:
  
 
   ./configure --prefix=/usr
 
   ./configure --prefix=/usr
  
Compile the code:
+
编译代码:
  
 
   make
 
   make
  
Then install:
+
然后安装:
 
    
 
    
 
   sudo make install
 
   sudo make install
  
You can remove the untarred directory if you so desire. To make audio output work properly, you may have to change the output audio plugin to ALSA from the OSS driver. This is done by opening xmms and navigating through the Options-Preferences menus.
+
如果您喜欢,可以删除解压缩出来的目录。 如果想要声音输出正常, 您可以修改声音输出插件从 OSS 驱动到 ALSA。 打开 xmms 浏览 选项-偏好设置 菜单来修改。
  
=== Installing Real Player 11 and Configuring Mozilla Plugin ===
+
=== 安装 Real Player 11 和配置 Mozilla 插件 ===
  
The following steps show how to install Real Player 11 and Mozilla Plugin for Firefox 3.0 browsers running on Hardy Heron.
+
以下步骤显示如何安装 Real Player 11 和运行在 Hardy Heron 上的 Firefox 3.0 浏览器的 Mozilla 插件。
  
Download Real Player 11 from:
+
下载 Real Player 11 :
  
 
   www.real.com/linux
 
   www.real.com/linux
  
Open a terminal and change to the directory where the file was downloaded.  Grant execute permissions and run the setup using the following commands:
+
開啟終端機(terminal)並切換到剛剛下載好的檔案所在的目錄。將權限設定允許執行,並用以下指令執行安裝設定:
 +
打开一个终端并切换到文件下载的目录。 赋予可执行权限并使用下面的命令进行安装:
  
 
   chmod 770 RealPlayer11GOLD.bin
 
   chmod 770 RealPlayer11GOLD.bin
 
   sudo ./RealPlayer11GOLD.bin
 
   sudo ./RealPlayer11GOLD.bin
 
    
 
    
Use the following default installation directory during the installation:
+
安装时使用了下面的缺省安装目录:
 
    
 
    
 
   /opt/real/RealPlayer
 
   /opt/real/RealPlayer
  
The installer will copy the files and create menu shortcuts.  Then run the following commands.
+
安装程序将复制文件和建立菜单快捷方式。然后运行下面命令。
  
 
   cd /usr/lib/firefox-addons/plugins
 
   cd /usr/lib/firefox-addons/plugins
第581行: 第584行:
 
   sudo mv /usr/lib/totem/gstreamer/libtotem-complex-plugin.so ~/.
 
   sudo mv /usr/lib/totem/gstreamer/libtotem-complex-plugin.so ~/.
  
Open Firefox and type about:plugins in the address bar.  Scroll down and look for the following entry.
+
打开 Firefox 在地址栏输入 about:plugins 。 卷动并查找到下面的条目。
  
 
   Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
 
   Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
第587行: 第590行:
 
   Helix DNA Plugin: RealPlayer G2 Plug-In Compatible version 0.4.0.4005 built with gcc 3.4.3 on Feb 25 2008
 
   Helix DNA Plugin: RealPlayer G2 Plug-In Compatible version 0.4.0.4005 built with gcc 3.4.3 on Feb 25 2008
  
If found, your Real Plugin is installed properly!
+
如果发现,您的 Real 插件已经安装好了!
  
== Systems and Network Monitoring ==
+
== 系统和网络监视 ==
  
=== Install the Zenoss stack ===
+
=== 安装 Zenoss stack ===
 +
 
 +
Zenoss 是一个充满特色的开源网络监听程序。 如果安装包含了所有依赖的 Zenoss 版本, 首先需要增加软件库,输入:
  
Zenoss is a full-featured open source networking monitoring application. To
 
install a version of Zenoss which includes all dependencies, first add the
 
repository by typing:
 
   
 
 
   sudo gedit /etc/apt/sources.list
 
   sudo gedit /etc/apt/sources.list
  
Αnd paste in the end of the file:
+
在文件的最后面粘贴:  
  
 
   ## Zenoss - Ubuntu
 
   ## Zenoss - Ubuntu
第605行: 第606行:
 
   deb http://dev.zenoss.org/deb main stable
 
   deb http://dev.zenoss.org/deb main stable
  
Save the file and exit.
+
保存文件并退出。
  
In order to receive the key, type:
+
为了接收到密钥,输入:  
  
 
   wget -q http://dev.zenoss.org/deb/zenoss-gpg.key -O- | sudo apt-key add -
 
   wget -q http://dev.zenoss.org/deb/zenoss-gpg.key -O- | sudo apt-key add -
  
Then type:
+
然后再输入:  
  
 
     sudo apt-get update
 
     sudo apt-get update
第617行: 第618行:
 
     sudo apt-get install zenoss-stack
 
     sudo apt-get install zenoss-stack
  
Start zenoss:
+
启动 zenoss:  
  
 
     sudo /etc/init.d/zenoss-stack start
 
     sudo /etc/init.d/zenoss-stack start
  
Then in your browser, visit http://yourhost:8080, where yourhost is the FQDN of
+
然后在您的浏览器, 访问 http://yourhost:8080, 其中 yourhost 是你安装了 Zenoss 的 FQDN 服务器。 Zenoss 文档在 http://docs.zenoss.com
the server on which you installed Zenoss. Zenoss docs are available at
+
http://docs.zenoss.com.
+
  
== Internet and Web Development ==
+
== Internet Web 开发 ==
  
== Remote Desktop ==
+
== 远程桌面 ==
There are various ways to access your Ubuntu desktop remotely, each of the methods has their tradeoffs and has to be chosen according to your needs.
+
这里有几种办法远程访问您的 Ubuntu 桌面, 请权衡每一种方法,并按照您的需要选择。
=== Howto Install and use Xming for Windows ===
+
=== 如何安装和使用 Windows 下的 Xming ===
The application [http://www.straightrunning.com/XmingNotes/ Xming] can be used to implement a remote desktop for Ubuntu on a Windows machine. The install procedure below describes the use of the XDMP interface of the X server with Xming running on Windows XP.
+
软件 [http://www.straightrunning.com/XmingNotes/ Xming] 可以用于在 Windows 电脑上访问一个 Ubuntu 远程桌面。 运行在 Windows XP 上的 Xming 提供了一个 XDMP 接口的 X 服务器。
* Download the Xming application and Fonts install package from [http://sourceforge.net/projects/xming SourceForge.net]
+
* 下载 Xming 软件和字体安装包从 [http://sourceforge.net/projects/xming SourceForge.net]
* First Install the Xming application, then its Fonts.
+
* 首先安装 Xming , 然后安装字体。
* Next you have to make sure your Windows Firewall does not block the connection to your Linux machine. Go to the "Exceptions" tab in your Firewall Settings and add the following Port configurations:
+
* 下一步您确信您的 Windows 防火墙没有阻止连接到您的 Linux 电脑。 在您的防火墙设置的 "例外" 页面,增加输入下面的端口配置:
  Name: Any name
+
  名称: Any name
  Port number: 16001
+
  端口: 16001
  TCP -> Sellected
+
  TCP -> 选择
  
  Name: Any name
+
  名称: Any name
  Port number: 6000
+
  端口: 6000
  TCP -> Selected
+
  TCP -> 选择
  
  Name: Any name
+
  名称: Any name
  Port number: 177
+
  端口: 177
  UDP -> Selected
+
  UDP -> 选择
* Go to your Ubuntu machine and enable your remote desktop: (Gnome)
+
* 到您的 Ubuntu 电脑上允许远程桌面: (Gnome)
  System->Remote Desktop
+
  系统 -> 首选项 -> 远程桌面
  "Allow other users to view your desktop" -> Selected
+
  "允许其他人查看您的桌面" -> 选择
  "Allow other users to control your desktop" -> Selected
+
  "允许其他用户控制您的桌面" -> 选择
Select your Security setting according to your choice in this tab.
+
在同样的页面上选择您的安装设置方式。
* To make sure your Linux box does not block your XDMP communications via TCP:  
+
* 确保您的 Linux 电脑没有拦截通过 TCP 访问 XDMP :  
On your Linux box (Gnome) go to System->Administration->Login Window->Security. Make sure the "Deny TCP connections to Xserver" is unselected.
+
在您的 Linux 电脑 (Gnome) 点击 系统 -> 系统管理 -> 登录窗口 -> 安全。 确保 "禁止 TCP 连接到 X 服务器" 没有被选择。
* Go to your Windows machine to the folder where you installed Xming and click on XLaunch.exe  
+
* 到您的 Windows 电脑的您安装的 Xming 目录并点击运行 XLaunch.exe  
* Select any of the options except "Multiple Windows", click on "Next".
+
* 选择其它所有的选项除了 "Multiple Windows", 点击 "Next".
* Select Open session via XDMCP, "Next".
+
* 选择 Open session via XDMCP, "Next".
* Select Connect to host. Type in your Linux machine name or IP address, "Next".
+
* 选择 Connect to host. 输入您的 Linux 电脑名字或者 IP 地址, "Next".
* Enable Clipboard.
+
* 允许 Clipboard.
* Save the configuration & click Finish.  
+
* 保存配置 & 点击 Finish.  
Now you should get a login window from Ubuntu.
+
现在您可以从 Ubuntu 获得一个登录窗口了。
  
==== Potential Issues ====
+
==== 潜在问题 ====
There might be a potential issue that your mouse's wheel does not work properly on your remote desktop. To fix this go to your linux machine and edit the file: /etc/X11/xorg.conf. At Section "InputDevice", Identifier "Configured Mouse" add the following lines: (This is for a normal PS2 two button one scroll wheel mouse)
+
可能有一个潜在的问题,在您远程桌面上鼠标滚轮不工作。 要修复这个问题到您的 linux 电脑上编辑这个文件: /etc/X11/xorg.conf. 在Section "InputDevice", Identifier "Configured Mouse" 增加下面的行: (这是一个通用的 PS2 两键滚轮鼠标)
 
  Option    "Protocol" "IMPS/2"
 
  Option    "Protocol" "IMPS/2"
 
  Option    "ZAxisMapping" "4 5"
 
  Option    "ZAxisMapping" "4 5"
 
  Option    "Buttons"  "3"
 
  Option    "Buttons"  "3"
'''Waring: Make sure you do this correctly or it will screw up you X Server settings''' <br/>
+
'''警告: 请确定这样做,它将修改您的 X 服务配置'''  
Between the Option and parameters use a <Tab> character.
+
 
*Restart you Ubuntu machine for the changes to take effect.
+
在条件和参数之间使用 <Tab> 来间隔。
 +
*重启您的 Ubuntu 电脑,使配置生效。
  
== Howto: Tweak and maximize your bandwidth in Ubuntu/Linux via sysctl! ==
+
== 指南: Ubuntu/Linux 上通过 sysctl 调整和最大化网络带宽! ==
  
Here I will unleash a few hidden settings that should improve your internet speed, and work with all current linux operating systems including Ubuntu:
+
我会在这里展示一些隐藏的设置,这些可以增加您的 internet 速度, 并且适合于所有的 linux 操作系统,包括 Ubuntu:
  
1. Open a Terminal via Applications->Accessories->Terminal
+
1. 打开一个终端,通过  应用程序 -> 附件 -> 终端
  
Type:
+
输入:
  
     sudo vim /etc/sysctl.conf    (press i for edit mode)
+
     sudo vim /etc/sysctl.conf    (i 进入编辑模式)
  
Then Paste the Following at the end of the file:
+
到文件的结尾粘贴下面的行:
  
 
   ## increase TCP max buffer size setable using setsockopt()
 
   ## increase TCP max buffer size setable using setsockopt()
第705行: 第705行:
  
  
Type :wq to exit and save.
+
输入 :wq ,保存和退出。
  
Type in terminal
+
在终端输入
  
 
     sudo sysctl -p  
 
     sudo sysctl -p  
  
to apply the settings.
+
应用这些设置。
  
  
You can disable all these settings by removing these lines you added via:
+
您可以屏蔽和删除你增加的行,使用:
 
      
 
      
 
     sudo gedit /etc/sysctl.conf
 
     sudo gedit /etc/sysctl.conf
  
=== Install a LAMP server on a Desktop ===
+
=== 在桌面上安装 LAMP 服务 ===
  
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).
+
LAMP 代表 Linux, Apache, MSQL PHP. 您可以从新立得软件包管理器安装这个四合一软件 (如果您使用的是桌面版)
  
  System-->Administration-->Synaptic Package Manager-->
+
  系统 --> 系统管理 --> 新立得软件包管理器 -->
  Edit-->Mark Packages by Task-->LAMP server -->Apply
+
  编辑 --> 使用任务分组软件包 --> LAMP server --> 应用
  
=== Simple LAMP server Setup ===
+
=== 简单的 LAMP 服务设置 ===
  
In around 15 minutes, the time it takes to install Ubuntu Server Edition, you can have a LAMP (Linux, Apache, MySQL and PHP) server up and ready to go. This feature, exclusive to Ubuntu Server Edition, is available at the time of installation.
+
大约 15 分钟, 可以安装 LAMP (Linux, Apache, MySQL and PHP) 到 Ubuntu Server 版, 这些功能和都已经在已经安装好的 Ubuntu Server 版中提供。
  
Check [http://www.ubuntugeek.com/ubuntu-804-hardy-heron-lamp-server-setup.html LAMP Server Setup in 15min] Very easy setup guide
+
参考 [http://www.ubuntugeek.com/ubuntu-804-hardy-heron-lamp-server-setup.html 15 分钟设置 LAMP 服务] 非常简单的设置手册
  
=== Install a LAMP server for local web development ===
+
=== 从本地 web 开发环境安装一个 LAMP 服务 ===
  
This will install Apache2, PHP5, MySql5, and PHPMyAdmin.
+
下面将安装 Apache2, PHP5, MySql5, PHPMyAdmin.
  
Firstly, type the following command at the console:
+
首先在控制台输入下面的命令:
  
 
   apt-get update
 
   apt-get update
  
This will retrieve new lists of packages.
+
这个将更新到最新的软件包列表。
  
Next type:  
+
然后输入:  
  
 
   sudo apt-get install apache2 php5 mysql-server-5.0 phpmyadmin
 
   sudo apt-get install apache2 php5 mysql-server-5.0 phpmyadmin
  
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:
+
这个将会安装所有需要的程序。 您可能被提示输入一个 MySQL root 密码 (如果你想就设置一个), 并配置 PHPMyAdmin (选择 apache2 作为服务类型)。 这些完成后, 我们需要一些细微的设置来让 PHPMyAdmin 运行。 输入:
  
 
   sudo gedit /etc/apache2/apache2.conf
 
   sudo gedit /etc/apache2/apache2.conf
  
Scroll right to the bottom of the file that opens, and add:
+
卷动到打开文件的最后,增加:
  
 
   # Enable PHPMyAdmin
 
   # Enable PHPMyAdmin
 
   Include /etc/phpmyadmin/apache.conf
 
   Include /etc/phpmyadmin/apache.conf
  
Now save, exit, and type:
+
现在保存,退出,并输入:
  
 
   sudo /etc/init.d/apache2 restart
 
   sudo /etc/init.d/apache2 restart
  
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...
+
现在所有的都配置好了 - 访问 http://127.0.0.1 页面, 以及 http://127.0.0.1/phpmyadmin 进行数据库管理。 webroot 缺省位于 /var/www/ 。 这个并不是很有用,我们不能写入这个目录,可以使用下面简单的办法处理 ...
  
=== Adding a virtual host to your LAMP server ===
+
=== 在您的 LAMP 服务上增加一个虚拟主机 ===
  
'''FIRST METHOD'''
+
'''第一种办法'''
  
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.
+
这个可以让我们在我们的浏览器,使用不同的网址访问不同的目录 - 事实上, 'localhost' 127.0.0.1 多无趣。
  
Start by adding a new host. This is easy to do via System --> Administration --> 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.
+
首先增加一个新的主机。 这个非常容易做通过 系统 --> 系统管理 --> 网络; 点击主机页面, 从列表中选择 localhost 项目点击属性。 您可能先需要点击 '解锁' 按钮并输入您的密码。 在 'localhost' 的下面, 新的一行, 增加您选择的记录; 例如, 我们使用 'testhost'。 加入这个, 并关闭所有的对话框。
  
To confirm that the above worked, you can check the '/etc/hosts' file.
+
为了检查是否生效, 您可以检查 '/etc/hosts' 文件。
  
 
   sudo gedit /etc/hosts
 
   sudo gedit /etc/hosts
  
You should see the following line.
+
您可以看到如下行.
  
 
   127.0.1.1 testhost
 
   127.0.1.1 testhost
  
Now we need to edit the Apache configuration file, so type into the console:
+
现在我们需要编辑 Apache 配置文件,在控制台输入:
 +
 
 
   sudo gedit /etc/apache2/httpd.conf
 
   sudo gedit /etc/apache2/httpd.conf
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:
+
 
 +
在打开的文件 (可能是空的), 增加您定义的主机! 我的用户名是 'dan', 我希望我的网页保存目录为 我的主目录下的 'www' 目录, 因此我增加:
  
 
   <VirtualHost *>
 
   <VirtualHost *>
第785行: 第787行:
 
   </Virtualhost>
 
   </Virtualhost>
  
where testhost is the name of the new virtual site (it must match the above entry in your conf file).
+
testhost 是新虚拟站点的名字 (它必须和您上面配置的记录保持一致).
  
After this, you need to restart apache so it can load these new configuration file entries.
+
完成这些后, 您需要重启 apache 才可以使用新的配置。
  
 
   sudo /etc/init.d/apache2 restart
 
   sudo /etc/init.d/apache2 restart
  
I can now add files to /home/dan/www, and access them by visiting http://testhost
+
我现在可以增加文件到 /home/dan/www, 并通过 http://testhost 来访问。
  
'''SECOND METHOD'''
+
'''第二种办法'''
  
Fire up terminal and type the followings:
+
启动终端并输入:
  
 
   cd /etc/apache2/sites-available
 
   cd /etc/apache2/sites-available
第801行: 第803行:
 
   sudo nano your-site-name.conf
 
   sudo nano your-site-name.conf
  
Type in your Virtual Host directives, example:
+
输入您的虚拟主机,例如:
  
 
   <VirtualHost 127.0.1.1:80>
 
   <VirtualHost 127.0.1.1:80>
第815行: 第817行:
 
   </VirtualHost>
 
   </VirtualHost>
  
Save the new file and type in the followings:
+
保存为一个新文件并输入下面的命令:
  
 
   cd ../sites-enabled
 
   cd ../sites-enabled
第822行: 第824行:
 
   sudo nano apache2.conf
 
   sudo nano apache2.conf
  
Go to the end of the apache2.conf file and add the following line just before the comment listed below:
+
apache2.conf 文件的最后增加注解后的下面几行:
  
 
   # Include the virtual host configurations:
 
   # Include the virtual host configurations:
第828行: 第830行:
 
   Include /etc/apache2/sites-enabled/
 
   Include /etc/apache2/sites-enabled/
  
Save the edited file and type the following:
+
保存编辑的文件并输入下面的命令:
  
 
   sudo nano /etc/hosts
 
   sudo nano /etc/hosts
  
Edit the entry after 127.0.1.1 to match your configuration, example:
+
在您的配置文件里面的 127.0.1.1 记录的后面增加, 例如:
  
 
   127.0.0.1 localhost
 
   127.0.0.1 localhost
 
   127.0.1.1 zozi myserver
 
   127.0.1.1 zozi myserver
  
Last but not least, save the edited file and restart the daemon by doing this:
+
最后但不重要, 保持编辑的文件,并重启服务,按照:
  
 
   sudo /etc/init.d/apache2 restart
 
   sudo /etc/init.d/apache2 restart
  
Your new virtual host will be accessible at the address http://myserver/.
+
您新的虚拟站点可以访问了,通过 http://myserver/ 访问。
  
== Home Automation / Home Theater / Home Security ==
+
== 家庭自动化 / 家庭影院 / 家庭安全 ==
=== Complete Systems ===
+
=== 完整的系统 ===
==== Linux MCE (Media Center Edition) ====
+
==== Linux MCE (媒体中心版本) ====
[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].
+
[http://en.wikipedia.org/wiki/LinuxMCE LinuxMCE] 是一个为您的家庭设计,并包括了家庭影院/家庭安全/家庭自动化/电话交换机/内部通话的系统。这个是一个社区计划,从以商业为主的 Linux Pluto 分支出来。其中有一个版本在 Kubuntu 7.04 (Feisty) 上运行,而另一个版本在 Kubuntu 7.10 (Gutsy) 上运行。 Kubuntu 8.04 (Hardy) 版的已经快完成了。这些可于 32 64 位版本上运行。 LinuxMCE 可以成为一台独立的家庭剧院个人电脑,或通过 Kubuntu Linux 操作系统本身的网络能力,在完整网络化的家庭与其它设备一起运作。更多资讯参考 [http://www.linuxmce.org LinuxMCE 网站]
  
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.
+
LinuxMCE 可以和 Kubuntu OS 通过一张 DVD 同时安装到到一台 Nvidia 显卡 (6000, 7000, 8000 系列)的新电脑上。
  
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.
+
LinuxMCE 也可以使用 LinuxMCE 第二张 CD ,作为附加软件包安装到一个已经存在的 Kubuntu 系统。在安装过程中需要一张Kubuntu LiveCD,即使您已经完整的安装 Kubuntu 了。 (LinuxMCE 安装时需为一些附加的模块使用 Kubuntu LiveCD。) 要注意的是,LinuxMCE 的版本必须和 Kubuntu 版本一致 -- 例如 LinuxMCE 710 CDs 需要 Kubuntu 7.10 (Gutsy) Live CD。
  
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.
+
通过第二张光盘安装,您可以在同一台 PC 上从 LinuxMCE 运行 Kubuntu ,但是建议将一台 PC 作为 LinuxMCE 的核心服务器。
  
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.
+
LinuxMCE [http://en.wikipedia.org/wiki/MythTV MythTV], [http://plutohome.com/ Pluto]家庭自动化,[http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome Motion] 安全监控,[http://www.asterisk.org/ Asterisk] 私人交换机 PBX, [http://www.cadsoft.de/vdr/ VDR] 电影录制,和其它家庭自动化/安全/影院软件包整合到同一平台上。
  
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.
+
目前,全自动的 Linux MCE 安装程序使用 [http://kubuntuguide.org/Gutsy KDE 桌面 (Kubuntu)]。有一些使用者将 Linux MCE 改为也可以使用 Gnome 桌面 (Ubuntu) 和其他的 Linux 发行版,但因为 LinuxMCE 自动安装时需要用到 Kubuntu,所以还是建议您使用 Kubuntu 操作系统。
  
=== PVR (Personal Video Recorder) ===
+
=== PVR (个人录像机) ===
  
 
==== Mythbuntu ====
 
==== Mythbuntu ====
  
[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.
+
[http://www.mythbuntu.org Mythbuntu] 是一个基于 Ubuntu 的衍生版 (基于 Xubuntu (XFCE) 桌面) ,是建立在 MythTV 上的独立 PVR 系统。 然而,使用 Gnome (Ubuntu), KDE (Kubuntu) 或者 XFCE (Xubuntu) 桌面也可以使用并在任何时候安装。
  
*Start Synaptic Package Manager.
+
*启动新立得软件包管理器。
  
  System-->Administration-->Synaptic Package Manager
+
  系统 --> 系统管理 --> 新立得软件包管理器
  
*Choose to install the Mythbuntu LiveCD package, or a combination of the Mythbuntu frontend, master backend, slave backend, and/or additional roles. See the [http://www.mythbuntu.org website] for details.
+
*选择安装 Mythbuntu LiveCD 软件包, 或者 Mythbuntu 前端, 主后台, 辅助后台, /或其它扩展。 参考 [http://www.mythbuntu.org website] 更多信息。
  
  Synaptic Package Manager-->Mark Packages by Task...
+
  新立得软件包管理器 --> 使用任务分组标记软件包...
 
   
 
   
  
===== Remote control configuraion - Lircd =====
+
===== 远程控制配置 - Lircd =====
  
In Mythbuntu Control Centre use the following:
+
Mythbuntu Control Centre 可以设置:
* Remote: Custom ( or use one from the list if you happen to have it )
+
* Remote: Custom ( 或者使用列表中存在的一个 )
* Driver: [blank] ( most of the time if the right module is loaded )
+
* Driver: [blank] ( 大多数时间模块被正确加载 )
* Modules: lirc_dev lirc_i2c lirc_igorplugusb ( in the case of diy custom receiver igorplugusb otherwise use module acordingly)
+
* Modules: lirc_dev lirc_i2c lirc_igorplugusb ( 在这部分按照您的设备使用适合的模块)
 
* Configuration: myremote.conf  
 
* Configuration: myremote.conf  
** use irrecord to generate a .conf file for a custom remote, almost any remote should work
+
** 为自定义遥控器使用 irrecord 建立一个 .conf 文件, 大多数的遥控器都可以正常工作
  
Also use:
+
也可以使用:
  dmesg                      # to check that receiver registered corectly in the kernel
+
  dmesg                      # 检查接收器是否在内核被注册
  sudo mode2 -d /dev/lirc0  # to check that receiver is functioning, try different usb ports if not working
+
  sudo mode2 -d /dev/lirc0  # 检查接收器是否正常工作,如果不正常换一个sub口
  irw /dev/lircd            # to check that lircd receives the correct remote messages
+
  irw /dev/lircd            # 检查接收器是否正常接收到遥控器信息
''Warning:'' Make sure ~/.mythtv/lircdrc uses remote = YourRemoteName, same name used in myremote.conf
+
''警告:'' 确保 ~/.mythtv/lircdrc 使用 remote = YourRemoteName, myremote.conf 中的一致
 
  sudo /etc/init.d/lirc restart  # restart lircd daemon
 
  sudo /etc/init.d/lirc restart  # restart lircd daemon
Restart mythtvfrontend
+
重启 mythtv 前端
  
===Home Security===
+
===家庭安全===
====Zoneminder surveillance system====
+
====Zoneminder 监控系统====
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].
+
Zoneminder 管理摄像机和在硬盘上保存影像。 影像可以使用 [[#Install a LAMP server on a Desktop|(LAMP) server]] 远程浏览。 X10 设备可以支持内建的 perl 脚本来启动。 更多信息查阅 [http://www.zoneminder.com/ Zoneminder 网站]
  
*Read [[#General Notes]]
+
*阅读 [[#General Notes]]
*Read [[#Install a LAMP server on a Desktop]]
+
*阅读 [[#Install a LAMP server on a Desktop]]
*Install ffmpeg from Synaptic Package Manager, or from the command-line terminal:
+
*从新立得安装 ffmpeg , 或者从命令行终端:
  
  apt-get install ffmpeg
+
  sudo apt-get install ffmpeg
  
=====Installing the latest Zoneminder version=====
+
=====安装最新的 Zoneminder 版本=====
*Minor tweaks are required to install the latest version (1.23.3) of Zoneminder on Hardy. See [http://www.zoneminder.com/forums/viewtopic.php?t=11734 the Zoneminder forums here] or a note on [http://www.zoneminder.com/forums/viewtopic.php?p=42940&sid=a2b97fc4471f33005234cd6380ac0016 installing from source here].
+
*在 Hardy 上安装最新的 Zoneminder (1.23.3) 版, 查看 [http://www.zoneminder.com/forums/viewtopic.php?t=11734 Zoneminder 论坛] 或者 [http://www.zoneminder.com/forums/viewtopic.php?p=42940&sid=a2b97fc4471f33005234cd6380ac0016 从源码安装]
  
=====Using the repository package=====
+
=====使用仓库里面的包=====
*There is a Zoneminder (version 1.22.3) package for Hardy (that was also the package from Gutsy) in the repositories. You should be able to install the package from Synaptic Package Manager. It is available in 32-bit and 64-bit versions.
+
*在 Hardy 软件仓库里面包含了 Zoneminder (version 1.22.3) (也包含在 Gutsy) 。 您可以从新立得软件包管理器来安装它。 它同时有 32-bit 64-bit 版本。
  
*Detailed instructions that appeared to work for Gutsy are at [http://www.zoneminder.com/wiki/index.php/Main_Documentation#Installation_from_a_.deb the Zoneminder Installation Wiki].
 
  
=====Original Feisty installation instructions=====
+
*在 Gutsy 下可运行良好的详细安装指南在 [http://www.zoneminder.com/wiki/index.php/Main_Documentation#Installation_from_a_.deb Zoneminder 安装 Wiki].
*However, if that does not work, try the original instructions that worked for Feisty:
+
  
*You must have the LAMP server installed. In addition, you may need additional modules if they are not satisfied by the package dependencies:
+
=====原本在 Feisty 安装指引=====
 +
*假如, 还无法正常工作, 尝试可以在 Feisty 下正常工作的安装程序:
 +
 
 +
*您必须先安装 LAMP 服务。 另外, 如果您的系统不满足包依赖关系,您需要安装额外的模块:
  
 
  sudo apt-get install libarchive-tar-perl libarchive-zip-perl libdate-manip-perl libdevice-serialport-perl
 
  sudo apt-get install libarchive-tar-perl libarchive-zip-perl libdate-manip-perl libdevice-serialport-perl
 
  sudo apt-get install libjpeg62 libmime-perl libstdc++6 libunwind7 libwww-perl zlib1g
 
  sudo apt-get install libjpeg62 libmime-perl libstdc++6 libunwind7 libwww-perl zlib1g
  
*Download the .deb package from the package manager's website:
+
*从软件包管理站点下载 .deb 软件包:
  
 
ftp://www.northern-ridge.com.au/zoneminder/ubuntu/edgy/zoneminder_1.22.3-8_i386.deb
 
ftp://www.northern-ridge.com.au/zoneminder/ubuntu/edgy/zoneminder_1.22.3-8_i386.deb
  
*Install using the Debian package manager. (No other method seems to work.)
+
*使用 Debian 包管理器安装. (其它的似乎没有办法工作.)
  
  dpkg -i zoneminder_1.22.3-8_i386.deb
+
  sudo dpkg -i zoneminder_1.22.3-8_i386.deb
  
*(Note: If some dependencies are still unsatisfied, make sure you have these packages installed):
+
*(备注: 如果有些依赖关系还无法满足,确保您安装下面的软件):
  
 
  sudo apt-get install libc6 libc6.1 libgcc1 libgcc4 libstdc++6
 
  sudo apt-get install libc6 libc6.1 libgcc1 libgcc4 libstdc++6
  
:(These should already be installed as part of the LAMP installation):
+
:(作为安装 LAMP 的一部分,以下是已经安装好了):
  
 
  sudo apt-get install apache2-mpm-prefork libapache2-mod-php5 libmysqlclient15off mysql-client mysql-server php5  php5-mysql
 
  sudo apt-get install apache2-mpm-prefork libapache2-mod-php5 libmysqlclient15off mysql-client mysql-server php5  php5-mysql
  
=====Setup Zoneminder configuration=====
+
=====设置 Zoneminder 配置文件=====
If your installation is successful, you will now need to set up the configuration files and databases for Zoneminder.
+
如果您安装成功, 您还需要为 Zoneminder 设置配置文件和数据库。
  
*Copy the configuration file and restart the Apache2 server.
+
*复制配置文件并重启 Apache2 服务。
 
  sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
 
  sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
 
  sudo /etc/init.d/apache2 reload
 
  sudo /etc/init.d/apache2 reload
  
*View Zoneminder from your web browser:
+
*在您的 web 浏览器上访问 Zoneminder :
  
 
  http://localhost/zm
 
  http://localhost/zm
  
*Set up a MySQL database for Zoneminder
+
*Zoneminder 设置一个 MySQL 数据库
:*''Note: In Hardy, the next two steps are accomplished during a LAMP server installation or during MySQL installation.''
+
:*''注意: Hardy, 接下来的两个步骤都在安装 LAMP 服务或者 MySQL 安装时完成了.''
:*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].
+
:*如果是您第一次使用 MySQL, 缺省的 MySQL 超级用户 root 将没有密码。 您现在可以增加一个。 关于如何设置 mySQL 初始化权限查看 [http://dev.mysql.com/doc/refman/5.0/en/default-privileges.html 这里].
  
::In short:
+
::简而言之:
  
 
  mysql -u root
 
  mysql -u root
第954行: 第957行:
 
  mysql> quit
 
  mysql> quit
  
:*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.
+
:*此外, 您可以通过 [http://dev.mysql.com/doc/refman/5.0/en/create-user.html 这里] 的说明来设定另外的全局 MySQL 使用者(例如,mysql_user)。 这个方法您可以只有在紧急情况下才使用 root 登录。
  
::In short:
+
::简而言之:
  
 
  mysql -u root
 
  mysql -u root
第962行: 第965行:
 
  mysql> quit
 
  mysql> quit
  
*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.
+
*现在您必须建立一个给 Zoneminder 使用的 MySQL 数据库。 这是一个管理 MySQL 的命令, 因此您必须使用一个全局 MySQL 用户 (不管是 root 或上面例子中创建的 mysql_user)。 您可以给您的 Zoneminder 数据库使用其它您想要的名字, 代替 zmdatabase
  
 
  mysqladmin -u root -p CREATE zmdatabase
 
  mysqladmin -u root -p CREATE zmdatabase
  
:or
+
:
  
 
  mysqladmin -u mysql_user -p CREATE zmdatabase
 
  mysqladmin -u mysql_user -p CREATE zmdatabase
  
*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.
+
*建立 Zoneminder 数据库用户。 一般而言, 我会建立一个 root 用户来处理紧急事件。 我使用系统中 root 帐户同样的密码。 然后我会建立一个用户叫 zm_user (您可以建立一个叫 mysql_user 的用户, 来保持一致性)[因为这是一个家庭安全的系统,我使用一个独特的使用者名称,毕竟,我不想它被入侵。] 这个资料库中这些用户被特定指明; 也就是说,他们可以和系统中的其它使用者名称相同,或者使用独特的用户。
  
 
  mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON zmdatabase.*  
 
  mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON zmdatabase.*  
第981行: 第984行:
 
  mysqladmin reload
 
  mysqladmin reload
  
:Note: mysql commands (i.e. any entered at the mysql> prompt) must end with a semicolon. If you forget the semicolon, nothing will happen.
+
:注意: mysql 命令 (例如. 任何在 mysql> 提示后面输入的) 必须使用一个分号结尾。 如果您忘记分号,什么事都不会发生。
  
 
====Myth Zoneminder====
 
====Myth Zoneminder====
  
[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.)
+
[http://mythtv.org/wiki/index.php/MythZoneMinder MythZoneminder] 允许您使用 Myth TV 来观看安全摄像头。 它是介于 Zoneminder (必须在您系统上运行) Myth TV (也必须同时运行.) 两个之间的插件。
It can be found in Synpatic Package Manager as the mythzoneminder package.
+
它可以在新立得软件包管理器作为 mythzoneminder 包被找到。
  
See the [http://mythtv.org/wiki/index.php/MythZoneMinder#Install_MythZoneMinder installation instructions].
+
=== 在 Ubuntu 中设置 TFTP 服务 ===
  
=== TFTP server Setup in Ubuntu ===
+
高级 TFTP 服务。 多线程的 TFTP 服务实现了所有在 RFCs 1350, 2090, 2347, 2348, 2349 (multicast 还未实现) 上的选项。 服务当前仅仅支持 inetd(8) 启动。 服务处理处理新的连接开始一个新的线程, 如果5分钟没有响应则删除。
  
Advanced TFTP server. Multithreaded TFTP server implementing all options specified in RFCs 1350, 2090, 2347, 2348, 2349 (multicast not implemented yet). The server currently supports being started from inetd(8) only. The server then handles new connections directly by starting new threads and kills itself after 5 minutes of inactivity.  
+
查看 [http://www.ubuntugeek.com/howto-setup-advanced-tftp-server-in-ubuntu.html 在 Ubuntu 下 安装 aTFTP 服务] 非常简单设置的手册。
  
Check [http://www.ubuntugeek.com/howto-setup-advanced-tftp-server-in-ubuntu.html aTFTP Server Setup in Ubuntu] Very easy setup guide
+
== 如何使用 Ubuntu Live CD 恢复 GRUB 到一个分区或 MBR  ==
 +
偶尔, 如果 Ubuntu 安装出现错误, 或者 Windows NT 引导覆盖了 MBR 导致无法识别  Linux 的安装, 我们必须修复我们的 GRUB 引导器, 一般而言, 非常有弹性。
  
== How to restore GRUB to a partition or MBR with an Ubuntu Live CD ==
+
首先,我们刻录一张 Hardy Heron (Ubuntu 8.04) ISO (到一张 CD(R , RW) 或 DVD (+R , +RW)) 或确信我们已经有一张了。
  
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.
+
然后, 我们在 BIOS 中修改启动顺序, 让 CD/DVD 选项第一。
  
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.
+
然后, 我们从 Live CD 启动, 我们选择第一个选项然后过几分钟我们将进入到一个 Live CD 桌面。
  
Then, we change, in the BIOS, the boot load sequence and we put the CD/DVD option first.
+
因此, 继续 :
 
+
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.
+
 
+
So, we go :
+
  
 
   应用程序 --> 附件 --> 终端  
 
   应用程序 --> 附件 --> 终端  
  
Then, we have to remember which is our Ubuntu installation partition.
+
然后, 我们必须记住哪个是我们 Ubuntu 安装的分区。
  
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.
+
在我们的例子中, 它是第二个 (/dev/sda2), 格式化为 ext3, 位于 SATA 控制器的第一个硬盘。 我们假设是第二个分区; 同样假设因为 Windows 的需求, 第一个分区被 Windows 占了 (/dev/sda1)
  
'''Now, you have to be really careful. You have to enter the right partition, instead of sda2''' (unless it is the same)
+
'''现在,您必须非常小心。 您需要输入正确的分区,代替 sda2''' (除非它真是这样)
In the terminal :
+
在终端 :
  
 
   cd /
 
   cd /
 
 
 
    
 
    
 
   sudo -s -H
 
   sudo -s -H
第1,032行: 第1,031行:
 
   chroot /mnt  /bin/bash
 
   chroot /mnt  /bin/bash
  
And now, you are actually "running" Ubuntu within the Hard Drive but through Live CD's terminal.
+
现在, 您事实上正在“运行”硬盘上的 Ubuntu 了,但是是通过Live CD的终端。
  
Now we restore GRUB like that:
+
现在我们象这样恢复 GRUB:
  
1) Restoration to MBR
+
1) 恢复到 MBR
  
 
   grub-install /dev/sda
 
   grub-install /dev/sda
  
2) Restoration to partition (example: /dev/sda2)
+
2) 恢复到分区 (例如: /dev/sda2)
  
 
   grub-install /dev/sda2
 
   grub-install /dev/sda2
  
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.
+
在第一个方案中 (这个是最常见的) 您在终端得到的信息中没有错误,那么已经安装GRUB 到  到 MBR 了。
  
After you reboot, you have your favorite bootloader restored.
+
但您重启后, 您最爱的引导程序恢复了。
  
Alternatively, mount the / and /boot folders you want to boot into and just pass the --root-directory argument into grub-install, there is no need to chroot anymore.
+
另外, mount / /boot 目录,你希望开机进入的哪个可以使用 grub-install 的 --root-directory 删除, 这个不再需要使用 chroot
  
== Encrypt home partition with cryptsetup & LUKS ==
+
== 使用cryptsetup 加密 home 分区 & LUKS ==
 +
首先备份所有的重要数据,以免万一错误发生 '''如果没有备份,您的数据将会消失。''' 同时注意您的 home 目录需要和您的 root 分区分开不同的分区, 如果没有查阅 [[#How to make partitions]].
  
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]].
+
其次,安装需要的软件:
 
+
Second, install necessary software:
+
  
 
   sudo apt-get install cryptsetup
 
   sudo apt-get install cryptsetup
  
Insert the new module, dm-crypt into the kernel:
+
插入一个新的模块, dm-crypt 到内核:
  
 
   sudo modprobe dm-crypt
 
   sudo modprobe dm-crypt
  
Check to see what encryption schemes are available:
+
检查看看可以使用的加密方法:
  
 
   cat /proc/crypto
 
   cat /proc/crypto
  
If only MD5 is listed, try inserting the appropriate modules into the kernel:
+
如果只有 MD5 被显示, 尝试插入适当的模块到内核:
  
 
   sudo modprobe serpent
 
   sudo modprobe serpent
  
Above is an example, this could also be twofish, blowfish or anything other crypto module that you would like to use.
+
上面只是例子, 它可能有 twofish, blowfish 或其他可能的加密模块,按照您想要的去使用。
  
The following commands will assume that your home partition is /dev/sda1, please change it to match your ''own'' configuration.
+
接下来的命令假设您的 home 分区是 /dev/sda1, 请修改它符合您自己的设置。
  
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.'''
+
下一步我们使用 cryptsetup luksFormat 参数来改变分区, '''这个命令将让您全部丢失 /dev/sda1 上的所有数据。'''
  
 
   sudo cryptsetup luksFormat -c algorithm -y -s size /dev/sda1
 
   sudo cryptsetup luksFormat -c algorithm -y -s size /dev/sda1
  
Where algorithm is the algorithm that you chose above such as serpent aes, etc.
+
上面的 algorithm 是您选择的加密方式例如 serpent aes, .
  
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.
+
Size 是加密密钥的长度, 通常是 128 256.  W如果没有指定加密运算方式或长度, 我相信缺省的是 AES 256, 更多的信息和扩展的选项可以阅读 man 手册。 上述的步骤会让您设置密码和校验。 不要忘记这个密码。
  
We can then use the luksOpen option to open the encrypted drive.
+
然后我们可以使用 luksOpen 选项来打开加密的硬盘。
  
 
   sudo cryptsetup luksOpen /dev/sda1 home
 
   sudo cryptsetup luksOpen /dev/sda1 home
  
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.
+
Home cryptsetup 使用指向 /dev/sda1 的昵称。 它同时会建立这个设备 /dev/mapper/home, 这个是您实际上需要访问的文件系统挂载点。 如果您指定了其他的名称不是 home, 它会建立这样的设备 /dev/mapper/[name], 其中 [name] cryptsetup 使用的昵称。 这个步骤会询问你 LUKS 密码, 这个是您在上一步创建的密码。
  
Next, we create the actual filesystem on the device. I use reiserfs, but it could just as well be ext3.
+
下一步, 我们在这个设备上建立一个实际的文件系统。 我使用 reiserfs, 但您也可以使用 ext3。
  
 
   sudo mkreiserfs /dev/mapper/home
 
   sudo mkreiserfs /dev/mapper/home
  
Or
+
  
 
   sudo mkfs.ext3 /dev/mapper/home
 
   sudo mkfs.ext3 /dev/mapper/home
  
Next step is to mount your encrypted device and copy your files back to your home directory.
+
下一步是挂载您的加密设备和复制您的文件回到 home 目录。
  
 
   mkdir new_home
 
   mkdir new_home
第1,102行: 第1,100行:
 
   cp -r * new_home
 
   cp -r * new_home
  
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.
+
现在我们必须将所有的东西都设置好到开机可以使用,我们需要告诉系统我们有想要挂载的加密硬盘。
  
 
   gksudo gedit /etc/crypttab
 
   gksudo gedit /etc/crypttab
  
Enter the following as one line at the end of the file.
+
在文件的最后作为一行输入下面的内容。
  
 
   home      /dev/sda1      none      luks,tries=3
 
   home      /dev/sda1      none      luks,tries=3
  
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.
+
记住 home 可以是您想要的任意名字, 仅仅记住要对应到 /dev/mapper/[name] 选项 tries=3 允许 3 次重试,在开机或者硬盘需要解密时。
  
Next enter the device info in fstab that we want to mount on boot.
+
下一步在 fstab 输入设备信息,然其可以开机挂载。
  
 
   gksudo gedit /etc/fstab
 
   gksudo gedit /etc/fstab
  
Enter the information as one line at the end of the file.
+
在文件的最后作为一行输入。
  
 
   /dev/mapper/home      /home      reiserfs      defaults      0      0
 
   /dev/mapper/home      /home      reiserfs      defaults      0      0
  
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.
+
记得将 /dev/mapper/home 取代为 /dev/mapper/[name], /home 是挂载点, 因为这个是我们的主文件夹, reiserfs 是文件系统类型, 如果您格式化为 ext3 ,输入 ext3。 现在缺省值都很完善, 如果你有什么特别的需求修改这个。 同时, 现在也要把旧的 /dev/sda1 设备条目删除,以免开机时, fstab 不会加载它。 这个可以在 /dev/sda1 行前面加上一个 # 号或者删除掉。
  
Final step is to make sure that the proper modules are loaded at boot time. 
+
最后一步是确定在启动的时候正确的模块被加载。
  
 
   gksudo gedit /etc/modules
 
   gksudo gedit /etc/modules
  
Now add dm-crypt and the crypto module that you used earlier, such as serpent, aes, etcEach needs to be on its own line.
+
现在增加你之前使用的 dm-crypt crypto 模块,, 例如 serpent, aes, 每个需要单独一行。例如:
  
 
   dm-crypt
 
   dm-crypt
 
   serpent
 
   serpent
  
That should be it, all that's required is a reboot.  During the reboot process, the computer will say "Starting early crypto disks" and ask for your passphrase.  If the passphrase is accepted, it will unlock the encrypted partition and mount it on your specified mount point.
+
这样就可以了, 接下来就是重启。 在重启过程中, 电脑会告诉您 "Starting early crypto disks" 并询问您的口令。 如果口令是正确的, 它将解锁加密的分区并重新在你指定的挂载点挂载。
  
== Aliases ==
+
== 别名 ==
  
You can change the way you enter a command in order to be executed by entering an alias.
+
您可以通过别名来更改您输入的命令去执行。
  
For example, you may enter in a terminal "update-system" (a command that in face doesn't exists) that replaces "sudo apt-get update". You can do the same thing for other commands.
+
例如, 你可以在终端输入 "update-system" (一个事实上不存在的命令) 来代替 "sudo apt-get update". 您可以为其它的命令做同样的事。
  
This is what you do. Our example is going to be the alias of the command
+
这是我们要做的。我们的例子将下面的命令指定别名
  
 
   ls -FCal --color=auto
 
   ls -FCal --color=auto
  
that shows with colours and many details the contents of a folder.
+
这个命令会按照彩色显示目录内容。
  
Open a terminal
+
打开终端
  
 
   应用程序 --> 附件 --> 终端
 
   应用程序 --> 附件 --> 终端
  
and enter
+
输入
  
 
   gedit ~/.bashrc
 
   gedit ~/.bashrc
  
'''Be carefull now. Don't erase anything there.'''
+
'''现在小心了. 别删除那里面的任何东西。'''
  
Now, go to the end of the document and enter
+
现在, 到文件的最后输入
  
 
   alias ll="ls -FCal --color=auto"
 
   alias ll="ls -FCal --color=auto"
  
As you can see, now with the command
+
如您所见, 现在可以使用这个命令
  
 
   ll
 
   ll
  
whenever we want, we call, in fact, this one
+
无论我们何时呼叫,事实上它是这个
  
 
   ls -FCal --color=auto
 
   ls -FCal --color=auto
  
You can do the same thing for other commands that need a lot of switches.
+
您可以为其它的命令做同样的事情,不过需要改动一下。
  
Save the document, close the terminal and reopen it. You may now check your new alias.
+
保存文档,关闭终端重新打开。 您现在可以检查您的新别名了。
  
== Tips & Tricks ==
+
== 秘诀 & 技巧 ==
  
=== Change the splash screen color ===
+
=== 修改开机画面的颜色 ===
  
Originally a brownish color to match the Ubuntu theme, it does not quite fit with other themes and might want to be changed.
+
为了配合 Ubuntu 主题使用了褐色, 它并不适合其它主题,希望被修改。 进入 gdm.conf 文件 (sudo gedit /etc/gdm/gdm.conf). 大约在文件的1/3部分您可以看到如下行:
Enter the gdm.conf file (sudo gedit /etc/gdm/gdm.conf). About two-thirds of the way down you will see the lines:
+
 
   BackgroundColor=#dab082
 
   BackgroundColor=#dab082
 
   GraphicalThemedColor=#dab082
 
   GraphicalThemedColor=#dab082
  
Change it to what you like. For all black, use:
+
改成您想要的。要全黑则用:
 
   BackgroundColor=#000000
 
   BackgroundColor=#000000
 
   GraphicalThemedColor=#000000
 
   GraphicalThemedColor=#000000
  
=== Change the default Terminal window size ===
+
=== 修改缺省的终端窗口大小 ===
  
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:
+
缺省的终端窗口是 80 列和 24 行高。 修改这个, 编辑文件 /usr/share/vte/termcap/xterm。 您可以使用下面的命令:
 
   sudo gedit /usr/share/vte/termcap/xterm
 
   sudo gedit /usr/share/vte/termcap/xterm
Just a few lines from the top will be the line reading:
+
从顶上数的几行其中有一行为:
 
   :co#80:it#8:li#24:\
 
   :co#80:it#8:li#24:\
Change the number right after co# to change the width.
+
修改co# 后面的数字就可以改变宽度
Change the number right after li# to change the height.
+
修改li# 后面的数字就可以改变高度
  
=== Change the Samba workgroup ===
+
=== 修改 Samba 工作组 ===
  
*The Samba workgroup for use in a Windows network is set to "WORKGROUP" by default. It should be changed to match the workgroup used on your Windows network
+
*Samba 工作组 用于 Windows 网络被缺省设置为 "WORKGROUP" 。 它可以被修改为符合您的 Windows 网络所使用的工作组。
  
*Edit the Samba configuration file:
+
*编辑 Samba 配置文件:
  
 
  sudo gedit /etc/samba/smb.conf
 
  sudo gedit /etc/samba/smb.conf
  
*Edit the line:
+
*编辑这一行:
  
 
  workgroup = WORKGROUP
 
  workgroup = WORKGROUP
  
Change it to the name of your actual workgroup name. For example, my workgroup is MSHOME, so I changed the line to:
+
修改它到您实际的工作组名字。例如,我的工作组是 MSHOME, 因此我修改为:
  
 
  workgroup = MSHOME
 
  workgroup = MSHOME
  
Save the file.
+
保存文件.
  
*Reboot.
+
*重启.
  
=== Fix the shutdown "Network Error" display (restore shutdown splash screen) ===
+
=== 修复关机 "Network Error" 显示 (恢复关机屏幕) ===
  
Many Ubuntu systems have a minor bug when shutting down. Instead of displaying a splash screen indicating the progress of the shutdown process, the user is dropped out to a console screen flooded with shutdown notices (mostly network error messages). These messages are normal and expected, there is nothing to be concerned about. But it can be a bit unsightly, and it would seem that the Ubuntu team intended to have those messages hidden by the splash screen. The splash screen can be restored without much effort:
+
很多 Ubuntu 系统当关机时有一个小 bug 。 代替原本关机进程显示的屏幕, 转到充满关机信息的控制台屏幕 (大多数都是网络错误信息)。 这些信息大多都是正常和必然的, 没有什么好担心的. 但看起来很丑, 所以看起来 Ubuntu 小组刻意将这些信息隐藏到屏幕后面. 屏幕可以简单的恢复不费多大力气:
 +
*到 '''系统 -> 系统管理 -> 登录窗口''', 选择 '''本地''' 页
 +
*选择一个其它的主题, 然后重新选择缺省的主题 ("Human"). 这个会重新设置一下
 +
*点击 '''关闭''', 然后回到 '''系统 -> 系统管理 -> 登录窗口''', 重新选择 '''本地''' 页
 +
*您会注意到这个和您刚刚选择的不相同。 恢复设置到缺省值 -- 从 '''主题''' 的下拉框选择 '''仅用选中''' (代替 "从选择中随即选择"), 并重新选择缺省的 Ubuntu 主题 ("Human"). 完成后, 点击 '''关闭'''. 这是设置已经保存了, 关机屏幕也会正常出现。
  
*Go to '''System &rarr; Administration &rarr; Login Window''', and select the '''Local''' tab
+
=== 修改缺省的 runlevel ===
*Select a different theme, then re-select the default theme ("Human"). This just refreshes the setting
+
* 建立 /etc/inittab 文件
*Click '''Close''', then go back to '''System &rarr; Administration &rarr; Login Window''', and select the '''Local''' tab again
+
* 增加下面的行: "id:3:initdefault:", 数字是选择的运行等级
*You'll notice that the settings are different to what you've ''just'' chosen. Restore the setting to their defaults -- Choose '''Selected only''' from the '''Theme''' drop-down box (instead of "Random from selected"), and re-select the default Ubuntu theme ("Human"). When complete, click '''Close'''. The setting will have saved properly this time, and the shutdown splash screen should work as intended.
+
* 现在在你的运行登记 /etc/rcX.d/ 目录查看 README, 这里 X 是一个介于 1-6 之间的数字
 +
* 现在重启,好了。 :)
  
=== Change the default runlevel ===
+
== 如何分区 ==
* create /etc/inittab
+
* add the following line: "id:3:initdefault:", the number represents the chosen runlevel
+
* now follow the README in your favourite runlevel folder in /etc/rcX.d/, where X is a number between 1-6
+
* now reboot, you are done! :)
+
  
== How to make partitions ==
+
使用 Ubuntu 分区非常简单 。
  
It is very easy to make partitions with Ubuntu .
+
打开终端输入:
 
+
Open a terminal and type:
+
  
 
   sudo apt-get install gparted
 
   sudo apt-get install gparted
  
Then navigate to
+
然后浏览
 
   
 
   
   System --> Administration --> Partition Editor
+
   系统 --> 系统管理 --> 分区编辑器
  
Then gParted is going to check for your disks and partitions.
+
接着 gParted 将检查您的硬盘和分区。
  
There you can modify your partitions but on those that are NOT on the System.
+
在这里您可以修改那些不在您系统的分区。
  
More info :
+
更多信息 :
  
1) Usage of gParted (it is distributed as Live CD as well) -->http://howtoforge.com/partitioning_with_gparted
+
1) gParted 使用手册 (同时它也是个 Live CD ) -->http://howtoforge.com/partitioning_with_gparted
  
2) How to separate your /home partition in Ubuntu --> http://www.psychocats.net/ubuntu/separatehome
+
2) 如何在 Ubuntu 分割出您的 /home 分区 --> http://www.psychocats.net/ubuntu/separatehome
  
== How to enable Compiz Fusion in Ubuntu ==
+
== 如何在 Ubuntu 下启动 Compiz Fusion ==
  
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].
+
Ubuntu Hardy Heron , [http://en.wikipedia.org/wiki/Compiz_Fusion Compiz Fusion] 已经安装并可以自动使用, 当完成[#Graphics_cards_and_displays 您的显卡驱动] .
  
The only two things you have to do are to install the Compiz Configuration Settings Manager and the tray icon.
+
因此您只剩下两件事情,安装 Compiz 配置设置管理器和通知图标设置。
  
Open a terminal and type:
+
打开终端输入:
  
 
     sudo apt-get install compizconfig-settings-manager fusion-icon
 
     sudo apt-get install compizconfig-settings-manager fusion-icon
  
and it shall be installed. After that navigate to:
+
然后将安装好了,接着访问:
  
     System --> Preferences --> Advanced Desktop Effects Settings
+
     系统 --> 首选项 --> Advanced Desktop Effects Settings
  
and there you may enable/disable any plugin you want.
+
这里您可以启动/关闭任何您想要的插件。
  
To run Compiz-Fusion Tray Icon, nativate to:
+
要运行 Compiz-Fusion 通知图标,前往:
  
     Applications --> System Tools --> Compiz Fusion Icon
+
     应用程序 --> 系统工具 --> Compiz Fusion Icon
  
or run in the command line:
+
在命令行运行:
  
 
     fusion-icon
 
     fusion-icon
  
and the tray icon shall start.
+
通知图标将启动了.
  
== Add-on Applications ==
+
== 附加应用程序 ==
  
=== Ultamatix: Install 101 Applications in One click including Games,codecs,applications ===
+
=== Ultamatix: 一键安装 101 个应用程序包括游戏,解码器,应用程序 ===
  
Ultamatix! It is actually based on Automatix, therefore it looks and acts exactly the same. The good news is that Ultamatix is designed to work with Ubuntu Ultimate Editon 1.8, Ubuntu 8.04 (Hardy Heron) and the unstable branch of Debian Linux.This is a new automatix alternative.
+
Ultamatix! 它基于 Automatix, 因此看起来和行为非常类似。 好消息是 Ultamatix 是设计运行在 Ubuntu Ultimate Editon 1.8, Ubuntu 8.04 (Hardy Heron) 和 Debian Linux 的 unstable branch 版本。 这个是一个新的 automatix 代替。
 
+
Check [http://www.ubuntugeek.com/ultamatix-install-101-applications-in-one-click-including-gamescodecsapplications.html This] Simple installation guide including screenshots
+
  
 +
点击 [http://www.ubuntugeek.com/ultamatix-install-101-applications-in-one-click-including-gamescodecsapplications.html 这里] 包括抓图的简单安装手册
  
 
=== Wine ===
 
=== Wine ===
  
Wine is a Windows Win32 binary compatibility layer for Linux. Latest install instructions are always at: [http://www.winehq.org/site/download-deb WineHQ.org]
+
Wine 是一个为 Linux 设计的 Windows Win32 二进制兼容层。 最新的安装指引在: [http://www.winehq.org/site/download-deb WineHQ.org]
 
+
增加仓库密钥:
Add repository key:
+
 
   wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
 
   wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
Add repository to apt sources:
+
增加仓库到 apt 软件源:
 
   sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list
 
   sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list
Update apt sources:
+
更新 apt 软件源:
 
   sudo apt-get update
 
   sudo apt-get update
Install Wine:
+
安装 Wine:
 
   sudo apt-get install wine
 
   sudo apt-get install wine
The program menu then appears in Programs under Wine, or double-click a Windows/DOS .exe file.
+
程序菜单放到 Wine 的  Programs , 或双击 Windows/DOS .exe 文件。
 
+
=== Unison - file synchronization tool ===
+
 
+
Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other.
+
 
+
Nice Installation and Usage Guide check [http://www.ubuntugeek.com/unison-file-synchronization-tool.html This]
+
  
 +
=== Unison - 文件同步工具 ===
  
 +
Unison 是一个 Unix 和 Windows 下的文件同步工具。 它允许大量的文件和目录抱在不同的主机上(或者相同主机的不同硬盘上), 可以个别的修改, 然后将新的变更同步到另外一个备份。
 +
完整的安装和使用手册点击 [http://www.ubuntugeek.com/unison-file-synchronization-tool.html 这里]
  
 
=== PlayOnLinux ===
 
=== PlayOnLinux ===
  
PlayOnLinux is a Wine frontend which simplify installation and launch of many Windows programs, particularly games.
+
PlayOnLinux 是一个 Wine 的前端简化了安装和执行许多 Windows 程序, 特别是游戏。
 
+
增加仓库密钥:
Add repository key:
+
 
  wget -q http://playonlinux.botux.net/pol.gpg -O- | sudo apt-key add -
 
  wget -q http://playonlinux.botux.net/pol.gpg -O- | sudo apt-key add -
Add repository to apt sources:
+
增加仓库到 apt 软件源:
 
  sudo wget http://playonlinux.botux.net/playonlinux_hardy.list -O /etc/apt/sources.list.d/playonlinux.list
 
  sudo wget http://playonlinux.botux.net/playonlinux_hardy.list -O /etc/apt/sources.list.d/playonlinux.list
Update apt sources:
+
更新 apt 软件源:
 
  sudo apt-get update
 
  sudo apt-get update
Install PlayOnLinux:
+
安装 PlayOnLinux:
 
  sudo apt-get install playonlinux
 
  sudo apt-get install playonlinux
  
=== Tor, privoxy, and Tor GUI (Vidalia)  ===
+
=== Tor, privoxy, Tor GUI (Vidalia)  ===
  
Tor is a software project that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security. Tor protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world:
+
Tor 是一个帮助您确保安全,防止通信分析,包括威胁到个人自由和隐私、机密商业活动和关系的行为软件。 Tor 将您的通讯在全世界志愿者所提供的分散式中传播,来保护您的通讯。
  
If you want to install and configure tor follow [http://www.ubuntugeek.com/howto-install-torprivoxy-and-tor-gui-programs-vidaliatork-and-torbuttonin-ubuntu.html This] Guide
+
如果您想安装被配置,参考 [http://www.ubuntugeek.com/howto-install-torprivoxy-and-tor-gui-programs-vidaliatork-and-torbuttonin-ubuntu.html 这个] 手册。
  
=== How to Sync your emails, files, bookmarks, and any other type of personal information  ===
+
=== 如何同步您的邮件、文件、书签,和其它类型的个人信息 ===
  
Conduit is a synchronization solution for GNOME which allows the user to take their emails, files, bookmarks, and any other type of personal information and synchronize that data with another computer, an online service, or even another electronic device.Conduit manages the synchronization and conversion of data into other formats.
+
Conduit 是一个 GNOME 下的资料同步方案,它能够让用户可以使他们的邮件、文件、书签和其它类型的个人信息同步到其它电脑、一个在线服务器, 或者其它电子设备上。 Conduit 可以管理同步和转换数据到其它的格式。
  
If you want to install and configure in Ubuntu Follow [http://www.ubuntugeek.com/conduit-synchronize-your-data-in-easy-way.html This] Tutorial
+
如果您希望在 Ubuntu 下安装和配置,参考 [http://www.ubuntugeek.com/conduit-synchronize-your-data-in-easy-way.html 这个] 指导。
  
=== How to install applications for study of religious texts ===
+
=== 如何安装学习宗教的应用程序 ===
  
* For study of Bible see [http://gnomesword.sourceforge.net/ GnomeSword]
+
* 学习圣经,参考 [http://gnomesword.sourceforge.net/ GnomeSword]
* For study of Quran see [http://zekr.org/ Zekr]
+
* 学习古兰经,参考 [http://zekr.org/ Zekr]
  
==== How to install Gnomesword (Bible study program) ====
+
==== 如何安装 Gnomesword (圣经学习程序) ====
*Read [[#General Notes]]     
+
*查阅 [[#General Notes]]     
*Read [[#How to add extra repositories]]
+
*查阅 [[#How to add extra repositories]]
*This installs the english version of the program.
+
*这个安装英文版本的程序
  
 
  sudo apt-get install gnomesword sword-language-pack-en sword-text-web
 
  sudo apt-get install gnomesword sword-language-pack-en sword-text-web
  
*If you require other languages type:
+
*如果您需要其它语言输入:
  
 
  sudo apt-cache search bible
 
  sudo apt-cache search bible
  
*Take a look at the sword-language-pack's and the sword-text's for additional languages and install as needed.
+
*为附加的语言查看 sword 语言包和 sword 说明,并安装你需要的。
  
Gnomesword is found under Applications-->Accessories.
+
Gnomesword 可以在应用程序 -> 附件 找到。
  
*Under KDE, use kio-sword instead of Gnomesword:
+
*KDE , 使用 kio-sword 代替 Gnomesword:
  
 
  sudo apt-get install kio-sword
 
  sudo apt-get install kio-sword
  
==== How to install a Quran researching tool (Zekr) ====                                                           
+
==== 如何安装一个古兰经研究工具 (Zekr) ====                                                           
 
                                                          
 
                                                          
[http://zekr.org/ Zekr] is an open platform Quran study tool for simply browsing and researching on the Quran.
+
[http://zekr.org/ Zekr] 是一个开放的古兰经学习工具,可以在古兰经中简单的浏览和搜索。
  
* Make sure that You have enabled universe and multiverse Ubuntu repositories.
+
* 确信您启用了 universe multiverse Ubuntu 仓库。
* Install zekr with the following command:
+
* 使用下面的命令安装 zekr :
 
                                                                                                                      
 
                                                                                                                      
 
  sudo apt-get install zekr zekr-quran-translations-en ttf-sil-scheherazade ttf-farsiweb
 
  sudo apt-get install zekr zekr-quran-translations-en ttf-sil-scheherazade ttf-farsiweb
  
* You can add more Quran translations from [http://zekr.org/quran/translations here].
+
* 您可以增加其它的古兰经翻译从 [http://zekr.org/quran/translations 这里].
  
* If you like to upgrade to '''the latest stable version of zekr''', which supports Quran Recitation and advanced boolean/regular expression search, follow instructions available [http://www.zekr.org/wiki/index.php?title=Installation#Ubuntu.2FDebian Zekr wiki].
+
* 如果您需要升级到 '''最新版本的 zekr''', 这个支持古兰经朗读和高级的条件/正则表达式搜索, 查考下面的指引 [http://www.zekr.org/wiki/index.php?title=Installation#Ubuntu.2FDebian Zekr wiki].
  
=== How to install Google Gadgets in Ubuntu Hardy ===
+
=== 如何在 Ubuntu Hardy 里面安装 Google Gadgets ===
  
Google Gadgets for Linux provides a platform for running desktop gadgets under Linux, catering to the unique needs of Linux users. We are compatible with the gadgets written for Google Desktop for Windows as well as the Universal Gadgets on iGoogle. Following Linux norms, this project will be open-sourced, under the Apache License.
+
Google Gadgets for Linux 提供在 Linux 下运行的桌面小工具, 并迎合了 Linux 用户的需求。 相容于在 iGoogle Universal Gadgets 里面的 Windows 桌面下所写的工具,跟随 Linux 精神, 这些项目是开源的, 基于 Apache 版权策略。
  
If you want to install these beautiful gadgets into your ubuntu desktop try [http://www.ubuntugeek.com/howto-install-google-gadgets-in-ubuntu-804-hardy-heron.html This] simple installation guide.
+
如果您希望安装那些漂亮的 gadgets 到您的 Ubuntu 桌面,尝试 [http://www.ubuntugeek.com/howto-install-google-gadgets-in-ubuntu-804-hardy-heron.html 这个] 简易安装手册。
  
=== Playing N64 with the emulator Mupen64Plus for Linux ===
+
=== 使用 Linux 上的 Mupen64Plus 模拟器玩 N64  ===
  
Mupen64 was originally a Nintendo 64 emulator for multi-OS.
+
Mupen64 是一个跨平台的任天堂 64 模拟器。
The development was dead, until someone started to check the source again, and thats what Mupen64Plus is about...
+
本来开发已经停止了, 直到有人开始重新改写它的原代码, 这就是 Mupen64Plus 的来源...
Really good compatibility with different plugins for video/audio/controllers!!!
+
它的视频/声音/控制器等不同的插件相容性非常好!!!
  
Download it from here:
+
从这里下载:
 
[http://mupen64plus.googlecode.com/files/Mupen64Plus-1-3-bin-32.zip Mupen64Plus 1.3 32-Bit]
 
[http://mupen64plus.googlecode.com/files/Mupen64Plus-1-3-bin-32.zip Mupen64Plus 1.3 32-Bit]
 
[http://mupen64plus.googlecode.com/files/Mupen64Plus-1-3-bin-64.zip Mupen64Plus 1.3 64-Bit]
 
[http://mupen64plus.googlecode.com/files/Mupen64Plus-1-3-bin-64.zip Mupen64Plus 1.3 64-Bit]
  
Instalation:
+
安装:
:* Unzip it:
+
:* 解压缩:
 
'''unzip Mupen64Plus-1-3-bin-*.zip'''
 
'''unzip Mupen64Plus-1-3-bin-*.zip'''
:* Go to the directory:
+
:* 到这个目录:
 
'''cd Mupen64Plus-1-3-bin-*/'''
 
'''cd Mupen64Plus-1-3-bin-*/'''
:* Install:
+
:* 安装:
 
'''./install.sh '''
 
'''./install.sh '''
  
 +
安装后,您可以在任何地方输入 mupen64plus 来运行或为它建立一个快递方式。
 +
祝您玩得愉快.
  
Now its installed, you can run it from everywhere typing mupen64plus or just create an icon to it.
+
=== 在您的 Ubuntu 电脑上使用 Zattoo 看 Live-TV ===
 
+
Enjoy.
+
 
+
=== Watching Live-TV On Your Ubuntu Desktop With Zattoo ===
+
 
+
Zattoo has developed a software program that allows you to watch TV on your computer. All you need is a broadband connection and a current operating system (Windows XP or Vista, Mac OS X, or Linux). The service is legal and free of charge.
+
  
If you want to install and configure Zattoo in Ubuntu, check out [http://www.ubuntugeek.com/watching-live-tv-on-your-ubuntu-desktop-with-zattoo.html this tutorial].
+
Zattoo 开发了一个软件可以允许您在电脑上看电视。 你所需要的只是一个稳定的宽频连线和一个当前的操作系统 (Windows XP 或 Vista, Mac OS X, 或 Linux)。 这个服务是免费合法的。
  
== How to upgrade from Hardy Heron to Intrepid Ibex (for developers and bug reports only)==
+
如果您需要在 Ubuntu 下安装并设置 Zattoo , 参考 [http://www.ubuntugeek.com/watching-live-tv-on-your-ubuntu-desktop-with-zattoo.html 这个指引]。(译者注:Zattoo 现在仅对以下国家和地区开放:Belgium, Denmark, France, Germany, Norway, Spain, Switzerland, 和 UK。)
  
*This isn't yet a safe way to upgrade to the next version of Ubuntu. The packages are still in experimental stage, since the dependencies aren't ready yet. Most users should continue using the current stable edition. Testers consider running Ibext in a testing environment (for example, on a Virtual Machine, Wubi or Lubi.)
+
== 如何从 Hardy Heron 升级到 Intrepid Ibex (仅适用于开发者和 bug 报告提交者)==
  
 +
*目前(< 2008 年 09 月 16 日)升级到 Ubuntu 的下一个版本还不安全。所有的软件包都还处在测试阶段,有些依赖性问题还未解决。 大多数的用户应该继续使用当前稳定版本(8.04 - Hardy Heron)。 测试者应该在测试环境(例如:在一个虚拟机 Wubi 或 Lubi 上运行)中运行 Ibex 。
  
=== RSS Readers Available in Ubuntu Linux ===
+
=== Ubuntu Linux 上 RSS 阅读器可以使用了 ===
  
RSS is a family of Web feed formats used to publish frequently updated content such as blog entries, news headlines, and podcasts in a standardized format. An RSS document (which is called a “feed”, “web feed”, or “channel”) contains either a summary of content from an associated web site or the full text. RSS makes it possible for people to keep up with web sites in an automated manner that can be piped into special programs or filtered displays.
+
RSS 是一组 Web feed 格式被用于发布频繁更新的内容, 如 blog 条目, news 头条, 和 播客, 使用标准化的格式。 一个 RSS 文档 (也称为 “feed”, “web feed”, “channel”) 包含了相关 web 站点或全文的摘要。 RSS 使 web 站点的内容自动输出到其它程序或者过滤显示称为可能。
  
If you are looking for RSS Readers Available in Ubuntu check [http://www.ubuntugeek.com/list-of-rss-readers-available-in-ubuntu.html This]
+
如果你希望查阅 Ubuntu 的 RSS 阅读器, 查阅 [http://www.ubuntugeek.com/list-of-rss-readers-available-in-ubuntu.html 这里]
  
=== Upgrade to Intrepid Manually ===
+
=== 手工升级到 Intrepid ===
*Until the first Alphas enter the repositories, the update manager will not prompt you to install Intrepid Ibex with the command
+
*只有当第一个 Alpha 版本进入到仓库后, 升级管理器才会提示您安装升级到 Intrepid Ibex 的信息。
  
 
   update-manager -d
 
   update-manager -d
  
*You can do it manually by changing your sources.list file:
+
*您可以自行修改您的 sources.list 文件来升级:
  
:*Backup the sources.list file:
+
:*备份 sources.list 文件:
  
 
   sudo -i
 
   sudo -i
第1,428行: 第1,415行:
 
   cp sources.list sources.list.backup
 
   cp sources.list sources.list.backup
  
:*Change the repositories:
+
:*修改仓库:
  
::*Delete everything in the old sources.list file and paste these:
+
::*删除 sources.list 文件中所有旧的内容, 增加下面的内容:
  
 
  deb http://archive.ubuntu.com/ubuntu/ intrepid main universe restricted multiverse
 
  deb http://archive.ubuntu.com/ubuntu/ intrepid main universe restricted multiverse
第1,438行: 第1,425行:
 
  deb http://archive.ubuntu.com/ubuntu/ intrepid-backports universe main multiverse restricted
 
  deb http://archive.ubuntu.com/ubuntu/ intrepid-backports universe main multiverse restricted
  
:*Update the repository cache:  
+
:*更新仓库缓存:  
  
 
   sudo -i
 
   sudo -i
 
   aptitude update
 
   aptitude update
  
:*Check in Software sources that everything has changed to Intrepid. No Hardy repos should be there. If there are, disable them and enable the Intrepid repos.
+
:*检查软件源中所有的来源都修改为了 Intrepid。 Hardy 仓库不应该还在这里。 如果存在, 屏蔽他们并激活 Intrepid 仓库。
  
:*Update the repository cache again, upgrade all packages, do a distrubution upgrade to Intrepid, then upgrade all the new Intrepid packages (some of these are voodoo steps):
+
:*再次更新仓库缓存, 升级所有包, 做发行版升级到 Intrepid, 然后更新所有的新的 Intrepid 软件包 (有些步骤请小心):
  
 
   aptitude update  
 
   aptitude update  
第1,455行: 第1,442行:
 
   aptitude upgrade
 
   aptitude upgrade
  
Every command should be done alone and you have to check continuously which packages have conflicts with the old ones and which ones are being removed. Be careful: if important system packages are removed (libs, gcc , xorg packages, bash , ubuntu-desktop , gdm etc), you must reinstall them (this can happen in the case of meta-packages)
+
所有命令都应该单独运行,而且您需要不断检查时候和旧的软件包冲突, 还有哪些包需要删除。 注意: 如果重要的系统包被删除了 (libs, gcc , xorg packages, bash , ubuntu-desktop , gdm ), 你必须重新安装他们 (即使是 meta-packages 也会出现这种情况)
  
*''Everything sould be done by advanced users and ONLY in testing environment. These packages are unstable (like those in [experimental] in Debian Sid/Unstable).''
+
*''所有的这行应该由高级用户完成,并仅仅用于测试环境。 很多包都在测试阶段 ([experimental] 位于 Debian Sid/Unstable 中的一样)''
  
It has been reported that debconf package may not be installed automatically. Lock it's hardy version through Synaptic.
+
有报告说 debconf 包无法自动安装。 通过新立得锁定 hardy 版本。
  
===Upgrade to Intrepid automatically ===
+
=== 自动升级到 Intrepid ===
  
*When the first Alphas enter their way into the repositories, change the repositories:
+
*在第一个 Alpha 版本进入仓库之后, 修改仓库升级:
  
 
   sudo update-manager -d
 
   sudo update-manager -d
  
Check if the Hardy repositories are disabled and replaced by Intrepid repositories.
+
检查 Hardy 仓库是否被关闭并被 Intrepid 仓库取代。

2013年3月23日 (六) 16:34的最新版本


Ubuntu 8.04 LTS (Hardy Heron)

Ubuntu Hardy Heron, 发布于2008年4月24日,是 Gutsy Gibbon 的延续. 请帮助测试和完善本指南.

本指南是由 Chua Wen Kiat (Kuala Lumpur, 马来西亚) 开始编写。

目录

前言

关于 Hardy

  • Ubuntu 8.04 发布于2008年4月24日 。
  • 代号叫做 Hardy Heron ,是 Ubuntu 7.10 Gutsy Gibbon 的延续版本 。
  • * Hardy Heron 是一个 LTS (长期支持) 版本 , 将提供服务器版本五年和桌面版本三年的安全性升级支持。

如何找出您正在使用的哪个版本

使用这个命令:

lsb_release -a

如何找出您正在使用的Ubuntu发行版的内核版本

使用这个命令:

 uname -r

Ubuntu的版本更新

  • Ubuntu 使用6个月的发布周期
  • 发布时间为4月和10月
  • 下一个发行版计划于2009年10月30日,命名为 Ubuntu9.10 (代号Karmic Koala )。

关于 Ubuntu 和官方的 Ubuntu 衍生版

Ubuntu 8.04 指南和链接

Ubuntu 抓图

Ubuntu 8.04 屏幕抓图

Kubuntu 抓图

Kubuntu 8.04 屏幕抓图

有用的知识

此小节包含了对本手册有用的辅助信息。

使用 控制台 / 终端 / shell

控制台, 终端, 和 shell 意味着同样一件事 - 一个命令行界面. 他可以用来控制系统从而代替图形用户界面 (GUI)。 这个指南本的大部分任务都可以使用GUI来完成, 但对于大多数用户而言使用命令行更加简单。

打开一个控制台:

应用程序 --> 附件 --> 终端

任何一个使用 'sudo' 作为前缀的命令都需要拥有管理员 (或 root) 访问权限。 所以在输入命令之后你会被提示输入当前使用中用户的密码。

=== 使用 manpages 显示命令行的参数和帮助 大多数的程序和命令都含有一个帮助手册或者屏幕,称为 "manpages"。

一个命令函数和命令行选项可以通过在终端输入下面的命令显示出来:

man <command>

例如,

man apt-get

将显示 apt-get 命令的选项。

Windows 和 Ubuntu 双启动

您可能遇到Ubuntu 和 基于 Windows Vista 新引导程序的双启动问题。 Wubi (Windows Based Ubuntu Installer, 基于 Windows 的 Ubuntu 安装程序) 是一个正式支持双启动的安装程序。 如果你使用 Wubi 有任何问题, EasyBCD 是一个免费的 Windows 程序,可以快速和安全的完成 Windows Vista 和 Ubuntu (或其它发行版)的双启动.

保持系统不断更新

  • 这里存放着系统升级包,仓库里包含了最新的补丁,安全修复和软件包。
  • 确信有正确的仓库设置:
系统 --> 系统管理 --> 软件源
  • 打开命令行终端:
  应用程序 --> 附件 --> 终端
  • 更新源:
  sudo apt-get update

(系统将提示输入您的用户密码。)

  • 升级当前已经安装包的版本:
  sudo apt-get upgrade
  • 如果你希望更新到一个新版本,使用:
  sudo apt-get dist-upgrade
升级到一个新的版本需要谨慎行事。 确保你没有使用一个特定 Ubuntu 版本的功能。 一些应用程序并不兼容新版本,当你做了发行版升级后,可能会停止工作。

安装包 (程序) 和 库

Ubuntu 有两种办法安装包到您的系统。

您可以从命令行安装包或者从新立得软件包管理器

如何使用 Apt 安装包 (从命令行终端)

  • Apt 是 Debian 包管理器,同样也在 Ubuntu 下使用良好。
  • 启动一个命令行终端:
 应用程序 --> 附件 --> 终端 
  • 使用输入来安装一个包:
 sudo apt-get install package
  • 例如,安装音乐播放器 Amarok:
 sudo apt-get install amarok
  • 删除一个软件包:
 sudo apt-get remove package
  • 例如,删除 Exaile 音乐播放器:
 sudo apt-get remove exaile
  • 当在安装或者删除时, Apt 将自动检查程序的依赖关系。

如何使用新立得软件包管理器安装包

  • 启动新立得软件包管理器:
系统 --> 系统管理 --> 新立得软件包管理器
  • 使用搜索按钮来搜索包。
  • 点击包前面的方块来安装它; 它将被加入到安装队列中。
  • 点击 "应用"。 新立得将计算选择包的依赖关系,将其一并安装到系统。

test

查找软件包/程序

有几种方法可以在仓库里找到软件包

在新立得查找软件包

  • 打开新立得软件管理器
系统 --> 系统管理 --> 新立得软件包管理器
  • 点击搜索按钮。

选择一个最快的镜像

在Ubuntu站点查找一个软件包

  • 搜索 Hardy 软件包:

使用 Apt 查找软件包

  • 启动一个命令行终端:
 应用程序 --> 附件 --> 终端
  • 在缓存中搜索软件包名称。
  sudo apt-cache search <package-name>
  • 例如:
  sudo apt-cache search music player

在 Aptitude 搜索软件包

  • Aptitude 是带有菜单版本的 apt. 它来源于命令行终端。
应用程序 --> 附件 --> 终端
user> aptitude
  • 使用搜索选项,类似于新立得软件包管理器

增加程序到应用程序菜单

  • 在菜单栏上点击右键 编辑菜单.
  • 可选,从命令行终端:
alacarte
  • 在硬盘上查到本地的应用程序位置:
  locate <applicationname>

显卡和显示

安装 ATI 和 nVidia 显卡驱动

安装受限制的驱动

NVidia 驱动

更多NVIDIA驱动安装详细信息(参阅http://wiki.ubuntu.org.cn/NVIDIA)

  • 确定您现在运行的内核版本:
user@localhost:~$ uname -a
Linux ubuntu804server 2.6.24-17-server #1 SMP Thu May 1 14:28:06 UTC 2008 x86_64 GNU/Linux
  • 我有一个 server 内核, 因此我需要安装下面的:
sudo apt-get install linux-restricted-modules-server

你也可以从新立得软件包管理器来安装

  • 点击 系统 > 系统管理 > 硬件驱动 并打开驱动.
  • 重启
  • 有些用户可能得到如下错误信息: "这个 nvidia-glx-new 包的软件来源并不被允许启动." 可以如下修复,到 系统 > 系统管理 > 软件源 在"可从互联网下载"页面,勾选下面所有的选项, 点击关闭将重新更新包列表. NVidia 驱动能通过上面的办法可用。
  • 您可以选择启动时不显示 NVidia 标志:
sudo nvidia-xconfig --no-logo

安装 EnvyNG 驱动 (ATI & nVidia)

  • 确保您正在运行最新版本的驱动程序.
  • 阅读 这个指南.
  • 安装 gtk 软件包:
sudo apt-get install envyng-gtk

对于最新的ATI/AMD二进制驱动的apt-get安装

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install fglrx

安装驱动从软件仓库 (ATI & nVidia)

  • 从新立得软件包管理器:
 系统 > 系统管理 > 硬件驱动
  • 选择您的显卡和所需的选项:
  • 重启.

开源的 rRadeon 驱动 (ATI)

RadeonHD 驱动 (ATI only)

  • 对于那些最新的 ATi 显卡 (2xxx 和 3xxx) 并且使用最新的ATi驱动无法显示 (通过 EnvyNG) 或者软件仓库带的驱动.
  • 确保您没有安装其它的 ATI 驱动.
  • 也可以阅读这里 更多信息.
  • 在新立得软件包管理器搜索下面的软件包:
  xf86-video-radeonhd

修复在 Compiz-Fusion 下视频回放的问题

问题: 当在 Compiz-Fusion 下全屏时, 一个蓝色的屏幕代替了应该出现的特效。

解决方案: 尝试 这个修复.

注意:此修补不是一个永久性的修复。它使用您的CPU渲染视频,而不是您的显卡。当在高分辨率下改变大小时,视频将显示一格一格的点,因为 CPU 是无法后处理的视频(额外消耗您的系统资源) 。似乎目前无法修复此视频播放问题,这是一个X服务器端的驱动程序问题。

配置 nVidia 显卡的多个显示器

安装 nVidia 显卡控制面板:

  sudo apt-get install nvidia-settings

并运行配置工具:

  gksu nvidia-settings

您可以配置您的所有显示器,设置单独的刷新率,并改变相对于其它的定位。当您完成时,请务必按一下'储存到X配置文件' 。某些显示器可能有问题; 注销再重新登录可解决这个问题。

无线网卡

大多数的无线设备都工作正常。 可以点击 系统 -> 系统管理 -> 网络工具 来配置它们。

Atheros 5007EG 和 madwifi 于 i386 平台

对于那些, 使用 Atheros 5007EG 芯片的用户将无法使用 ndiswrapper 工作.这个手册仅仅适合 i386 平台, 因此如果您运行 x64 linux, 那么您继续尝试 ndiswrapper 或从 atheros 和 madwifi 等待一个新的解决方案.

atheros 和 madwifi

Atheros AR5007 wireless 和 madwifi 于 Ubuntu 8.04 (Hardy heron)

如果您使用 Atheros AR5007 无线网卡,按照下面的步骤让它在 ubuntu 8.04 下正常工作

Atheros AR5007 wireless 和 madwifi

Atheros ar242x

atheros ar242x 无线网卡的驱动作为一个私有的驱动看起来已经可以用了 (参考 系统 > 系统管理 > 硬件驱动)。 您可以注意到在您的网路工具 (系统 > 系统管理 > 网络)并没有发现无线网卡。 以下的步骤可能会解决您的问题,从而无需安装 ndiswrapper 支持 Windows 驱动程序。

http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/

注意:这种做法的坏处是,每一个新的内核更新后,您将不得不重新编译驱动。

Intel Corporation PRO/Wireless 2915ABG 网络

虽然这个支持已经预先建立在了 ubuntu hardy...但对于有一些笔记本电脑,例如 Acer Travelmate C200, 无线按钮没有反应,用户不能知道设备是否在工作。一个非常简单的解决办法如下:

第一步:

       sudo cat > ipw2200.modprobe << "EOF"
       options ipw2200 led=1
       EOF

第二步:

       sudo mv ipw2200.modprobe /etc/modprobe.d/

第三步:

       运行 "lsmod |grep ipw2200" 来检查 ipw2200 模块是否被装载....重新启动系统即可享受乐趣!

如何备份您的 Ubuntu 桌面

Pybackpack - 一个针对 Ubuntu Linux 桌面的友好文件备份工具

图形化的工具使文件备份简单。提供了一个友好的用户界面可让您备份您的文件到一个压缩档,或者 CD/DVD 或者使用 SSH 的远程位置。

包含了截图的安装指南 点击这里


如何在 Hardy Heron 上安装多媒体支持

安装解码包

 sudo apt-get update

准备好后. 请检查你所有的仓库源都开启了,位于 系统 > 系统管理 > 软件源.

然后运行下面命令:

 sudo apt-get install ubuntu-restricted-extras

现在您已经有了用来播放您自己多媒体的大部分解码器。

安装 DVD 支持

如果您需要安装解码器在 i386 和 64 位,点击 这个

如果您需要一个自动运行的脚本,到 这里.

在控制台,输入:

  sudo gedit /etc/apt/sources.list

在文件的最后增加下面的内容:

  ## Medibuntu - Ubuntu 8.04 "hardy" 
  ## Please report any bug on https://bugs.launchpad.net/medibuntu/ 
  deb http://packages.medibuntu.org/ hardy free non-free

保存文档后在终端输入:

  wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

用来得到相对应的密钥。

最后,在终端输入:

   sudo apt-get update 
   
   sudo apt-get install libdvdcss2

校订

我用了这个方法,但是 DVD 影片却不能预览,或让我回到主菜单。 当语言设置为自动时,英文的DVD却使用法文或西班牙文播放。

我使用了这个 论坛页面上的方法来让我的 DVD 影片工作,并且运行的很好!甚至不只是在 Xubuntu 下能用。

这个是全自动完成,适合所有 Ubuntu 版本: http://www.hildoersystems.com/index.php/home/62.

方法 1: 我仅仅新开了一个窗口, 下面的方法将 dvd/cd 回放的问题处理的很好。 运行下面的命令:

代码:

     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
     sudo apt-get install vlc libdvdcss2 ubuntu-restricted-extras w32codecs

就这些。

用于增加更好的 totem-xine 播放器用来取代缺省的 totem 播放器

     sudo apt-get install totem-xine
     sudo update-alternatives --config totem

方法 2

编辑 : libdvdread3/install-css.sh 这个有些过时了, 最好的选择是从 medibuntu 获得您需要的库,解码器和播放器,在一些少见的案例中,当前的 libdvdcss2 无法在你的系统上工作,下面是另外的选择

Pulseaudio

在 Xubuntu, 您可以体验到一些小问题,从 Gutsy 升级后 Pulseaudio 没有声音。 原因可能是 Pulseaudio 服务没有启动。 音效服务没有在启动时自动启动 (为了降低使用音效崩溃的风险), 但在登录后。 因此, 您可以为 Pulseaudio 增加一个项目到自动启动程序中。 下面是一个范例:

:[Desktop Entry]
:Encoding=UTF-8
:Version=0.9.4
:Type=Application
:Name=Pulseaudio
:Comment=
:Exec=pulseaudio
:StartupNotify=false
:Terminal=false
:Hidden=false

安装 VLC Media 播放器

在控制台输入:

  sudo apt-get install vlc

删除,

sudo apt-get --purge autoremove vlc

如果您遇到声音的问题 (因为 PulseAudio ), 输入:

   sudo apt-get install vlc-plugin-pulse

并在 VLC 选项中选择 PulseAudio 作为输出。

如何当您插入一个 DVD 时,使用 VLC 打开

有些用户使用 Totem 播放 DVD 时有些问题。 Totem 是 Hardy 缺省的 DVD-回放程序, 而且没有明显的办法修改。 很多之前版本的技巧不再适合。 这个主要的问题在于 VLC 没有将自己注册为一个可以播放 DVD 的程序。 下面的步骤可以设置 VLC 媒体播放器作为您缺省的 DVD 播放器。

如果不存在此目录,就建立一个新的,作为自定义设置,在控制台输入:

   mkdir ~/.local/share/applications

复制独立的 VLC 设置文件。输入:

   cp /usr/share/applications/vlc.desktop ~/.local/share/applications/vlc-dvd.desktop

编辑 vlc-dvd.desktop。输入:

   gedit ~/.local/share/applications/vlc-dvd.desktop

卷动,并找到下面的行:

   Exec=vlc %U

使用下面的一行替换上面的行

1. (你只需要)
   Exec=vlc %f
2. (ubuntu论坛中更好的 dvd 回放设置)
   Exec=vlc --vout-filter deinterlace --deinterlace-mode blend --volume 512 %f
3. (ubuntu论坛中更好的 dvd 回放设置,并自动全屏播放)
   Exec=vlc --vout-filter deinterlace --deinterlace-mode blend --volume 512 --fullscreen %f

保存文件并关闭 gedit, 然后打开 mimeapps.list。 在控制台输入:

   gedit ~/.local/share/applications/mimeapps.list

在大多数的情况下应该是一个新的空白文件, 而你仅仅需要从下面的行贴上。 如果 mimeapps.list 已经存在, 滚动到你找到这个[Added Associations]下面的 «x-content/video-dvd» 为止, 并修改到下面蚊子 (当你找不到时,直接贴上下面的行)。

   [Added Associations]
   x-content/video-dvd=vlc-dvd.desktop;totem.desktop;

保存文件并关闭 gedit。 检查是否设置正确, 从 Gnome 菜单 位置 -> 主文件夹, 接着在文件浏览器菜单编辑 Edit -> 首选项 -> 介质, 和 «DVD 视频» 设置到 «打开 VLC media player» (您应该可以在 Totem/Move Player 和 VLC 之间选择)

安装 Amarok (音乐播放器)

虽然 Amarok 是一个 KDE/Qt 程序, 但它可以在 Ubuntu 下良好工作, 输入下面的命令来安装:

  sudo apt-get install amarok

安装 Exaile (类似 Amarok 的音乐播放器)

Exaile 是一个 GTK, 类似 Amarok 的音乐播放器。 在命令行终端:

  sudo apt-get install exaile

确信您已经安装了多媒体解码器。

安装 Pulseaudio 工具

这将安装 pulseaudio 工具,包含了专有的应用程序声音控制和音效服务器控制工具。

打开一个终端窗口输入下面的:

  sudo apt-get install libasound2-plugins "pulseaudio-*" paman padevchooser paprefs pavucontrol pavumeter libflashsupport

从 应用程序 -> 影音 菜单来访问这个工具-运行 Pulseaudio 设备管理员。

安装 XMMS

备注: XMMS 不再包含到软件库,必须从源码安装。 手册在 <http://blog.sartek.net/2008/04/install-xmms-on-ubuntu-804-hardy-heron.html>.


特别小心. 不通过 PMS (软件包管理系统, 意味着 apt 和它的前端, Synaptic) 可能有风险, 因为系统不会追踪编译完成后安装的二进制文件。

你确信清楚你在做什么。

如果您想合适的安装,可以考虑制作一个 .deb 软件包'

XMMS 依赖很多软件包; 在终端输入下面的命令安装他们:

  sudo apt-get install autotools-dev automake1.9 libtool gettext libasound2-dev libaudiofile-dev 
  libgl1-mesa-dev libglib1.2-dev libgtk1.2-dev libesd0-dev libice-dev libmikmod2-dev libogg-dev 
  libsm-dev libvorbis-dev libxxf86vm-dev libxml-dev libssl-dev build-essential make

从 XMMS 站点下载源代码,解压缩 .tar.gz:

  http://xmms.org/

从一个终端进入到新解压的目录并输入:

  ./configure --prefix=/usr

编译代码:

  make

然后安装:

  sudo make install

如果您喜欢,可以删除解压缩出来的目录。 如果想要声音输出正常, 您可以修改声音输出插件从 OSS 驱动到 ALSA。 打开 xmms 浏览 选项-偏好设置 菜单来修改。

安装 Real Player 11 和配置 Mozilla 插件

以下步骤显示如何安装 Real Player 11 和运行在 Hardy Heron 上的 Firefox 3.0 浏览器的 Mozilla 插件。

下载 Real Player 11 从:

  www.real.com/linux

開啟終端機(terminal)並切換到剛剛下載好的檔案所在的目錄。將權限設定允許執行,並用以下指令執行安裝設定: 打开一个终端并切换到文件下载的目录。 赋予可执行权限并使用下面的命令进行安装:

  chmod 770 RealPlayer11GOLD.bin
  sudo ./RealPlayer11GOLD.bin
  

安装时使用了下面的缺省安装目录:

  /opt/real/RealPlayer

安装程序将复制文件和建立菜单快捷方式。然后运行下面命令。

  cd /usr/lib/firefox-addons/plugins
  sudo ln -s /opt/real/RealPlayer/mozilla/nphelix.xpt nphelix.xpt
  sudo ln -s /opt/real/RealPlayer/mozilla/nphelix.so nphelix.so
  sudo mv /usr/lib/totem/gstreamer/libtotem-complex-plugin.so ~/.

打开 Firefox 在地址栏输入 about:plugins 。 卷动并查找到下面的条目。

  Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
  File name: /opt/real/RealPlayer/mozilla/nphelix.so
  Helix DNA Plugin: RealPlayer G2 Plug-In Compatible version 0.4.0.4005 built with gcc 3.4.3 on Feb 25 2008

如果发现,您的 Real 插件已经安装好了!

系统和网络监视

安装 Zenoss stack

Zenoss 是一个充满特色的开源网络监听程序。 如果安装包含了所有依赖的 Zenoss 版本, 首先需要增加软件库,输入:

  sudo gedit /etc/apt/sources.list

在文件的最后面粘贴:

  ## Zenoss - Ubuntu
  ## Please report any bugs at http://dev.zenoss.org/trac
  deb http://dev.zenoss.org/deb main stable

保存文件并退出。

为了接收到密钥,输入:

  wget -q http://dev.zenoss.org/deb/zenoss-gpg.key -O- | sudo apt-key add -

然后再输入:

   sudo apt-get update
   sudo apt-get install zenoss-stack

启动 zenoss:

   sudo /etc/init.d/zenoss-stack start

然后在您的浏览器, 访问 http://yourhost:8080, 其中 yourhost 是你安装了 Zenoss 的 FQDN 服务器。 Zenoss 文档在 http://docs.zenoss.com

Internet 和 Web 开发

远程桌面

这里有几种办法远程访问您的 Ubuntu 桌面, 请权衡每一种方法,并按照您的需要选择。

如何安装和使用 Windows 下的 Xming

软件 Xming 可以用于在 Windows 电脑上访问一个 Ubuntu 远程桌面。 运行在 Windows XP 上的 Xming 提供了一个 XDMP 接口的 X 服务器。

  • 下载 Xming 软件和字体安装包从 SourceForge.net
  • 首先安装 Xming , 然后安装字体。
  • 下一步您确信您的 Windows 防火墙没有阻止连接到您的 Linux 电脑。 在您的防火墙设置的 "例外" 页面,增加输入下面的端口配置:
名称: Any name
端口: 16001
TCP -> 选择
名称: Any name
端口: 6000
TCP -> 选择
名称: Any name
端口: 177
UDP -> 选择
  • 到您的 Ubuntu 电脑上允许远程桌面: (Gnome)
系统 -> 首选项 -> 远程桌面
"允许其他人查看您的桌面" -> 选择
"允许其他用户控制您的桌面" -> 选择

在同样的页面上选择您的安装设置方式。

  • 确保您的 Linux 电脑没有拦截通过 TCP 访问 XDMP :

在您的 Linux 电脑 (Gnome) 点击 系统 -> 系统管理 -> 登录窗口 -> 安全。 确保 "禁止 TCP 连接到 X 服务器" 没有被选择。

  • 到您的 Windows 电脑的您安装的 Xming 目录并点击运行 XLaunch.exe
  • 选择其它所有的选项除了 "Multiple Windows", 点击 "Next".
  • 选择 Open session via XDMCP, "Next".
  • 选择 Connect to host. 输入您的 Linux 电脑名字或者 IP 地址, "Next".
  • 允许 Clipboard.
  • 保存配置 & 点击 Finish.

现在您可以从 Ubuntu 获得一个登录窗口了。

潜在问题

可能有一个潜在的问题,在您远程桌面上鼠标滚轮不工作。 要修复这个问题到您的 linux 电脑上编辑这个文件: /etc/X11/xorg.conf. 在Section "InputDevice", Identifier "Configured Mouse" 增加下面的行: (这是一个通用的 PS2 两键滚轮鼠标)

Option    "Protocol" "IMPS/2"
Option    "ZAxisMapping" "4 5"
Option    "Buttons"   "3"

警告: 请确定这样做,它将修改您的 X 服务配置

在条件和参数之间使用 <Tab> 来间隔。

  • 重启您的 Ubuntu 电脑,使配置生效。

指南: 在 Ubuntu/Linux 上通过 sysctl 调整和最大化网络带宽!

我会在这里展示一些隐藏的设置,这些可以增加您的 internet 速度, 并且适合于所有的 linux 操作系统,包括 Ubuntu:

1. 打开一个终端,通过 应用程序 -> 附件 -> 终端

输入:

    sudo vim /etc/sysctl.conf    (按 i 进入编辑模式)

到文件的结尾粘贴下面的行:

 ## increase TCP max buffer size setable using setsockopt()
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
 ## increase Linux autotuning TCP buffer limits
 ## min, default, and max number of bytes to use
 ## set max to at least 4MB, or higher if you use very high BDP paths
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
 ## don't cache ssthresh from previous connection
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_moderate_rcvbuf = 1
 ## recommended to increase this for 1000 BT or higher
net.core.netdev_max_backlog = 2500
 ## for 10 GigE, use this, uncomment below
 ## net.core.netdev_max_backlog = 30000
 ## Turn off timestamps if you're on a gigabit or very busy network
 ## Having it off is one less thing the IP stack needs to work on
 ## net.ipv4.tcp_timestamps = 0
 ## disable tcp selective acknowledgements.
net.ipv4.tcp_sack = 0
 ##enable window scaling
net.ipv4.tcp_window_scaling = 1


输入 :wq ,保存和退出。

在终端输入

    sudo sysctl -p 

应用这些设置。


您可以屏蔽和删除你增加的行,使用:

    sudo gedit /etc/sysctl.conf

在桌面上安装 LAMP 服务

LAMP 代表 Linux, Apache, MSQL 和 PHP. 您可以从新立得软件包管理器安装这个四合一软件 (如果您使用的是桌面版)。

系统 --> 系统管理 --> 新立得软件包管理器 -->
编辑 --> 使用任务分组软件包 --> LAMP server --> 应用

简单的 LAMP 服务设置

大约 15 分钟, 可以安装 LAMP (Linux, Apache, MySQL and PHP) 到 Ubuntu Server 版, 这些功能和都已经在已经安装好的 Ubuntu Server 版中提供。

参考 15 分钟设置 LAMP 服务 非常简单的设置手册

从本地 web 开发环境安装一个 LAMP 服务

下面将安装 Apache2, PHP5, MySql5, 和 PHPMyAdmin.

首先在控制台输入下面的命令:

  apt-get update

这个将更新到最新的软件包列表。

然后输入:

  sudo apt-get install apache2 php5 mysql-server-5.0 phpmyadmin

这个将会安装所有需要的程序。 您可能被提示输入一个 MySQL root 密码 (如果你想就设置一个), 并配置 PHPMyAdmin (选择 apache2 作为服务类型)。 这些完成后, 我们需要一些细微的设置来让 PHPMyAdmin 运行。 输入:

  sudo gedit /etc/apache2/apache2.conf

卷动到打开文件的最后,增加:

  # Enable PHPMyAdmin
  Include /etc/phpmyadmin/apache.conf

现在保存,退出,并输入:

  sudo /etc/init.d/apache2 restart

现在所有的都配置好了 - 访问 http://127.0.0.1 页面, 以及 http://127.0.0.1/phpmyadmin 进行数据库管理。 webroot 缺省位于 /var/www/ 。 这个并不是很有用,我们不能写入这个目录,可以使用下面简单的办法处理 ...

在您的 LAMP 服务上增加一个虚拟主机

第一种办法

这个可以让我们在我们的浏览器,使用不同的网址访问不同的目录 - 事实上, 'localhost' 或 127.0.0.1 多无趣。

首先增加一个新的主机。 这个非常容易做通过 系统 --> 系统管理 --> 网络; 点击主机页面, 从列表中选择 localhost 项目点击属性。 您可能先需要点击 '解锁' 按钮并输入您的密码。 在 'localhost' 的下面, 新的一行, 增加您选择的记录; 例如, 我们使用 'testhost'。 加入这个, 并关闭所有的对话框。

为了检查是否生效, 您可以检查 '/etc/hosts' 文件。

  sudo gedit /etc/hosts

您可以看到如下行.

  127.0.1.1	testhost

现在我们需要编辑 Apache 配置文件,在控制台输入:

  sudo gedit /etc/apache2/httpd.conf

在打开的文件 (可能是空的), 增加您定义的主机! 我的用户名是 'dan', 我希望我的网页保存目录为 我的主目录下的 'www' 目录, 因此我增加:

  <VirtualHost *>
     ServerName testhost
     DocumentRoot /home/dan/www
  </Virtualhost>

testhost 是新虚拟站点的名字 (它必须和您上面配置的记录保持一致).

完成这些后, 您需要重启 apache 才可以使用新的配置。

  sudo /etc/init.d/apache2 restart

我现在可以增加文件到 /home/dan/www, 并通过 http://testhost 来访问。

第二种办法

启动终端并输入:

  cd /etc/apache2/sites-available
  sudo touch your-site-name.conf
  sudo nano your-site-name.conf

输入您的虚拟主机,例如:

  <VirtualHost 127.0.1.1:80>
  ServerName myserver
  ServerAdmin me@myserver
  DocumentRoot /home/me/webroot/default
  <Directory /home/me/webroot/default>
     Options -Indexes
     AllowOverride All
     Order Allow,Deny
     Allow From All
  </Directory>
  </VirtualHost>

保存为一个新文件并输入下面的命令:

  cd ../sites-enabled
  ln -s /etc/apache2/sites-available/your-site-name.conf ./your-site-name.conf
  cd ../
  sudo nano apache2.conf

到 apache2.conf 文件的最后增加注解后的下面几行:

  # Include the virtual host configurations:
  NameVirtualHost 127.0.1.1:80
  Include /etc/apache2/sites-enabled/

保存编辑的文件并输入下面的命令:

  sudo nano /etc/hosts

在您的配置文件里面的 127.0.1.1 记录的后面增加, 例如:

  127.0.0.1 localhost
  127.0.1.1 zozi myserver

最后但不重要, 保持编辑的文件,并重启服务,按照:

  sudo /etc/init.d/apache2 restart

您新的虚拟站点可以访问了,通过 http://myserver/ 访问。

家庭自动化 / 家庭影院 / 家庭安全

完整的系统

Linux MCE (媒体中心版本)

LinuxMCE 是一个为您的家庭设计,并包括了家庭影院/家庭安全/家庭自动化/电话交换机/内部通话的系统。这个是一个社区计划,从以商业为主的 Linux Pluto 分支出来。其中有一个版本在 Kubuntu 7.04 (Feisty) 上运行,而另一个版本在 Kubuntu 7.10 (Gutsy) 上运行。 Kubuntu 8.04 (Hardy) 版的已经快完成了。这些可于 32 和 64 位版本上运行。 LinuxMCE 可以成为一台独立的家庭剧院个人电脑,或通过 Kubuntu Linux 操作系统本身的网络能力,在完整网络化的家庭与其它设备一起运作。更多资讯参考 LinuxMCE 网站

LinuxMCE 可以和 Kubuntu OS 通过一张 DVD 同时安装到到一台 Nvidia 显卡 (6000, 7000, 或 8000 系列)的新电脑上。

LinuxMCE 也可以使用 LinuxMCE 第二张 CD ,作为附加软件包安装到一个已经存在的 Kubuntu 系统。在安装过程中需要一张Kubuntu LiveCD,即使您已经完整的安装 Kubuntu 了。 (LinuxMCE 安装时需为一些附加的模块使用 Kubuntu LiveCD。) 要注意的是,LinuxMCE 的版本必须和 Kubuntu 版本一致 -- 例如 LinuxMCE 710 版 CDs 需要 Kubuntu 7.10 (Gutsy) Live CD。

通过第二张光盘安装,您可以在同一台 PC 上从 LinuxMCE 运行 Kubuntu ,但是建议将一台 PC 作为 LinuxMCE 的核心服务器。

LinuxMCE 将 MythTV, Pluto家庭自动化,Motion 安全监控,Asterisk 私人交换机 PBX, VDR 电影录制,和其它家庭自动化/安全/影院软件包整合到同一平台上。

目前,全自动的 Linux MCE 安装程序使用 KDE 桌面 (Kubuntu)。有一些使用者将 Linux MCE 改为也可以使用 Gnome 桌面 (Ubuntu) 和其他的 Linux 发行版,但因为 LinuxMCE 自动安装时需要用到 Kubuntu,所以还是建议您使用 Kubuntu 操作系统。

PVR (个人录像机)

Mythbuntu

Mythbuntu 是一个基于 Ubuntu 的衍生版 (基于 Xubuntu (XFCE) 桌面) ,是建立在 MythTV 上的独立 PVR 系统。 然而,使用 Gnome (Ubuntu), KDE (Kubuntu) 或者 XFCE (Xubuntu) 桌面也可以使用并在任何时候安装。

  • 启动新立得软件包管理器。
系统 --> 系统管理 --> 新立得软件包管理器
  • 选择安装 Mythbuntu LiveCD 软件包, 或者 Mythbuntu 前端, 主后台, 辅助后台, 和/或其它扩展。 参考 website 更多信息。
新立得软件包管理器 --> 使用任务分组标记软件包...

远程控制配置 - Lircd

在 Mythbuntu Control Centre 可以设置:

  • Remote: Custom ( 或者使用列表中存在的一个 )
  • Driver: [blank] ( 大多数时间模块被正确加载 )
  • Modules: lirc_dev lirc_i2c lirc_igorplugusb ( 在这部分按照您的设备使用适合的模块)
  • Configuration: myremote.conf
    • 为自定义遥控器使用 irrecord 建立一个 .conf 文件, 大多数的遥控器都可以正常工作

也可以使用:

dmesg                      # 检查接收器是否在内核被注册
sudo mode2 -d /dev/lirc0   # 检查接收器是否正常工作,如果不正常换一个sub口
irw /dev/lircd             # 检查接收器是否正常接收到遥控器信息

警告: 确保 ~/.mythtv/lircdrc 使用 remote = YourRemoteName, 和 myremote.conf 中的一致

sudo /etc/init.d/lirc restart   # restart lircd daemon

重启 mythtv 前端

家庭安全

Zoneminder 监控系统

Zoneminder 管理摄像机和在硬盘上保存影像。 影像可以使用 (LAMP) server 远程浏览。 X10 设备可以支持内建的 perl 脚本来启动。 更多信息查阅 Zoneminder 网站

sudo apt-get install ffmpeg
安装最新的 Zoneminder 版本
使用仓库里面的包
  • 在 Hardy 软件仓库里面包含了 Zoneminder (version 1.22.3) (也包含在 Gutsy) 。 您可以从新立得软件包管理器来安装它。 它同时有 32-bit 和 64-bit 版本。


原本在 Feisty 安装指引
  • 假如, 还无法正常工作, 尝试可以在 Feisty 下正常工作的安装程序:
  • 您必须先安装 LAMP 服务。 另外, 如果您的系统不满足包依赖关系,您需要安装额外的模块:
sudo apt-get install libarchive-tar-perl libarchive-zip-perl libdate-manip-perl libdevice-serialport-perl
sudo apt-get install libjpeg62 libmime-perl libstdc++6 libunwind7 libwww-perl zlib1g
  • 从软件包管理站点下载 .deb 软件包:

ftp://www.northern-ridge.com.au/zoneminder/ubuntu/edgy/zoneminder_1.22.3-8_i386.deb

  • 使用 Debian 包管理器安装. (其它的似乎没有办法工作.)
sudo dpkg -i zoneminder_1.22.3-8_i386.deb
  • (备注: 如果有些依赖关系还无法满足,确保您安装下面的软件):
sudo apt-get install libc6 libc6.1 libgcc1 libgcc4 libstdc++6
(作为安装 LAMP 的一部分,以下是已经安装好了):
sudo apt-get install apache2-mpm-prefork libapache2-mod-php5 libmysqlclient15off mysql-client mysql-server php5  php5-mysql
设置 Zoneminder 配置文件

如果您安装成功, 您还需要为 Zoneminder 设置配置文件和数据库。

  • 复制配置文件并重启 Apache2 服务。
sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
sudo /etc/init.d/apache2 reload
  • 在您的 web 浏览器上访问 Zoneminder :
http://localhost/zm
  • 为 Zoneminder 设置一个 MySQL 数据库
  • 注意: 在 Hardy, 接下来的两个步骤都在安装 LAMP 服务或者 MySQL 安装时完成了.
  • 如果是您第一次使用 MySQL, 缺省的 MySQL 超级用户 root 将没有密码。 您现在可以增加一个。 关于如何设置 mySQL 初始化权限查看 这里.
简而言之:
mysql -u root
mysql> UPDATE mysql.user SET Password=PASSWORD('your_new_password') WHERE User='root';
mysql> FLUSH PRIVILEGES;
mysql> quit
  • 此外, 您可以通过 这里 的说明来设定另外的全局 MySQL 使用者(例如,mysql_user)。 这个方法您可以只有在紧急情况下才使用 root 登录。
简而言之:
mysql -u root
mysql> CREATE USER 'mysql_user'@'localhost' IDENTIFIED BY 'mysql_user_passwd';
mysql> quit
  • 现在您必须建立一个给 Zoneminder 使用的 MySQL 数据库。 这是一个管理 MySQL 的命令, 因此您必须使用一个全局 MySQL 用户 (不管是 root 或上面例子中创建的 mysql_user)。 您可以给您的 Zoneminder 数据库使用其它您想要的名字, 代替 zmdatabase 。
mysqladmin -u root -p CREATE zmdatabase
mysqladmin -u mysql_user -p CREATE zmdatabase
  • 建立 Zoneminder 数据库用户。 一般而言, 我会建立一个 root 用户来处理紧急事件。 我使用系统中 root 帐户同样的密码。 然后我会建立一个用户叫 zm_user (您可以建立一个叫 mysql_user 的用户, 来保持一致性)。 [因为这是一个家庭安全的系统,我使用一个独特的使用者名称,毕竟,我不想它被入侵。] 这个资料库中这些用户被特定指明; 也就是说,他们可以和系统中的其它使用者名称相同,或者使用独特的用户。
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON zmdatabase.* 
TO  'zm_user'@'localhost' IDENTIFIED BY 'password';

mysql> 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).
mysql> quit
mysqladmin reload
注意: mysql 命令 (例如. 任何在 mysql> 提示后面输入的) 必须使用一个分号结尾。 如果您忘记分号,什么事都不会发生。

Myth Zoneminder

MythZoneminder 允许您使用 Myth TV 来观看安全摄像头。 它是介于 Zoneminder (必须在您系统上运行) 和 Myth TV (也必须同时运行.) 两个之间的插件。 它可以在新立得软件包管理器作为 mythzoneminder 包被找到。

在 Ubuntu 中设置 TFTP 服务

高级 TFTP 服务。 多线程的 TFTP 服务实现了所有在 RFCs 1350, 2090, 2347, 2348, 2349 (multicast 还未实现) 上的选项。 服务当前仅仅支持 inetd(8) 启动。 服务处理处理新的连接开始一个新的线程, 如果5分钟没有响应则删除。

查看 在 Ubuntu 下 安装 aTFTP 服务 非常简单设置的手册。

如何使用 Ubuntu Live CD 恢复 GRUB 到一个分区或 MBR

偶尔, 如果 Ubuntu 安装出现错误, 或者 Windows NT 引导覆盖了 MBR 导致无法识别 Linux 的安装, 我们必须修复我们的 GRUB 引导器, 一般而言, 非常有弹性。

首先,我们刻录一张 Hardy Heron (Ubuntu 8.04) ISO (到一张 CD(R , RW) 或 DVD (+R , +RW)) 或确信我们已经有一张了。

然后, 我们在 BIOS 中修改启动顺序, 让 CD/DVD 选项第一。

然后, 我们从 Live CD 启动, 我们选择第一个选项然后过几分钟我们将进入到一个 Live CD 桌面。

因此, 继续 :

 应用程序 --> 附件 --> 终端 

然后, 我们必须记住哪个是我们 Ubuntu 安装的分区。

在我们的例子中, 它是第二个 (/dev/sda2), 格式化为 ext3, 位于 SATA 控制器的第一个硬盘。 我们假设是第二个分区; 同样假设因为 Windows 的需求, 第一个分区被 Windows 占了 (/dev/sda1)。

现在,您必须非常小心。 您需要输入正确的分区,代替 sda2 (除非它真是这样) 在终端 :

  cd /
 
  sudo -s -H
  mount -t ext3 /dev/sda2 /mnt
  mount -t proc proc /mnt/proc
  mount -t sysfs sys /mnt/sys
  mount -o bind /dev /mnt/dev
  chroot /mnt  /bin/bash

现在, 您事实上正在“运行”硬盘上的 Ubuntu 了,但是是通过Live CD的终端。

现在我们象这样恢复 GRUB:

1) 恢复到 MBR

  grub-install /dev/sda

2) 恢复到分区 (例如: /dev/sda2)

  grub-install /dev/sda2

在第一个方案中 (这个是最常见的) 您在终端得到的信息中没有错误,那么已经安装GRUB 到 到 MBR 了。

但您重启后, 您最爱的引导程序恢复了。

另外, mount / 和 /boot 目录,你希望开机进入的哪个可以使用 grub-install 的 --root-directory 删除, 这个不再需要使用 chroot 。

使用cryptsetup 加密 home 分区 & LUKS

首先备份所有的重要数据,以免万一错误发生 如果没有备份,您的数据将会消失。 同时注意您的 home 目录需要和您的 root 分区分开不同的分区, 如果没有查阅 #How to make partitions.

其次,安装需要的软件:

  sudo apt-get install cryptsetup

插入一个新的模块, dm-crypt 到内核:

  sudo modprobe dm-crypt

检查看看可以使用的加密方法:

  cat /proc/crypto

如果只有 MD5 被显示, 尝试插入适当的模块到内核:

  sudo modprobe serpent

上面只是例子, 它可能有 twofish, blowfish 或其他可能的加密模块,按照您想要的去使用。

接下来的命令假设您的 home 分区是 /dev/sda1, 请修改它符合您自己的设置。

下一步我们使用 cryptsetup 的 luksFormat 参数来改变分区, 这个命令将让您全部丢失 /dev/sda1 上的所有数据。

  sudo cryptsetup luksFormat -c algorithm -y -s size /dev/sda1

上面的 algorithm 是您选择的加密方式例如 serpent aes, 等.

Size 是加密密钥的长度, 通常是 128 或 256. W如果没有指定加密运算方式或长度, 我相信缺省的是 AES 256, 更多的信息和扩展的选项可以阅读 man 手册。 上述的步骤会让您设置密码和校验。 不要忘记这个密码。

然后我们可以使用 luksOpen 选项来打开加密的硬盘。

  sudo cryptsetup luksOpen /dev/sda1 home

Home 是 cryptsetup 使用指向 /dev/sda1 的昵称。 它同时会建立这个设备 /dev/mapper/home, 这个是您实际上需要访问的文件系统挂载点。 如果您指定了其他的名称不是 home, 它会建立这样的设备 /dev/mapper/[name], 其中 [name] 是 cryptsetup 使用的昵称。 这个步骤会询问你 LUKS 密码, 这个是您在上一步创建的密码。

下一步, 我们在这个设备上建立一个实际的文件系统。 我使用 reiserfs, 但您也可以使用 ext3。

  sudo mkreiserfs /dev/mapper/home

  sudo mkfs.ext3 /dev/mapper/home

下一步是挂载您的加密设备和复制您的文件回到 home 目录。

  mkdir new_home
  sudo mount /dev/mapper/home new_home
  cp -r * new_home

现在我们必须将所有的东西都设置好到开机可以使用,我们需要告诉系统我们有想要挂载的加密硬盘。

  gksudo gedit /etc/crypttab

在文件的最后作为一行输入下面的内容。

  home       /dev/sda1       none       luks,tries=3

记住 home 可以是您想要的任意名字, 仅仅记住要对应到 /dev/mapper/[name]。 选项 tries=3 允许 3 次重试,在开机或者硬盘需要解密时。

下一步在 fstab 输入设备信息,然其可以开机挂载。

  gksudo gedit /etc/fstab

在文件的最后作为一行输入。

  /dev/mapper/home       /home       reiserfs       defaults       0       0

记得将 /dev/mapper/home 取代为 /dev/mapper/[name], /home 是挂载点, 因为这个是我们的主文件夹, reiserfs 是文件系统类型, 如果您格式化为 ext3 ,输入 ext3。 现在缺省值都很完善, 如果你有什么特别的需求修改这个。 同时, 现在也要把旧的 /dev/sda1 设备条目删除,以免开机时, fstab 不会加载它。 这个可以在 /dev/sda1 行前面加上一个 # 号或者删除掉。

最后一步是确定在启动的时候正确的模块被加载。

  gksudo gedit /etc/modules

现在增加你之前使用的 dm-crypt 和 crypto 模块,, 例如 serpent, aes, 等. 每个需要单独一行。例如:

  dm-crypt
  serpent

这样就可以了, 接下来就是重启。 在重启过程中, 电脑会告诉您 "Starting early crypto disks" 并询问您的口令。 如果口令是正确的, 它将解锁加密的分区并重新在你指定的挂载点挂载。

别名

您可以通过别名来更改您输入的命令去执行。

例如, 你可以在终端输入 "update-system" (一个事实上不存在的命令) 来代替 "sudo apt-get update". 您可以为其它的命令做同样的事。

这是我们要做的。我们的例子将下面的命令指定别名

 ls -FCal --color=auto

这个命令会按照彩色显示目录内容。

打开终端

  应用程序 --> 附件 --> 终端

输入

  gedit ~/.bashrc

现在小心了. 别删除那里面的任何东西。

现在, 到文件的最后输入

  alias ll="ls -FCal --color=auto"

如您所见, 现在可以使用这个命令

  ll

无论我们何时呼叫,事实上它是这个

  ls -FCal --color=auto

您可以为其它的命令做同样的事情,不过需要改动一下。

保存文档,关闭终端重新打开。 您现在可以检查您的新别名了。

秘诀 & 技巧

修改开机画面的颜色

为了配合 Ubuntu 主题使用了褐色, 它并不适合其它主题,希望被修改。 进入 gdm.conf 文件 (sudo gedit /etc/gdm/gdm.conf). 大约在文件的1/3部分您可以看到如下行:

 BackgroundColor=#dab082
 GraphicalThemedColor=#dab082

改成您想要的。要全黑则用:

 BackgroundColor=#000000
 GraphicalThemedColor=#000000

修改缺省的终端窗口大小

缺省的终端窗口是 80 列和 24 行高。 修改这个, 编辑文件 /usr/share/vte/termcap/xterm。 您可以使用下面的命令:

 sudo gedit /usr/share/vte/termcap/xterm

从顶上数的几行其中有一行为:

 :co#80:it#8:li#24:\

修改co# 后面的数字就可以改变宽度 修改li# 后面的数字就可以改变高度

修改 Samba 工作组

  • Samba 工作组 用于 Windows 网络被缺省设置为 "WORKGROUP" 。 它可以被修改为符合您的 Windows 网络所使用的工作组。
  • 编辑 Samba 配置文件:
sudo gedit /etc/samba/smb.conf
  • 编辑这一行:
workgroup = WORKGROUP

修改它到您实际的工作组名字。例如,我的工作组是 MSHOME, 因此我修改为:

workgroup = MSHOME

保存文件.

  • 重启.

修复关机 "Network Error" 显示 (恢复关机屏幕)

很多 Ubuntu 系统当关机时有一个小 bug 。 代替原本关机进程显示的屏幕, 转到充满关机信息的控制台屏幕 (大多数都是网络错误信息)。 这些信息大多都是正常和必然的, 没有什么好担心的. 但看起来很丑, 所以看起来 Ubuntu 小组刻意将这些信息隐藏到屏幕后面. 屏幕可以简单的恢复不费多大力气:

  • 系统 -> 系统管理 -> 登录窗口, 选择 本地
  • 选择一个其它的主题, 然后重新选择缺省的主题 ("Human"). 这个会重新设置一下
  • 点击 关闭, 然后回到 系统 -> 系统管理 -> 登录窗口, 重新选择 本地
  • 您会注意到这个和您刚刚选择的不相同。 恢复设置到缺省值 -- 从 主题 的下拉框选择 仅用选中 (代替 "从选择中随即选择"), 并重新选择缺省的 Ubuntu 主题 ("Human"). 完成后, 点击 关闭. 这是设置已经保存了, 关机屏幕也会正常出现。

修改缺省的 runlevel

  • 建立 /etc/inittab 文件
  • 增加下面的行: "id:3:initdefault:", 数字是选择的运行等级
  • 现在在你的运行登记 /etc/rcX.d/ 目录查看 README, 这里 X 是一个介于 1-6 之间的数字
  • 现在重启,好了。 :)

如何分区

使用 Ubuntu 分区非常简单 。

打开终端输入:

  sudo apt-get install gparted

然后浏览

  系统 --> 系统管理 --> 分区编辑器

接着 gParted 将检查您的硬盘和分区。

在这里您可以修改那些不在您系统的分区。

更多信息 :

1) gParted 使用手册 (同时它也是个 Live CD ) -->http://howtoforge.com/partitioning_with_gparted

2) 如何在 Ubuntu 分割出您的 /home 分区 --> http://www.psychocats.net/ubuntu/separatehome

如何在 Ubuntu 下启动 Compiz Fusion

在 Ubuntu Hardy Heron , Compiz Fusion 已经安装并可以自动使用, 当完成[#Graphics_cards_and_displays 您的显卡驱动] 后.

因此您只剩下两件事情,安装 Compiz 配置设置管理器和通知图标设置。

打开终端输入:

   sudo apt-get install compizconfig-settings-manager fusion-icon

然后将安装好了,接着访问:

   系统 --> 首选项 --> Advanced Desktop Effects Settings

这里您可以启动/关闭任何您想要的插件。

要运行 Compiz-Fusion 通知图标,前往:

   应用程序 --> 系统工具 --> Compiz Fusion Icon

在命令行运行:

   fusion-icon

通知图标将启动了.

附加应用程序

Ultamatix: 一键安装 101 个应用程序包括游戏,解码器,应用程序

Ultamatix! 它基于 Automatix, 因此看起来和行为非常类似。 好消息是 Ultamatix 是设计运行在 Ubuntu Ultimate Editon 1.8, Ubuntu 8.04 (Hardy Heron) 和 Debian Linux 的 unstable branch 版本。 这个是一个新的 automatix 代替。

点击 这里 包括抓图的简单安装手册

Wine

Wine 是一个为 Linux 设计的 Windows Win32 二进制兼容层。 最新的安装指引在: WineHQ.org 增加仓库密钥:

 wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

增加仓库到 apt 软件源:

 sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list

更新 apt 软件源:

 sudo apt-get update

安装 Wine:

 sudo apt-get install wine

程序菜单放到 Wine 的 Programs 下, 或双击 Windows/DOS .exe 文件。

Unison - 文件同步工具

Unison 是一个 Unix 和 Windows 下的文件同步工具。 它允许大量的文件和目录抱在不同的主机上(或者相同主机的不同硬盘上), 可以个别的修改, 然后将新的变更同步到另外一个备份。 完整的安装和使用手册点击 这里

PlayOnLinux

PlayOnLinux 是一个 Wine 的前端简化了安装和执行许多 Windows 程序, 特别是游戏。 增加仓库密钥:

wget -q http://playonlinux.botux.net/pol.gpg -O- | sudo apt-key add -

增加仓库到 apt 软件源:

sudo wget http://playonlinux.botux.net/playonlinux_hardy.list -O /etc/apt/sources.list.d/playonlinux.list

更新 apt 软件源:

sudo apt-get update

安装 PlayOnLinux:

sudo apt-get install playonlinux

Tor, privoxy, 和 Tor GUI (Vidalia)

Tor 是一个帮助您确保安全,防止通信分析,包括威胁到个人自由和隐私、机密商业活动和关系的行为软件。 Tor 将您的通讯在全世界志愿者所提供的分散式中传播,来保护您的通讯。

如果您想安装被配置,参考 这个 手册。

如何同步您的邮件、文件、书签,和其它类型的个人信息

Conduit 是一个 GNOME 下的资料同步方案,它能够让用户可以使他们的邮件、文件、书签和其它类型的个人信息同步到其它电脑、一个在线服务器, 或者其它电子设备上。 Conduit 可以管理同步和转换数据到其它的格式。

如果您希望在 Ubuntu 下安装和配置,参考 这个 指导。

如何安装学习宗教的应用程序

如何安装 Gnomesword (圣经学习程序)

sudo apt-get install gnomesword sword-language-pack-en sword-text-web
  • 如果您需要其它语言输入:
sudo apt-cache search bible
  • 为附加的语言查看 sword 语言包和 sword 说明,并安装你需要的。

Gnomesword 可以在应用程序 -> 附件 找到。

  • KDE 下, 使用 kio-sword 代替 Gnomesword:
sudo apt-get install kio-sword

如何安装一个古兰经研究工具 (Zekr)

Zekr 是一个开放的古兰经学习工具,可以在古兰经中简单的浏览和搜索。

  • 确信您启用了 universe 和 multiverse Ubuntu 仓库。
  • 使用下面的命令安装 zekr :
sudo apt-get install zekr zekr-quran-translations-en ttf-sil-scheherazade ttf-farsiweb
  • 您可以增加其它的古兰经翻译从 这里.
  • 如果您需要升级到 最新版本的 zekr, 这个支持古兰经朗读和高级的条件/正则表达式搜索, 查考下面的指引 Zekr wiki.

如何在 Ubuntu Hardy 里面安装 Google Gadgets

Google Gadgets for Linux 提供在 Linux 下运行的桌面小工具, 并迎合了 Linux 用户的需求。 相容于在 iGoogle Universal Gadgets 里面的 Windows 桌面下所写的工具,跟随 Linux 精神, 这些项目是开源的, 基于 Apache 版权策略。

如果您希望安装那些漂亮的 gadgets 到您的 Ubuntu 桌面,尝试 这个 简易安装手册。

使用 Linux 上的 Mupen64Plus 模拟器玩 N64

Mupen64 是一个跨平台的任天堂 64 模拟器。 本来开发已经停止了, 直到有人开始重新改写它的原代码, 这就是 Mupen64Plus 的来源... 它的视频/声音/控制器等不同的插件相容性非常好!!!

从这里下载: Mupen64Plus 1.3 32-Bit Mupen64Plus 1.3 64-Bit

安装:

  • 解压缩:

unzip Mupen64Plus-1-3-bin-*.zip

  • 到这个目录:

cd Mupen64Plus-1-3-bin-*/

  • 安装:

./install.sh

安装后,您可以在任何地方输入 mupen64plus 来运行或为它建立一个快递方式。 祝您玩得愉快.

在您的 Ubuntu 电脑上使用 Zattoo 看 Live-TV

Zattoo 开发了一个软件可以允许您在电脑上看电视。 你所需要的只是一个稳定的宽频连线和一个当前的操作系统 (Windows XP 或 Vista, Mac OS X, 或 Linux)。 这个服务是免费合法的。

如果您需要在 Ubuntu 下安装并设置 Zattoo , 参考 这个指引。(译者注:Zattoo 现在仅对以下国家和地区开放:Belgium, Denmark, France, Germany, Norway, Spain, Switzerland, 和 UK。)

如何从 Hardy Heron 升级到 Intrepid Ibex (仅适用于开发者和 bug 报告提交者)

  • 目前(< 2008 年 09 月 16 日)升级到 Ubuntu 的下一个版本还不安全。所有的软件包都还处在测试阶段,有些依赖性问题还未解决。 大多数的用户应该继续使用当前稳定版本(8.04 - Hardy Heron)。 测试者应该在测试环境(例如:在一个虚拟机 Wubi 或 Lubi 上运行)中运行 Ibex 。

在 Ubuntu Linux 上 RSS 阅读器可以使用了

RSS 是一组 Web feed 格式被用于发布频繁更新的内容, 如 blog 条目, news 头条, 和 播客, 使用标准化的格式。 一个 RSS 文档 (也称为 “feed”, “web feed”, 或 “channel”) 包含了相关 web 站点或全文的摘要。 RSS 使 web 站点的内容自动输出到其它程序或者过滤显示称为可能。

如果你希望查阅 Ubuntu 的 RSS 阅读器, 查阅 这里

手工升级到 Intrepid

  • 只有当第一个 Alpha 版本进入到仓库后, 升级管理器才会提示您安装升级到 Intrepid Ibex 的信息。
  update-manager -d
  • 您可以自行修改您的 sources.list 文件来升级:
  • 备份 sources.list 文件:
 sudo -i
 cd /etc/apt/
 cp sources.list sources.list.backup
  • 修改仓库:
  • 删除 sources.list 文件中所有旧的内容, 增加下面的内容:
deb http://archive.ubuntu.com/ubuntu/ intrepid main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ intrepid-security universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid-proposed universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid-backports universe main multiverse restricted
  • 更新仓库缓存:
 sudo -i
 aptitude update
  • 检查软件源中所有的来源都修改为了 Intrepid。 Hardy 仓库不应该还在这里。 如果存在, 屏蔽他们并激活 Intrepid 仓库。
  • 再次更新仓库缓存, 升级所有包, 做发行版升级到 Intrepid, 然后更新所有的新的 Intrepid 软件包 (有些步骤请小心):
 aptitude update 
 aptitude upgrade
 aptitude dist-upgrade
 aptitude upgrade

所有命令都应该单独运行,而且您需要不断检查时候和旧的软件包冲突, 还有哪些包需要删除。 注意: 如果重要的系统包被删除了 (libs, gcc , xorg packages, bash , ubuntu-desktop , gdm 等), 你必须重新安装他们 (即使是 meta-packages 也会出现这种情况)

  • 所有的这行应该由高级用户完成,并仅仅用于测试环境。 很多包都在测试阶段 (和 [experimental] 位于 Debian Sid/Unstable 中的一样)。

有报告说 debconf 包无法自动安装。 通过新立得锁定 hardy 版本。

自动升级到 Intrepid

  • 在第一个 Alpha 版本进入仓库之后, 修改仓库升级:
  sudo update-manager -d

检查 Hardy 仓库是否被关闭并被 Intrepid 仓库取代。