<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=ManualRequirementsCN</id>
	<title>ManualRequirementsCN - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=ManualRequirementsCN"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=ManualRequirementsCN&amp;action=history"/>
	<updated>2026-08-22T00:34:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=ManualRequirementsCN&amp;diff=2086&amp;oldid=prev</id>
		<title>Admin: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=ManualRequirementsCN&amp;diff=2086&amp;oldid=prev"/>
		<updated>2016-04-06T20:14:30Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Prev: [[ManualIntroductionCN]] --- Up: [[UserManualCN]] --- Next: [[ManualInstallationCN]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
= REQUIREMENTS =&lt;br /&gt;
&lt;br /&gt;
= 需求 =&lt;br /&gt;
&lt;br /&gt;
RT is a fairly large, complex piece of software. It makes some (ok, &amp;#039;&amp;#039;&amp;#039;lots&amp;#039;&amp;#039;&amp;#039; of) assumptions about the environment in which it runs, which you will have to fulfill during installation.&lt;br /&gt;
&lt;br /&gt;
RT 是一个相当大的，复杂的软件作品。它制定了一些（好吧，&amp;#039;&amp;#039;&amp;#039;很多&amp;#039;&amp;#039;&amp;#039;）您在安装期间必须满足的有关运行的环境的假设。&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;re working with an already installed RT you don&amp;#039;t need to know any of this now.&lt;br /&gt;
&lt;br /&gt;
如果您正在用一个安装好的 RT 来工作，您现在不需要知道这些。&lt;br /&gt;
&lt;br /&gt;
To properly install RT you&amp;#039;ll need some things:&lt;br /&gt;
&lt;br /&gt;
正确地安装 RT ，您会需要的一些东西：&lt;br /&gt;
&lt;br /&gt;
== Knowledge ==&lt;br /&gt;
&lt;br /&gt;
== 知识点 ==&lt;br /&gt;
&lt;br /&gt;
* root access to the server you&amp;#039;re going to install it on&lt;br /&gt;
* how to add aliases to your mail system&lt;br /&gt;
* how to start and stop your web server&lt;br /&gt;
* how your distribution mangles the webserver configuration files.&lt;br /&gt;
&lt;br /&gt;
* 登录到您将要安装的服务器的root用户。&lt;br /&gt;
* 怎样添加别名到您的邮件系统&lt;br /&gt;
* 您的发行版怎样更改web服务器配置文件。&lt;br /&gt;
&lt;br /&gt;
== Make choice ==&lt;br /&gt;
&lt;br /&gt;
== 做选择 ==&lt;br /&gt;
&lt;br /&gt;
In installing an application as large and pervasive as RT, which depends on many other things, you will often have to make the decision &amp;quot;do I provide it a separate version of the thing it requires, or do I upgrade my system&amp;#039;s facility to the proper, new-enough version?&amp;quot; This is a difficult question to answer in some cases, as it depends on the level of systems administration experience you have. We can&amp;#039;t answer it for you but we&amp;#039;ll attempt to make clear what effect the possible choice may have on how you install and run the package. See the Installation Guides - your distro may have a packaged version of RT.&lt;br /&gt;
&lt;br /&gt;
安装一个像 RT 一样巨大的和无处不在的应用，要依赖很多其他的事情，您会常常不得不做选择“我应该给它提供一个它需要的独立版本呢，还是应该升级我的系统功能到合适的、够新的版本？”在某种情况下，这是一个很难回答的问题，因为它随您具备的系统管理经验的水平而定。我们不能给您作答，但是我们将尝试让——对如何安装和运行软件包，导致可能的选择可能有什么——变清晰。查看安装手册——您的发行版可能有一个 RT 的套件版本。&lt;br /&gt;
&lt;br /&gt;
== RT source code ==&lt;br /&gt;
&lt;br /&gt;
== RT 源代码 ==&lt;br /&gt;
&lt;br /&gt;
The latest version is available at http://www.bestpractical.com/rt/download.html&lt;br /&gt;
&lt;br /&gt;
最新的可用版本在这个地方：http://www.bestpractical.com/rt/download.html&lt;br /&gt;
&lt;br /&gt;
== Perl ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WARNING:&amp;#039;&amp;#039;&amp;#039; For RT 3.0.0 and greater you need &amp;#039;&amp;#039;&amp;#039;Perl 5.8.3 or newer&amp;#039;&amp;#039;&amp;#039;. It contains significantly enhanced support for Unicode and non-English languages. Perl 5.8.3 fixed major bugs - using prior versions may cause data corruption. If your distribution uses an older Perl version, you can compile your own - see [[CompilingPerl]]. Or you can upgrade your system&amp;#039;s version of perl.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;警告&amp;#039;&amp;#039;&amp;#039; 对于RT 3.0.0和更高版本，你需要 &amp;#039;&amp;#039;&amp;#039;Perl 5.8.3或者更新&amp;#039;&amp;#039;&amp;#039;。它包括了对 Unicode 和非英语语言的显著地增强的支持。perl 5.8.3修补的主要漏洞——使用较早的版本可能导致数据中断。如果您的发行版使用一个旧的Perl，你可以自己编译——参见 [[CompilingPerl]]。或者你可以升级你的系统的Perl 的版本。&lt;br /&gt;
&lt;br /&gt;
Note that if you&amp;#039;re using a packaged perl and a packaged Apache, you probably need to use your distribution&amp;#039;s packaged Apache::DBI and mod_perl as well, and all of these need to be version compatible with RT -- it&amp;#039;s vaguely possible this might mean you need to uninstall &amp;#039;&amp;#039;&amp;#039;all&amp;#039;&amp;#039;&amp;#039; of the managed packages and build these things from scratch... at which point you might want to reconsider which distribution you want to use.&lt;br /&gt;
&lt;br /&gt;
注意，如果您正使用一个 perl 套件和一个 Apache 套件，您大概需要使用您的发行版的 Apache::DBI 套件还有 mod_perl ，并且所有的这些需要和 RT 版本兼容——这大概可能意味着您需要卸载 &amp;#039;&amp;#039;&amp;#039;所有的&amp;#039;&amp;#039;&amp;#039; 管理套件和从零搭建这些事情…… 基于这一点，您可能打算重新考虑您要用哪个发行版。&lt;br /&gt;
&lt;br /&gt;
If you will be running &amp;#039;&amp;#039;&amp;#039;RT 3.0.x or earlier&amp;#039;&amp;#039;&amp;#039; under FastCGI, you need support for setgid perl scripts. RT 3.2 and later do not need this. See details below and on the [[FastCGIConfiguration]] page. (There really isn&amp;#039;t much reason to newly install a version that old, so that&amp;#039;s all we&amp;#039;ll say about this now.)&lt;br /&gt;
&lt;br /&gt;
如果您要在 FastCGI 下运行 &amp;#039;&amp;#039;&amp;#039;RT 3.0.x 或者更早&amp;#039;&amp;#039;&amp;#039; ，您需要 setgid 的 perl 脚本的支持。RT 3.2和以后的版本则不需要。在下面和 [[FastCGIConfiguration]] 页面可以了解更多。（实际上没有多少理由全新安装一个旧版本，因此我们也就是在这里说说。）&lt;br /&gt;
&lt;br /&gt;
== Perl modules ==&lt;br /&gt;
&lt;br /&gt;
== Perl 模块 ==&lt;br /&gt;
&lt;br /&gt;
If all of that sounds vague, don&amp;#039;t worry: a tool included with RT takes care of the installation of most of these automatically (see [[ManualInstallation]]). The tool supplied with RT uses Perl&amp;#039;s CPAN system (http://www.cpan.org) to install modules. Some operating systems package some or all of the modules required and you may be better off installing the modules that way.&lt;br /&gt;
&lt;br /&gt;
如果还没有说清楚，别担心：RT 里有一个自动化处理大多数的这些的安装的工具（参见 [[ManualInstallationCN]] ）。这个工具为 RT 提供使用 Perl 的 CPAN （ http://www.cpan.org ）系统来安装模块。某些操作系统整合了一些或者全部需要的模块，而且您可能用那种方式来安装模块会更好。&lt;br /&gt;
&lt;br /&gt;
And, finally, you might find that you&amp;#039;ll need to mix these two approaches; on [[SuSE]] 10.3 for example, fixdeps will install everything except Apache::DBI.&lt;br /&gt;
&lt;br /&gt;
总之，您可能发现您会需要混合使用这两种方式；例如，在 [[SuSE]] 10.3 上，除了 Apache::DBI fixdeps 会安装所有的东西。&lt;br /&gt;
&lt;br /&gt;
Currently (April,2008 - RT 3.6.6) the dependency &amp;quot;HTML::[[FormatText]]&amp;quot; will not install due to a failure in a subdependency: &amp;quot;Font::AFM&amp;quot;. The latter fails with a test result: t/afm.....skipped (no reason given). You will need to install this manually with CPAN using the command &amp;quot;force install Font::AFM&amp;quot;. Afterwards, the &amp;quot;HTML::[[FormatText]]&amp;quot; module can be installed ok.&lt;br /&gt;
&lt;br /&gt;
目前（2008年4月- RT 3.6.6）依赖 “HTML::[[FormatText]]” 会由于一个子依赖 “Font::AFM” 中的失败而不安装。后来的失败有一个测试结果：t/afm.....skipped （没有给出原因）。您将需要用 CPAN 用命令 “force install Font::AFM” 来手动安装。然后，“HTML::[[FormatText]]” 模块可以被安装好了。&lt;br /&gt;
&lt;br /&gt;
=== NCFTP ===&lt;br /&gt;
&lt;br /&gt;
=== NCFTP ===&lt;br /&gt;
&lt;br /&gt;
Some platforms, e.g. [[CentOS]] 4.x, will also require the freely available [[NcFTP]] Client (http://www.ncftp.com/ncftp/) in order to satisfy some configuration dependencies for the Perl CPAN system.&lt;br /&gt;
&lt;br /&gt;
有些平台，比如，[[CentOS]] 4.x，也需要可自由得到的 [[NcFTP]] Client ([http://www.ncftp.com/ncftp/)ï¼ä»¥ä¾¿ä¸º http://www.ncftp.com/ncftp/)，以便为] Perl CPAN 系统满足一些配置的依赖关系。&lt;br /&gt;
&lt;br /&gt;
You can configure to avoid this requirement during the setup configuration of CPAN by telling the configuration dialog that there is no &amp;quot;ncftp&amp;quot; executable and then selecting only &amp;quot;http&amp;quot; CPAN Mirrors. This may also be advantageous if your system is behind a corporate firewall which does not allow FTP.&lt;br /&gt;
&lt;br /&gt;
您可以配置避开这个需求，在设置 CPAN 的配置的时候，通过告诉配置对话框，没有 “ncftp”执行，然后只选择 “http” CPAN 镜像。这可能也是有利的，当您的系统在一个不允许 FTP 的企业防火墙后面的时候。&lt;br /&gt;
&lt;br /&gt;
== Database backend ==&lt;br /&gt;
&lt;br /&gt;
== 数据库后台 ==&lt;br /&gt;
&lt;br /&gt;
RT stores its data in a database. You can choose from the following database management systems (DBMS):&lt;br /&gt;
&lt;br /&gt;
RT 用一个数据库存储它的数据。您可以从下面的数据库管理系统（DBMS）中选择:&lt;br /&gt;
&lt;br /&gt;
* We recommend [http://www.mysql.com MySQL] 4.0.18 or newer *with support for [[InnoDB]]*.&lt;br /&gt;
* [http://www.postgresql.org PostgreSQL] 7.4 or later will also work&lt;br /&gt;
* Oracle 9iR2 or newer&lt;br /&gt;
&lt;br /&gt;
* 我们推荐 [http://www.mysql.com MySQL] 4.0.18 或者新的 *支持[[InnoDBç|InnoDB的]]* 的版本。&lt;br /&gt;
* [http://www.postgresql.org PostgreSQL] 7.4 或者以后的都可以。&lt;br /&gt;
* Oracle 9iR2 或者更新的。&lt;br /&gt;
&lt;br /&gt;
If your system already has a DBMS engine installed and working, you&amp;#039;re probably best to use that one.&lt;br /&gt;
&lt;br /&gt;
如果您的系统已经安装有一个DBMS引擎并正在工作，您最好就用它。&lt;br /&gt;
&lt;br /&gt;
== Web server ==&lt;br /&gt;
&lt;br /&gt;
== Web 服务器 ==&lt;br /&gt;
&lt;br /&gt;
We recommend using [http://httpd.apache.org Apache] version 2.x with [mod_perl] 2 or a webserver with [[FastCGI]] support.&lt;br /&gt;
&lt;br /&gt;
我们推荐使用带有 [mod_perl] 2的 [http://httpd.apache.org Apache] 2.x 版本或者带有 [[FastCGI]] 支持的 web 服务器。&lt;br /&gt;
&lt;br /&gt;
=== mod_perl vs FastCGI ===&lt;br /&gt;
&lt;br /&gt;
=== mod_perl vs FastCGI ===&lt;br /&gt;
&lt;br /&gt;
You &amp;#039;&amp;#039;&amp;#039;don&amp;#039;t need both&amp;#039;&amp;#039;&amp;#039; mod_perl and [[FastCGI]], you have to install and configure only one thing. You should choose the software you&amp;#039;re familiar with, but if you not familiar with either, don&amp;#039;t panic, here are short descriptions of both projects and how well each works with RT.&lt;br /&gt;
&lt;br /&gt;
mod_perl 和 [[FastCGI]] ，您 &amp;#039;&amp;#039;&amp;#039;不用两个都要&amp;#039;&amp;#039;&amp;#039; ，您必须只安装和配置其中的一个。应该选择您熟悉的，但是，如果您都没用过，也别怕，这儿有它们的简单介绍和如何与RT一起工作的更好。&lt;br /&gt;
&lt;br /&gt;
==== mod_perl ====&lt;br /&gt;
&lt;br /&gt;
==== mod_perl ====&lt;br /&gt;
&lt;br /&gt;
[mod_perl] project has two major stable releases: mod_perl 1.x and mod_perl 2.x; in the middle there is development versions mod_perl 1.9x. Let see which releases you can use:&lt;br /&gt;
&lt;br /&gt;
[mod_perl] 项目有两个主要的稳定版本：mod_perl 1.x 和 mod_perl 2.x；在中间是开发版本mod_perl 1.9x。让我们看看您可以用哪个版本：&lt;br /&gt;
&lt;br /&gt;
* mod_perl 1.x is supported release, but this mean you &amp;#039;&amp;#039;&amp;#039;must use Apache 1.3.x&amp;#039;&amp;#039;&amp;#039;, because mod_perl 1.x works only with Apache 1.3.x. mod_perl 1.x must be built with &amp;lt;code&amp;gt;EVERYTHING=1&amp;lt;/code&amp;gt; option(most distribution packages have this option on). For an excerpt, see [[ManualApache]]. Using mod_perl with Apache 1.3.x could lead to massive stability problems.&lt;br /&gt;
* mod_perl 1.x 是支持的版本，但是这意味着你 &amp;#039;&amp;#039;&amp;#039;必须使用 Apache 1.3.x&amp;#039;&amp;#039;&amp;#039; ，因为mod_perl 1.x 只与Apache 1.3.x 一起工作。 mod_perl 1.x 必须与&amp;lt;code&amp;gt;EVERYTHING=1&amp;lt;/code&amp;gt; 选项（大多数发行版套件都开启这个选项）一起被创建。对于摘要，参见 [[ManualApache]] 。与 Apache 1.3.x 一起使用 mod_perl 可能导致大量稳定性问题。&lt;br /&gt;
&lt;br /&gt;
* We &amp;#039;&amp;#039;&amp;#039;don&amp;#039;t recommend&amp;#039;&amp;#039;&amp;#039; to use development 1.9x versions, because of development status. Also mod_perl 2.x was released and it&amp;#039;s stable branch of the 1.9x development versions, so you wouldn&amp;#039;t get much support from mod_perl users and developers if you use mod_perl 1.9x. RT-3.4.4 and greater &amp;#039;&amp;#039;&amp;#039;won&amp;#039;t work&amp;#039;&amp;#039;&amp;#039; with development 1.9x releases.&lt;br /&gt;
* 我们 &amp;#039;&amp;#039;&amp;#039;不推荐&amp;#039;&amp;#039;&amp;#039; 使用开发版 1.9x，因为开发状态。 而且mod_perl 2.x 已经发布，并且它是1.9x 开发版的稳定分支，因此如果您使用mod_perl 1.9x，你将不能从mod_perl 用户和开发人员那儿得到更多的支持。RT-3.4.4 和更高版本 &amp;#039;&amp;#039;&amp;#039;不和&amp;#039;&amp;#039;&amp;#039; 1.9x 开发版一起工作。&lt;br /&gt;
&lt;br /&gt;
* mod_perl 2.0 has been released with major API-changes in mod_perl 2.0-RC3 which lead to incompatibities that also affect RT, see this [http://lists.bestpractical.com/pipermail/rt-users/2005-April/030477.html mailing-list message].&lt;br /&gt;
* mod_perl 2.0随着主要的 API-调整一起被发布在 mod_perl 2.0-RC3 中，这导致不兼容也会影响RT，参见这里 [http://lists.bestpractical.com/pipermail/rt-users/2005-April/030477.html mailing-list message]。&lt;br /&gt;
&lt;br /&gt;
** So RT-3.4.3 or any prior versions is &amp;#039;&amp;#039;&amp;#039;totally unsupported&amp;#039;&amp;#039;&amp;#039; on mod_perl 2.x.&lt;br /&gt;
** mod_perl 2.x has been &amp;#039;&amp;#039;&amp;#039;marked as supported&amp;#039;&amp;#039;&amp;#039; in RT 3.4.4. There is no mentioning of incomplete support in any way. See this [http://www.gossamer-threads.com/lists/rt/announce/48184 mailing list message].&lt;br /&gt;
** If you experience issues getting mod_perl 2.x+apache 2.x up and running, consider using apache 1.3.x + mod_perl 1.x or [[FastCGI]] instead, though this is much less likely than it used to be.&lt;br /&gt;
&lt;br /&gt;
** 因此 RT-3.4.3 或者任何以前的版本在 mod_perl 2.x 上 *统统不被支持 *。&lt;br /&gt;
** 在RT 3.4.4中， mod_perl 2.x 被 &amp;#039;&amp;#039;&amp;#039;标记为支持&amp;#039;&amp;#039;&amp;#039; 。并没有提及任何方式的不完全的支持。参见 [http://www.gossamer-threads.com/lists/rt/announce/48184 mailing list message]。&lt;br /&gt;
** 假如您遭遇让 mod_perl 2.x+apache 启动和运行的问题，考虑用apache 1.3.x + mod_perl 1.x 或 [[FastCGI]] 替代，尽管这比之前没什么不同。&lt;br /&gt;
&lt;br /&gt;
For [[CentOS]]-4.6 and RT 3.6.6, you can get a supported Web Stack by enabling the &amp;quot;centosplus&amp;quot; repository in Yum and doing a &amp;quot;yum update&amp;quot;. If you try to use mod_perl2 on [[CentOS4]] without &amp;quot;centosplus&amp;quot; you will lose hair.&lt;br /&gt;
&lt;br /&gt;
对于 [[CentOS]]-4.6 和 RT 3.6.6，您可以通过用 Yum 启用 “centosplus”库并做一个 “yum update” 来获得一个被支持的 Web Stack。如果您尝试在没有 “centosplus”的 [[CentOS4]] 上使用 mod_perl2 ，您会烦透的。&lt;br /&gt;
&lt;br /&gt;
==== FastCGI ====&lt;br /&gt;
&lt;br /&gt;
==== FastCGI ====&lt;br /&gt;
&lt;br /&gt;
You can use [[FastCGI]] with Apache 1.3.x and 2.x. You can use [[FastCGI]] with other HTTP servers, but this functionality is not tested very well (if at all).&lt;br /&gt;
&lt;br /&gt;
你可以与 Apache 1.3.x 和 2.x 一起使用[[FastCGI]] 。你可以与其他 HTTP 服务器一起使用[[FastCGI]] ，但是这个功能没有被测试的很好（如果有的话）。&lt;br /&gt;
&lt;br /&gt;
In RT versions prior to 3.2, RT&amp;#039;s [[FastCGI]] handler runs setgid to the &amp;quot;rt&amp;quot; group to protect RT&amp;#039;s database password. You may need to install a special &amp;quot;suidperl&amp;quot; package or reconfigure your perl setup to support &amp;quot;setuid scripts&amp;quot; if you intend to use RT with [[FastCGI]].&lt;br /&gt;
&lt;br /&gt;
在RT 3.2以前的版本里， RT 的 [[FastCGI]] 处理机运行 setgid 给“rt”组以保护RT 的数据库密码。如果你打算与 [[FastCGI]] 一起使用 RT ，你可能需要安装一个特别的“suidperl”包或者重新配置你的perl 设置来支持“setuid scripts”。&lt;br /&gt;
&lt;br /&gt;
* Debian GNU/* 3.0+: the package which installs suidperl is called perl-suid, and should work without any tweaking.&lt;br /&gt;
* [[FreeBSD]] 4.2+: the package is called sperl, and should install a suidperl that just works&lt;br /&gt;
* Conectiva Linux 6.0+: suidperl is installed by default when perl is installed, but the program /bin/suidperl is not setuid. You must use chmod to make it setuid.&lt;br /&gt;
&lt;br /&gt;
* Debian GNU/* 3.0+：这个发行版已经安装了叫做 perl-suid 的 suidperl ，而且应该不需要任何调试就可以工作。&lt;br /&gt;
* [[FreeBSD]] 4.2+：该套件叫做 sperl ，并且应该安装一个 suidperl 才可以工作。&lt;br /&gt;
* Conectiva Linux 6.0+ : 在安装perl 的时候，suidperl 就已经默认安装，但是程序 /bin/suidperl 不是setuid 。您必须使用chmod 使得它 setuid。&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Prev: [[ManualIntroductionCN]] --- Up: [[UserManualCN]] --- Next: [[ManualInstallationCN]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
到中文版的首页 &amp;amp;gt;&amp;amp;gt; [[CNEdition]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>