1
edit
No edit summary |
(update with installing on a MacBook pro with OSX Lion) |
||
| Line 1: | Line 1: | ||
See below for an installation history from 2005. | |||
I installed [[Bugzilla]] (versions 3.6, 4.2, 4.4, and 4.5) on a MacBook Pro (running OSX 10.7.5) on 2012-11-10. Here are the steps I used. The steps below are for installing from trunk, but they can be adapted to any branch. | |||
Notes: | |||
# My steps don't involved using [http://www.macports.org macports]. Note that the CGI scripts in [[Bugzilla]] use <tt>/usr/bin/perl</tt>, whereas macports installs its Perl into <tt>/opt/local/bin/perl</tt>. | |||
# Some packages, notably Bazaar and MySQL, have binary installers for OSX 10.6 but not for 10.7. The 10.6 installers work fine. | |||
Steps: | |||
# OSX 10.7 provides Perl 5.12 and Apache 2.2. Install the following additional packages: | |||
#* Bazaar: Download an installer from https://launchpad.net/bzr/+download. I installed https://launchpad.net/bzr/2.5/2.5.1/+download/Bazaar-2.5.1-OSX-10.6-1.dmg | |||
#* MySQL: Download an installer from http://dev.mysql.com/downloads/mysql/. | |||
# In MySQL, create a <tt>bugs</tt> database: | |||
#* <tt>CREATE DATABASE bugs;</tt> | |||
#* <tt>GRANT ALL PRIVILEGES ON bugs.* TO bugs@'localhost' IDENTIFIED BY 'bugs';</tt> | |||
# Branch the Bugzilla source into some directory: | |||
#* <tt>$ bzr branch bzr://bzr.mozilla.org/bugzilla/trunk bugzilla-trunk</tt> | |||
# Run <tt>checksetup.pl</tt> in the directory : | |||
#* <tt>perl checksetup.pl</tt> (If you are using macports, you should use <tt>/usr/bin/perl checksetup.pl</tt> | |||
#* Run <tt>perl install-module.pl --all</tt> if needed. This will install any missing modules into the local directory <tt>lib</tt>. You can also install modules individually. To install them in <tt>/usr/local</tt> instead of <tt>lib</tt>, run <tt>install-module.pl</tt> as <tt>root</tt> with the <tt>--global</tt> option | |||
# Create a symbolic link in Apache's <tt>DocumentRoot</tt> | |||
#* <tt>cd /Library/WebServer/Documents</tt> | |||
#* <tt>sudo ln -s $HOME/bugzilla-trunk bugzilla</tt> | |||
# Edit Apache's configuration file: | |||
#* <tt>cd /etc/apache2</tt> | |||
#* <tt>sudo vim httpd.conf</tt> | |||
#** Add the line <tt>Include /private/etc/apache2/extra/httpd-bugzilla.conf</tt> | |||
# Create <tt>httpd-bugzilla.conf</tt> | |||
#* <tt>cd /etc/apache2/extra</tt> | |||
#* <tt>sudo vim httpd-bugzilla.conf</tt> | |||
#* Add the contents of the <tt><Directory&rt;</tt> section for whichever version of Bugzilla you are installing. | |||
#* The directory name should be <tt>/Library/WebServer/Documents/bugzilla</tt> | |||
#* Include <tt>+FollowSymLinks</tt> in the <tt>Options</tt> directive. | |||
# In "System Preferences" ⇒ "Sharing": enable the "Web Sharing" checkbox to start Apache. | |||
# Visit <tt>http://localhost/bugzilla</tt> to complete configuration. | |||
---- | |||
See Also: http://wiki.springsurprise.com/2009/09/30/installing-bugzilla-on-mac-os-x-server/ and http://www.bitstampede.com/2011/05/11/installing-bugzilla-on-mac-os-x-server-10-6/ . | See Also: http://wiki.springsurprise.com/2009/09/30/installing-bugzilla-on-mac-os-x-server/ and http://www.bitstampede.com/2011/05/11/installing-bugzilla-on-mac-os-x-server-10-6/ . | ||
edit