aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2015-09-11 14:02:15 +0200
committerChristian Ruppert <idl0r@gentoo.org>2015-09-11 14:02:15 +0200
commitbe0849ea2a1695a95b521a00318cfba364777ee9 (patch)
tree5255fc2818d84ddbd7dc92fbafc83d1b435da8f2 /docs
parentMerge tag 'release-5.0' into bugstest (diff)
parentBumped version to 5.0.1 (diff)
downloadbugzilla-be0849ea2a1695a95b521a00318cfba364777ee9.tar.gz
bugzilla-be0849ea2a1695a95b521a00318cfba364777ee9.tar.bz2
bugzilla-be0849ea2a1695a95b521a00318cfba364777ee9.zip
Merge tag 'release-5.0.1' into bugstest
Diffstat (limited to 'docs')
-rw-r--r--docs/en/rst/installing/apache.rst8
-rw-r--r--docs/en/rst/installing/linux.rst20
-rw-r--r--docs/en/rst/installing/mac-os-x.rst2
-rw-r--r--docs/en/rst/installing/migrating-from-bzr.rst21
-rw-r--r--docs/en/rst/installing/quick-start.rst6
-rw-r--r--docs/en/rst/installing/upgrading-with-git.rst2
-rw-r--r--docs/en/rst/installing/windows.rst2
7 files changed, 41 insertions, 20 deletions
diff --git a/docs/en/rst/installing/apache.rst b/docs/en/rst/installing/apache.rst
index fe734b222..856512a7f 100644
--- a/docs/en/rst/installing/apache.rst
+++ b/docs/en/rst/installing/apache.rst
@@ -77,6 +77,14 @@ or, if not found, :file:`index.html` if someone only types the directory name
into the browser; and allows Bugzilla's :file:`.htaccess` files to override
some global permissions.
+On some Linux distributions you will need to enable the Apache CGI
+module. On Debian/Ubuntu, this is done with:
+
+:command:`sudo a2enmod cgi`
+
+If you find that the webserver is returning the Perl code as text rather
+than executing it, then this is the problem.
+
.. _apache-mod_perl:
Apache with mod_perl
diff --git a/docs/en/rst/installing/linux.rst b/docs/en/rst/installing/linux.rst
index b434f9e8e..0dad2056e 100644
--- a/docs/en/rst/installing/linux.rst
+++ b/docs/en/rst/installing/linux.rst
@@ -45,6 +45,7 @@ If you want to install a version of Bugzilla from the Bugzilla project, you
will instead need:
:command:`yum install httpd mysql-server mod_perl mod_perl-devel httpd-devel
+gd-devel mysql-devel
graphviz patchutils gcc 'perl(Apache2::SizeLimit)' 'perl(Authen::Radius)'
'perl(Authen::SASL)' 'perl(Cache::Memcached)' 'perl(CGI)' 'perl(Chart::Lines)'
'perl(Daemon::Generic)' 'perl(Date::Format)' 'perl(DateTime)'
@@ -63,7 +64,7 @@ graphviz patchutils gcc 'perl(Apache2::SizeLimit)' 'perl(Authen::Radius)'
If you are running RHEL6, you will have to enable the "RHEL Server Optional"
channel in RHN to get some of those packages.
-If you plan to use SQlite as your database, you will need to also install
+If you plan to use a database other than MySQL, you will need to also install
the appropriate packages for that.
Ubuntu and Debian
@@ -83,9 +84,10 @@ libjson-rpc-perl libdaemon-generic-perl libtheschwartz-perl
libtest-taint-perl libauthen-radius-perl libfile-slurp-perl
libencode-detect-perl libmodule-build-perl libnet-ldap-perl
libauthen-sasl-perl libtemplate-perl-doc libfile-mimeinfo-perl
-libhtml-formattext-withlinks-perl libgd-dev lynx-cur graphviz python-sphinx`
+libhtml-formattext-withlinks-perl libgd-dev libmysqlclient-dev lynx-cur
+graphviz python-sphinx`
-If you plan to use SQlite as your database, you will need to also install
+If you plan to use a database other than MySQL, you will need to also install
the appropriate packages for that.
Gentoo
@@ -118,7 +120,7 @@ Bugzilla
The best way to get Bugzilla is to check it out from git:
-:command:`git clone --branch bugzilla-X.X-stable https://git.mozilla.org/bugzilla/bugzilla`
+:command:`git clone --branch release-X.X-stable https://git.mozilla.org/bugzilla/bugzilla`
Run the above command in your home directory, replacing "X.X" with the 2-digit
version number of the stable release of Bugzilla that you want - e.g. "4.4".
@@ -171,16 +173,6 @@ Or, you can pass an individual module name:
:command:`./install-module.pl <modulename>`
-.. note:: If you are using a package-based distribution, and attempting to
- install the Perl modules from CPAN (e.g. by using :file:`install-module.pl`),
- you may need to install the "development"
- packages for MySQL and GD before attempting to install the related Perl
- modules. The names of these packages will vary depending on the specific
- distribution you are using, but are often called :file:`<packagename>-devel`.
-
- .. todo:: Give examples for Debian/Ubuntu and RedHat.
- Convert this item to a bug after checkin.
-
.. _linux-config-webserver:
Web Server
diff --git a/docs/en/rst/installing/mac-os-x.rst b/docs/en/rst/installing/mac-os-x.rst
index 545d2fa27..b18a5ec31 100644
--- a/docs/en/rst/installing/mac-os-x.rst
+++ b/docs/en/rst/installing/mac-os-x.rst
@@ -28,7 +28,7 @@ Bugzilla
The best way to get Bugzilla is to check it out from git:
-:command:`git clone --branch bugzilla-X.X-stable https://git.mozilla.org/bugzilla/bugzilla`
+:command:`git clone --branch release-X.X-stable https://git.mozilla.org/bugzilla/bugzilla`
Run the above command in your home directory, replacing "X.X" with the 2-digit
version number of the stable release of Bugzilla that you want - e.g. "4.4".
diff --git a/docs/en/rst/installing/migrating-from-bzr.rst b/docs/en/rst/installing/migrating-from-bzr.rst
index da6809a01..c9b0f3e83 100644
--- a/docs/en/rst/installing/migrating-from-bzr.rst
+++ b/docs/en/rst/installing/migrating-from-bzr.rst
@@ -8,4 +8,25 @@ Migrating from Bazaar
.. |extstatusinfo| replace:: The command :command:`bzr status extensions/` should help you work out what you added, if anything.
.. include:: migrating-from-1.inc.rst
+
+The old bzr.mozilla.org server has been decommissioned. This may not
+be a problem but, in some cases, running some of the commands below will
+make :command:`bzr` attempt to contact the server and time out. If and
+only if that happens to you, you will need to switch to the new server,
+as follows. Enter your Bugzilla directory and run:
+
+:command:`bzr info`
+
+and look at the Location: section of the output.
+If it says "light checkout root" then run:
+
+:command:`bzr -Ossl.cert_reqs=none switch https://bzr.bugzilla.org/bugzilla/$VERSION`
+
+Alternatively, if it says "branch root" or "checkout root" then run:
+
+:command:`bzr -Ossl.cert_reqs=none pull --remember https://bzr.bugzilla.org/bugzilla/$VERSION`
+
+Replace $VERSION with the two-digit version number of your current
+Bugzilla, e.g. "4.2" (see below for how to find that).
+
.. include:: migrating-from-2.inc.rst
diff --git a/docs/en/rst/installing/quick-start.rst b/docs/en/rst/installing/quick-start.rst
index ace2106ee..c9c7b2d26 100644
--- a/docs/en/rst/installing/quick-start.rst
+++ b/docs/en/rst/installing/quick-start.rst
@@ -50,7 +50,7 @@ Install Prerequisites
:command:`apt-get install git nano`
-:command:`apt-get install apache2 mysql-server libappconfig-perl libdate-calc-perl libtemplate-perl libmime-perl build-essential libdatetime-timezone-perl libdatetime-perl libemail-sender-perl libemail-mime-perl libemail-mime-modifier-perl libdbi-perl libdbd-mysql-perl libcgi-pm-perl libmath-random-isaac-perl libmath-random-isaac-xs-perl apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-perl2-dev libchart-perl libxml-perl libxml-twig-perl perlmagick libgd-graph-perl libtemplate-plugin-gd-perl libsoap-lite-perl libhtml-scrubber-perl libjson-rpc-perl libdaemon-generic-perl libtheschwartz-perl libtest-taint-perl libauthen-radius-perl libfile-slurp-perl libencode-detect-perl libmodule-build-perl libnet-ldap-perl libauthen-sasl-perl libtemplate-perl-doc libfile-mimeinfo-perl libhtml-formattext-withlinks-perl libgd-dev lynx-cur python-sphinx`
+:command:`apt-get install apache2 mysql-server libappconfig-perl libdate-calc-perl libtemplate-perl libmime-perl build-essential libdatetime-timezone-perl libdatetime-perl libemail-sender-perl libemail-mime-perl libemail-mime-modifier-perl libdbi-perl libdbd-mysql-perl libcgi-pm-perl libmath-random-isaac-perl libmath-random-isaac-xs-perl apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-perl2-dev libchart-perl libxml-perl libxml-twig-perl perlmagick libgd-graph-perl libtemplate-plugin-gd-perl libsoap-lite-perl libhtml-scrubber-perl libjson-rpc-perl libdaemon-generic-perl libtheschwartz-perl libtest-taint-perl libauthen-radius-perl libfile-slurp-perl libencode-detect-perl libmodule-build-perl libnet-ldap-perl libauthen-sasl-perl libtemplate-perl-doc libfile-mimeinfo-perl libhtml-formattext-withlinks-perl libgd-dev libmysqlclient-dev lynx-cur graphviz python-sphinx`
This will take a little while. It's split into two commands so you can do
the next steps (up to step 7) in another terminal while you wait for the
@@ -66,7 +66,7 @@ Get it from our Git repository:
:command:`rm -rf html`
-:command:`git clone --branch bugzilla-X.X-stable https://git.mozilla.org/bugzilla/bugzilla html`
+:command:`git clone --branch release-X.X-stable https://git.mozilla.org/bugzilla/bugzilla html`
(where "X.X" is the 2-digit version number of the stable release of Bugzilla
that you want - e.g. 4.4)
@@ -85,7 +85,7 @@ Set the following values, which increase the maximum attachment size and
make it possible to search for short words and terms:
* Alter on Line 52: ``max_allowed_packet=100M``
-* Add as new line 31, in the ``[mysqld]`` section: ``ft_min_word_len=2``
+* Add as new line 32, in the ``[mysqld]`` section: ``ft_min_word_len=2``
Save and exit.
diff --git a/docs/en/rst/installing/upgrading-with-git.rst b/docs/en/rst/installing/upgrading-with-git.rst
index 78b4fb1e0..075ff8902 100644
--- a/docs/en/rst/installing/upgrading-with-git.rst
+++ b/docs/en/rst/installing/upgrading-with-git.rst
@@ -54,7 +54,7 @@ you can get the latest point release of your current version by simply doing:
If you want to upgrade to a newer release of Bugzilla, then you will
additionally need to do:
-:command:`git checkout bugzilla-X.X-stable`
+:command:`git checkout release-X.X-stable`
where "X.X" is the 2-digit version number of the stable version you want to
upgrade to (e.g. "4.4").
diff --git a/docs/en/rst/installing/windows.rst b/docs/en/rst/installing/windows.rst
index c182bd084..bf33ca330 100644
--- a/docs/en/rst/installing/windows.rst
+++ b/docs/en/rst/installing/windows.rst
@@ -34,7 +34,7 @@ Bugzilla
The best way to get Bugzilla is to check it out from git. Download and install
git from the `git website <http://git-scm.com/download>`_, and then run:
-:command:`git clone --branch bugzilla-X.X-stable https://git.mozilla.org/bugzilla/bugzilla C:\\bugzilla`
+:command:`git clone --branch release-X.X-stable https://git.mozilla.org/bugzilla/bugzilla C:\\bugzilla`
where "X.X" is the 2-digit version number of the stable release of Bugzilla
that you want (e.g. 4.4).