<?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=MacOSXServerLeopard</id>
	<title>MacOSXServerLeopard - 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=MacOSXServerLeopard"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=MacOSXServerLeopard&amp;action=history"/>
	<updated>2026-08-21T21:55:13Z</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=MacOSXServerLeopard&amp;diff=1911&amp;oldid=prev</id>
		<title>Admin: 3 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=MacOSXServerLeopard&amp;diff=1911&amp;oldid=prev"/>
		<updated>2016-04-06T20:14:20Z</updated>

		<summary type="html">&lt;p&gt;3 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{OutdatedInstallGuide}}&lt;br /&gt;
&lt;br /&gt;
== Installation on Mac OS X 10.5 Server ==&lt;br /&gt;
&lt;br /&gt;
These instructions might not be accurate, as I&amp;#039;m writing from memory.&lt;br /&gt;
&lt;br /&gt;
Please update if you find any errors.&lt;br /&gt;
&lt;br /&gt;
=== Install Developer Tools ===&lt;br /&gt;
&lt;br /&gt;
Server doesn&amp;#039;t have developer tools installed by default. You&amp;#039;ll need that to update CPAN in the steps below; this requires `make`.&lt;br /&gt;
&lt;br /&gt;
=== Get MySQL client libraries and headers ===&lt;br /&gt;
&lt;br /&gt;
Either build them yourself or copy them over from another system. You can also install the [[MySQL]] package from http://www.mysql.com, but make sure to use only the client libraries from it. Leopard Server comes with a sufficiently recent [[MySQL]] for RT.&lt;br /&gt;
&lt;br /&gt;
=== Start and configure CPAN ===&lt;br /&gt;
&lt;br /&gt;
 sudo cpan&lt;br /&gt;
 ...&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
=== Update CPAN to the latest version ===&lt;br /&gt;
&lt;br /&gt;
 sudo -s&lt;br /&gt;
 export HOME=/private/var/root&lt;br /&gt;
&lt;br /&gt;
This is done to avoid breaking some tests that check the user&amp;#039;s home directory. &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt; has the bad habit of not picking up the correct &amp;lt;code&amp;gt;$HOME&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 cpan&lt;br /&gt;
 install Bundle::CPAN&lt;br /&gt;
 ...&lt;br /&gt;
 reload cpan&lt;br /&gt;
&lt;br /&gt;
=== Manually install required packages that break on OS X ===&lt;br /&gt;
&lt;br /&gt;
 look DBD::mysql&lt;br /&gt;
 perl Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config&lt;br /&gt;
 make&lt;br /&gt;
 exit&lt;br /&gt;
 force test DBD::mysql&lt;br /&gt;
 install DBD::mysql&lt;br /&gt;
 look HTML::Mason&lt;br /&gt;
&lt;br /&gt;
edit Build.PL and comment the require Apache::Request line out&lt;br /&gt;
&lt;br /&gt;
 perl Build.PL&lt;br /&gt;
 make&lt;br /&gt;
 exit&lt;br /&gt;
 force test HTML::Mason&lt;br /&gt;
 install HTML::Mason&lt;br /&gt;
&lt;br /&gt;
=== Get RT ===&lt;br /&gt;
&lt;br /&gt;
Download the latest tgz from bestpractical.com, unpack and switch to the rt-... directory.&lt;br /&gt;
&lt;br /&gt;
 ./configure&lt;br /&gt;
 make testdeps&lt;br /&gt;
 make fixdeps&lt;br /&gt;
&lt;br /&gt;
Wait a while, accept all dependencies.&lt;br /&gt;
&lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
If everything went fine, there should be no missing packages now. If there are, fix them with the cpan look method above and describe here what you did.&lt;br /&gt;
&lt;br /&gt;
=== Install RT ===&lt;br /&gt;
&lt;br /&gt;
 sudo make install&lt;br /&gt;
&lt;br /&gt;
Edit /opt/rt3/etc/RT_SiteConfig.pm to suit your needs&lt;br /&gt;
&lt;br /&gt;
 sudo make initialize-database&lt;br /&gt;
&lt;br /&gt;
=== Configure MySQL ===&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s possible that RT will refuse to connect to [[MySQL]] via its socket (&amp;lt;code&amp;gt;/var/mysql/mysql.sock&amp;lt;/code&amp;gt;). Enable TCP access to [[MySQL]] from Server Admin in that case, and make sure to disallow connections from outside or set up secure passwords for all [[MySQL]] grants.&lt;br /&gt;
&lt;br /&gt;
=== Configure Apache ===&lt;br /&gt;
&lt;br /&gt;
Using the Apache configurator of Server Admin, create a new VHost for your RT.&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;code&amp;gt;/etc/apache2/sites/&amp;amp;lt;####_ip_port_vhostname&amp;amp;gt;.conf&amp;lt;/code&amp;gt; and add the following:&lt;br /&gt;
&lt;br /&gt;
  	PerlRequire &amp;quot;/opt/rt3/bin/webmux.pl&amp;quot;&lt;br /&gt;
  	&amp;amp;lt;Location &amp;quot;/NoAuth/images&amp;quot;&amp;amp;gt;&lt;br /&gt;
  		SetHandler default&lt;br /&gt;
  	&amp;amp;lt;/Location&amp;amp;gt;&lt;br /&gt;
  	&amp;amp;lt;Location &amp;quot;/&amp;quot;&amp;amp;gt;&lt;br /&gt;
  		SetHandler perl-script&lt;br /&gt;
  		PerlResponseHandler RT::Mason&lt;br /&gt;
  	&amp;amp;lt;/Location&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using Server Admin, enable mod_perl by adding&lt;br /&gt;
&lt;br /&gt;
 perl_module libexec/apache2/mod_perl.so&lt;br /&gt;
&lt;br /&gt;
to the list of modules.&lt;br /&gt;
&lt;br /&gt;
Restart Apache.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Done!&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>