Remove some legacy xml files... to be replaced by asciidoc files in installation...
authorrsoulliere <robert.soulliere@mohawkcollege.ca>
Wed, 25 Jan 2012 20:11:49 +0000 (15:11 -0500)
committerrsoulliere <robert.soulliere@mohawkcollege.ca>
Wed, 25 Jan 2012 20:11:49 +0000 (15:11 -0500)
admin/admin-intro.xml [deleted file]
admin/requirements-configuration.xml [deleted file]
admin/server_install.xml [deleted file]
admin/upgrading.xml [deleted file]

diff --git a/admin/admin-intro.xml b/admin/admin-intro.xml
deleted file mode 100644 (file)
index 813ed6c..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<partintro xmlns:xl="http://www.w3.org/1999/xlink" xml:id="admin_intro">\r
-       <para>This part of the documentation is intended for Evergreen administrators and requires root access to your <application>Evergreen</application> server(s) and administrator access to \r
-       the <application>Evergreen</application> \r
-       staff client. It deals with maintaining servers, installation, upgrading, and configuring both system wide and local library settings. \r
-       Some sections require understanding of <systemitem class="osname">Linux</systemitem> system administration while others require an understanding of your system hierarchy of locations \r
-       and users. Many procedures explained in the following \r
-       chapters are accomplished with <systemitem class="osname">Linux</systemitem> commands<indexterm><primary>Linux</primary><secondary>commands</secondary></indexterm> run from the \r
-       terminal without a Graphical User Interface (GUI).</para>\r
-       <para>In order to accomplish some of the tasks, prerequisite knowledge or experience will be required and you may need to consult system administration documentation for your \r
-       specific <systemitem class="osname">Linux</systemitem> distribution if you have limited <systemitem class="osname">Linux</systemitem> system experience. A vast ammount of free \r
-       resources can be found on the on the web for various experinece levels. You might also consider consulting <link xl:href="http://www.postgresql.org/docs/">\r
-       <application>PostgreSQL</application></link><indexterm><primary>databases</primary><secondary>PostgreSQL</secondary></indexterm> and \r
-       <link xl:href="http://httpd.apache.org/docs/"><application>Apache</application></link><indexterm><primary>Apache</primary></indexterm> documentation for a greater understanding \r
-       of the software stack on which <application>Evergreen</application> is built.</para>\r
-</partintro>\r
diff --git a/admin/requirements-configuration.xml b/admin/requirements-configuration.xml
deleted file mode 100644 (file)
index e399249..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>\r
-<chapter xml:id="requirements" xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="EN"\r
-    xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink">\r
-       <info>\r
-        <title>System Requirements and Hardware Configurations</title>\r
-       </info>\r
-       <para><application>Evergreen</application> is extremely scalable and can serve the need of a large range of libraries. The specific requirements and configuration of your \r
-       system should be determined based on your specific needs of your organization or consortium.</para>\r
-       <section xml:id="requirements_server">\r
-               <info>\r
-                   <title>Server Minimum Requirements</title>\r
-               </info> \r
-                <para>The following are the base requirements setting Evergreen up on a test server:</para>\r
-               <itemizedlist>\r
-                       <listitem><para>An available desktop, server or virtual image<indexterm><primary>virtual image</primary></indexterm></para></listitem>\r
-                       <listitem><para>1GB RAM, or more if your server also runs a graphical desktop</para></listitem>                 \r
-                       <listitem><para><systemitem class="osname">Linux</systemitem> Operating System</para><indexterm><primary>Linux</primary></indexterm></listitem>\r
-                       <listitem><para>Ports 80 and 443 should be opened in your firewall for <systemitem class="proptocol">TCP</systemitem> connections to allow OPAC and staff \r
-                       client connections to the Evergreen server.</para></listitem>\r
-                       \r
-               </itemizedlist>\r
-               <tip>\r
-                       <para><systemitem class="osname">Debian</systemitem><indexterm><primary>Linux</primary><secondary>Debian</secondary></indexterm> and \r
-                       <systemitem class="osname">Ubuntu</systemitem><indexterm><primary>Linux</primary><secondary>Ubuntu</secondary></indexterm> are the most widely used \r
-                       <systemitem class="osname">Linux</systemitem> distributions for installing Evergreen and most development takes place on Debian based systems. If you are new \r
-                       to Linux, it is strongly recommended that you install <application>Evergreen</application> on the latest stable server edition of <systemitem class="osname">Debian</systemitem> \r
-                       (<ulink url="http://www.debian.org/">http://www.debian.org/</ulink>)\r
-                       or <systemitem class="osname">Ubuntu 10.04</systemitem> Server(<ulink url="http://www.ubuntu.com/">http://www.ubuntu.com/</ulink>) since the installation instructions have been \r
-                       tested on these distributions. <systemitem class="osname">Debian</systemitem> and <systemitem class="osname">Ubuntu</systemitem> are free distributions of \r
-                       <systemitem class="osname">Linux</systemitem>.</para>\r
-               </tip>\r
-       </section>        \r
-       <section xml:id="hardwareconfigurations">\r
-               <info>\r
-                       <title>Server Hardware Configurations and Clustering</title>\r
-                       <indexterm><primary>hardware</primary><secondary>clustering</secondary></indexterm>\r
-               </info>\r
-               <para>The hardware requirements for running a functional <application>Evergreen</application> server are minimal. It is also possible to scale up your evergreen configuration to be \r
-               spread your <application>Evergreen</application> resources and services over several or even many servers in a clustered approach for the purpose \r
-               of system redundancy, load balancing and downtime reduction. This allows very large \r
-               consortia to share one <application>Evergreen</application> system with hundreds of libraries with millions of records and millions of users, making the scalability of \r
-               <application>Evergreen</application> almost infinite.</para>\r
-               <para>Here are some example scenarios for networked server configurations:</para>\r
-               <itemizedlist>\r
-                       <listitem><para>A small library library with 1 location, under 25,000 items and a few thousand users could easily run Evergreen on a single server \r
-                       (1 machine).</para></listitem>\r
-                       <listitem><para>A college or university with 1 million items and 20,000 users could run an <application>Evergreen</application> system using several servers balancing the \r
-                       load on their \r
-                       system by spreading services over multiple servers. It should host their <application>PostgreSQL</application><indexterm><primary>databases</primary>\r
-                       <secondary>PostgreSQL</secondary></indexterm> \r
-                       database on a separate server. They could also cluster the Evergreen services   \r
-                       strategically to minimize or eliminate any necessary downtown when upgrading Evergreen or other server software. Moreover, system redundancy will reduce the chance of \r
-                       unplanned catastrophic downtime caused by system failure since <application>Evergreen</application> will be running over several machines.</para></listitem>                    \r
-                       <listitem><para>A large library consortium with several public library systems and/or academic libraries with millions of users and items could run an \r
-                       <application>Evergreen</application> \r
-                       system over many servers with clusters for <application>Evergreen</application> services as well as a cluster for the Postgresql Database.</para></listitem>\r
-               </itemizedlist>\r
-               <para>The key to <application>Evergreen</application> scalability is in the <application>OpenSRF</application> configuration files \r
-               <filename>/openils/conf/opensrf.xml</filename><indexterm><primary>configuration files</primary><secondary>opensrf.xml</secondary></indexterm>  and \r
-               <filename>/openils/conf/opensrf_core.xml</filename><indexterm><primary>configuration files</primary><secondary>opensrf_core.xml</secondary></indexterm>. \r
-               By configuring these files, an administrator could cluster evergreen services over multiple hosts, change the host running a specific service \r
-               or change the host of the <application>PostgreSQL</application> database.</para> \r
-\r
-               <note><para>The default configuration of <application>Evergreen</application> in the installation instructions assumes a single <systemitem class="domainname">localhost</systemitem> \r
-               server setup. For more complex \r
-               multi-server clustered configurations, some server administration and database administration experience or knowledge will be required.</para></note>           \r
-       </section>    \r
-       <section xml:id="requirements_staffclient">\r
-               <info>\r
-                   <title>Staff Client Requirements</title>\r
-               </info>\r
-\r
-               <para> Staff terminals connect to the central database using the Evergreen staff client, available for download from \r
-               <link xlink:href="http://www.open-ils.org/downloads.php">The Evergreen download page</link>. The staff client must be installed on each staff workstation and requires at \r
-               minimum: </para>\r
-               <itemizedlist>\r
-                       <listitem><para><systemitem class="osname">Windows</systemitem>  (XP, Vista, or 7), <systemitem class="osname">Mac OS X</systemitem>,  \r
-               or <systemitem class="osname">Linux</systemitem> operating system</para></listitem>\r
-                       <listitem><para>a reliable high speed Internet connection</para></listitem>\r
-                       <listitem><para>512Mb of RAM</para></listitem>\r
-                       <listitem><para>The staff client uses the <systemitem class="proptocol">TCP</systemitem> protocal on ports <systemitem>80</systemitem> and <systemitem>443</systemitem> to \r
-                       communicate with the Evergreen server.</para></listitem>\r
-               </itemizedlist>\r
-               <simplesect>\r
-                       <title>Barcode Scanners</title>   \r
-                               <para><application>Evergreen</application> will work with virtually any barcode scanner<indexterm><primary>barcode scanner</primary></indexterm> – \r
-                               if it worked with your legacy system it should work on <application>Evergreen</application>.</para>\r
-               </simplesect>\r
-               <simplesect>\r
-                       <info>\r
-                               <title>Printers</title>\r
-                       </info>\r
-                       <para><application>Evergreen</application> can use any printer configured<indexterm><primary>printers</primary></indexterm> for your terminal to print receipts, check-out slips, holds\r
-                       lists, etc. The single exception is spine label printing, which is still under development. <application>Evergreen</application>\r
-                       currently formats spine labels for output to a label roll printer. If you do not have a roll printer\r
-                        manual formatting may be required.  For more on configuring receipt printers, see <link linkend="lsa-printer">Printer Settings</link>.</para>    \r
-               </simplesect>    \r
-       </section>\r
-</chapter>\r
diff --git a/admin/server_install.xml b/admin/server_install.xml
deleted file mode 100644 (file)
index 2ce10a2..0000000
+++ /dev/null
@@ -1,592 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<chapter xml:id="server_install" xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="EN"\r
-    xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink">\r
-\r
-\r
-<info>\r
-    <title>Installing the Evergreen Server</title>\r
-</info>\r
-<simplesect id="_preamble_referenced_user_accounts">\r
-<title>Preamble: referenced user accounts</title>\r
-<simpara>In subsequent simplesects, we will refer to a number of different accounts, as\r
-follows:</simpara>\r
-<itemizedlist>\r
-<listitem>\r
-<simpara>\r
-Linux user accounts:\r
-</simpara>\r
-<itemizedlist>\r
-<listitem>\r
-<simpara>\r
-The <emphasis role="strong">user</emphasis> Linux account is the account that you use to log onto the\r
-       Linux system as a regular user.\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-The <emphasis role="strong">root</emphasis> Linux account is an account that has system administrator\r
-       privileges. On Debian and Fedora you can switch to this account from\r
-       your <emphasis role="strong">user</emphasis> account by issuing the <literal>su -</literal> command and entering the\r
-       password for the <emphasis role="strong">root</emphasis> account when prompted. On Ubuntu you can switch\r
-       to this account from your <emphasis role="strong">user</emphasis> account using the <literal>sudo su -</literal> command\r
-       and entering the password for your <emphasis role="strong">user</emphasis> account when prompted.\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-The <emphasis role="strong">opensrf</emphasis> Linux account is an account that you create when installing\r
-       OpenSRF. You can switch to this account from the <emphasis role="strong">root</emphasis> account by\r
-       issuing the <literal>su - opensrf</literal> command.\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-The <emphasis role="strong">postgres</emphasis> Linux account is created automatically when you install\r
-       the PostgreSQL database server. You can switch to this account from the\r
-       <emphasis role="strong">root</emphasis> account by issuing the <literal>su - postgres</literal> command.\r
-</simpara>\r
-</listitem>\r
-</itemizedlist>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-PostgreSQL user accounts:\r
-</simpara>\r
-<itemizedlist>\r
-<listitem>\r
-<simpara>\r
-The <emphasis role="strong">evergreen</emphasis> PostgreSQL account is a superuser account that you will\r
-       create to connect to the PostgreSQL database server.\r
-</simpara>\r
-</listitem>\r
-</itemizedlist>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-Evergreen administrator account:\r
-</simpara>\r
-<itemizedlist>\r
-<listitem>\r
-<simpara>\r
-The <emphasis role="strong">egadmin</emphasis> Evergreen account is an administrator account for\r
-       Evergreen that you will use to test connectivity and configure your\r
-       Evergreen instance.\r
-</simpara>\r
-</listitem>\r
-</itemizedlist>\r
-</listitem>\r
-</itemizedlist>\r
-</simplesect>\r
-<simplesect id="_preamble_getting_an_evergreen_official_release_tarball">\r
-<title>Preamble: Getting an Evergreen official release tarball</title>\r
-<simpara>To download and extract the source for the current release of Evergreen, issue\r
-the following commands as the <emphasis role="strong">user</emphasis> Linux account:</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">wget -c http://evergreen-ils.org/downloads/Evergreen-ILS-2.1.1.tar.gz\r
-tar xzf Evergreen-ILS-2.1.1.tar.gz</programlisting>\r
-</simplesect>\r
-<simplesect id="_preamble_developer_instructions">\r
-<title>Preamble: Developer instructions</title>\r
-<note><simpara>Skip this section if you are using an official release tarball downloaded\r
-from <ulink url="http://evergreen-ils.org/downloads">http://evergreen-ils.org/downloads</ulink></simpara></note>\r
-<simpara>Developers working directly with the source code from the Git repository,\r
-rather than an official release tarball, must install some extra packages\r
-and perform one step before they can proceed with the <literal>./configure</literal> step.</simpara>\r
-<simpara>As the <emphasis role="strong">root</emphasis> Linux account, install the following packages:</simpara>\r
-<itemizedlist>\r
-<listitem>\r
-<simpara>\r
-autoconf\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-automake\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-libtool\r
-</simpara>\r
-</listitem>\r
-</itemizedlist>\r
-<simpara>As the <emphasis role="strong">user</emphasis> Linux account, issue the following command in the Evergreen\r
-source directory to generate the configure script and Makefiles:</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">./autogen.sh</programlisting>\r
-<simpara>After running <literal>make install</literal>, developers also need to install the Dojo Toolkit\r
-set of JavaScript libraries. The appropriate version of Dojo is included\r
-in Evergreen release tarballs. Developers should install the Dojo 1.3.3\r
-version of Dojo by issuing the following commands as the <emphasis role="strong">opensrf</emphasis> Linux\r
-account:</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">wget http://download.dojotoolkit.org/release-1.3.3/dojo-release-1.3.3.tar.gz\r
-tar -C /openils/var/web/js -xzf dojo-release-1.3.3.tar.gz\r
-cp -r /openils/var/web/js/dojo-release-1.3.3/* /openils/var/web/js/dojo/.</programlisting>\r
-</simplesect>\r
-<simplesect id="_installing_prerequisites">\r
-<title>Installing prerequisites</title>\r
-<simpara>Evergreen has a number of prerequisite packages that must be installed\r
-before you can successfully configure, compile, and install Evergreen.</simpara>\r
-<orderedlist numeration="arabic">\r
-<listitem>\r
-<simpara>\r
-Begin by installing the most recent version of OpenSRF (2.0 or later).\r
-   You can download OpenSRF releases from <ulink url="http://evergreen-ils.org/opensrf.php">http://evergreen-ils.org/opensrf.php</ulink>\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-On many distributions, it is necessary to install PostgreSQL 9 from external\r
-   repositories.\r
-</simpara>\r
-<itemizedlist>\r
-<listitem>\r
-<simpara>\r
-On Debian Squeeze, open <literal>/etc/apt/sources.list</literal> in a text editor as the\r
-    <emphasis role="strong">root</emphasis> Linux account and add the following line:\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">deb http://backports.debian.org/debian-backports squeeze-backports main contrib</programlisting>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-On Ubuntu Lucid, you can use a PPA (personal package archive), which are\r
-    package sources hosted on Launchpad. The one most commonly used by Evergreen\r
-    Community members is maintained by Martin Pitt, who also maintains the\r
-    official PostgreSQL packages for Ubuntu. As the <emphasis role="strong">root</emphasis> Linux account, issue\r
-    the following commands to add the PPA source:\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">apt-get install python-software-properties\r
-add-apt-repository ppa:pitti/postgresql</programlisting>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-Fedora 15 comes with PostgreSQL 9, so no additional steps are required.\r
-</simpara>\r
-</listitem>\r
-</itemizedlist>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-On Debian and Ubuntu, run <literal>aptitude update</literal> as the <emphasis role="strong">root</emphasis> Linux account to\r
-   retrieve the new packages from the backports repository.\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-Issue the following commands as the <emphasis role="strong">root</emphasis> Linux account to install\r
-   prerequisites using the <literal>Makefile.install</literal> prerequisite installer,\r
-   substituting <literal>debian-squeeze</literal>, <literal>fedora15</literal>, <literal>ubuntu-lucid</literal>, <literal>centos</literal>, or\r
-   <literal>rhel</literal> for &lt;osname&gt; below:\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">make -f Open-ILS/src/extras/Makefile.install &lt;osname&gt;</programlisting>\r
-<note><simpara><literal>centos</literal> and <literal>rhel</literal> are less tested than the <literal>debian</literal>, <literal>fedora</literal>,\r
-and <literal>ubuntu</literal> options.  Your patches and suggestions for improvement are\r
-welcome!</simpara></note>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-Add the libdbi-libdbd libraries to the system dynamic library path by\r
-   issuing the following commands as the <emphasis role="strong">root</emphasis> Linux account:\r
-</simpara>\r
-<formalpara><title>Debian / Ubuntu</title><para>\r
-<programlisting language="bash" linenumbering="unnumbered">echo "/usr/local/lib/dbd" &gt; /etc/ld.so.conf.d/eg.conf\r
-ldconfig</programlisting>\r
-</para></formalpara>\r
-<formalpara><title>Fedora</title><para>\r
-<programlisting language="bash" linenumbering="unnumbered">echo "/usr/lib64/dbd" &gt; /etc/ld.so.conf.d/eg.conf\r
-ldconfig</programlisting>\r
-</para></formalpara>\r
-</listitem>\r
-</orderedlist>\r
-</simplesect>\r
-<simplesect id="_configuration_and_compilation_instructions">\r
-<title>Configuration and compilation instructions</title>\r
-<simpara>For the time being, we are still installing everything in the <literal>/openils/</literal>\r
-directory. From the Evergreen source directory, issue the following commands as\r
-the <emphasis role="strong">user</emphasis> Linux account to configure and build Evergreen:</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">./configure --prefix=/openils --sysconfdir=/openils/conf\r
-make</programlisting>\r
-</simplesect>\r
-<simplesect id="_installation_instructions">\r
-<title>Installation instructions</title>\r
-<orderedlist numeration="arabic">\r
-<listitem>\r
-<simpara>\r
-Once you have configured and compiled Evergreen, issue the following\r
-   command as the <emphasis role="strong">root</emphasis> Linux account to install Evergreen, build the server\r
-   portion of the staff client, and copy example configuration files to\r
-   <literal>/openils/conf</literal>.\r
-   Change the value of the <literal>STAFF_CLIENT_STAMP_ID</literal> variable to match the version\r
-   of the staff client that you will use to connect to the Evergreen server.\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">make STAFF_CLIENT_STAMP_ID=rel_2_1_1 install</programlisting>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-The server portion of the staff client expects <literal>http://hostname/xul/server</literal>\r
-   to resolve. Issue the following commands as the <emphasis role="strong">root</emphasis> Linux account to\r
-   create a symbolic link pointing to the <literal>server</literal> subdirectory of the server\r
-   portion of the staff client that we just built using the staff client ID\r
-   <emphasis>rel_name</emphasis>:\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">cd /openils/var/web/xul\r
-ln -sf rel_name/server server</programlisting>\r
-</listitem>\r
-</orderedlist>\r
-</simplesect>\r
-<simplesect id="_change_ownership_of_the_evergreen_files">\r
-<title>Change ownership of the Evergreen files</title>\r
-<simpara>All files in the <literal>/openils/</literal> directory and subdirectories must be owned by the\r
-<literal>opensrf</literal> user. Issue the following command as the <emphasis role="strong">root</emphasis> Linux account to\r
-change the ownership on the files:</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">chown -R opensrf:opensrf /openils</programlisting>\r
-</simplesect>\r
-<simplesect id="_create_the_oils_web_xml_configuration_file">\r
-<title>Create the oils_web.xml configuration file</title>\r
-<simpara>Many administration interfaces, such as acquisitions, bookings, and various\r
-configuration screens, depend on the correct configuration of HTML templates.\r
-Copying the sample configuration file into place should work in most cases:</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">cp /openils/conf/oils_web.xml.example /openils/conf/oils_web.xml</programlisting>\r
-</simplesect>\r
-<simplesect id="_configure_the_apache_web_server">\r
-<title>Configure the Apache Web server</title>\r
-<orderedlist numeration="arabic">\r
-<listitem>\r
-<simpara>\r
-Use the example configuration files in <literal>Open-ILS/examples/apache/</literal> to\r
-configure your Web server for the Evergreen catalog, staff client, Web\r
-services, and administration interfaces. Issue the following commands as the\r
-<emphasis role="strong">root</emphasis> Linux account:\r
-</simpara>\r
-<formalpara><title>Debian and Ubuntu</title><para>\r
-<programlisting language="bash" linenumbering="unnumbered">cp Open-ILS/examples/apache/eg.conf       /etc/apache2/sites-available/\r
-cp Open-ILS/examples/apache/eg_vhost.conf /etc/apache2/\r
-cp Open-ILS/examples/apache/startup.pl    /etc/apache2/\r
-# Now set up SSL\r
-mkdir /etc/apache2/ssl\r
-cd /etc/apache2/ssl</programlisting>\r
-</para></formalpara>\r
-<formalpara><title>Fedora</title><para>\r
-<programlisting language="bash" linenumbering="unnumbered">cp Open-ILS/examples/apache/eg.conf       /etc/httpd/sites-available/\r
-cp Open-ILS/examples/apache/eg_vhost.conf /etc/httpd/\r
-cp Open-ILS/examples/apache/startup.pl    /etc/httpd/\r
-# Now set up SSL\r
-mkdir /etc/httpd/ssl\r
-cd /etc/httpd/ssl</programlisting>\r
-</para></formalpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-The <literal>openssl</literal> command cuts a new SSL key for your Apache server. For a\r
-production server, you should purchase a signed SSL certificate, but you can\r
-just use a self-signed certificate and accept the warnings in the staff client\r
-and browser during testing and development. Create an SSL key for the Apache\r
-server by issuing the following command as the <emphasis role="strong">root</emphasis> Linux account:\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">openssl req -new -x509 -days 365 -nodes -out server.crt -keyout server.key</programlisting>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-As the <emphasis role="strong">root</emphasis> Linux account, edit the <literal>eg.conf</literal> file that you copied into\r
-place.\r
-</simpara>\r
-<orderedlist numeration="loweralpha">\r
-<listitem>\r
-<simpara>\r
-Replace <literal>Allow from 10.0.0.0/8</literal> with <literal>Allow from all</literal> (to enable\r
-     access to the offline upload / execute interface from any workstation on\r
-     any network - note that you must secure this for a production instance)\r
-</simpara>\r
-</listitem>\r
-</orderedlist>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-Change the user for the Apache server.\r
-</simpara>\r
-<itemizedlist>\r
-<listitem>\r
-<simpara>\r
-(Debian and Ubuntu): As the <emphasis role="strong">root</emphasis> Linux account, edit\r
-    <literal>/etc/apache2/envvars</literal>.  Change <literal>export APACHE_RUN_USER=www-data</literal> to\r
-    <literal>export APACHE_RUN_USER=opensrf</literal>.\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-(Fedora): As the <emphasis role="strong">root</emphasis> Linux account , edit <literal>/etc/httpd/conf/httpd.conf</literal>.\r
-    Change <literal>User apache</literal> to <literal>User opensrf</literal>.\r
-</simpara>\r
-</listitem>\r
-</itemizedlist>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-Configure Apache with performance settings appropriate for Evergreen:\r
-</simpara>\r
-<itemizedlist>\r
-<listitem>\r
-<simpara>\r
-(Debian and Ubuntu): As the <emphasis role="strong">root</emphasis> Linux account, edit\r
-    <literal>/etc/apache2/apache2.conf</literal>:\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-(Fedora): As the <emphasis role="strong">root</emphasis> Linux account, edit <literal>/etc/httpd/conf/httpd.conf</literal>:\r
-</simpara>\r
-<orderedlist numeration="loweralpha">\r
-<listitem>\r
-<simpara>\r
-Change <literal>KeepAliveTimeout</literal> to <literal>1</literal>. Higher values reduce the chance of\r
-       a request timing out unexpectedly, but increase the risk of using up\r
-       all available Apache child processes.\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-<emphasis>Optional</emphasis>: Change <literal>MaxKeepAliveRequests</literal> to <literal>100</literal>\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-Update the prefork configuration simplesect to suit your environment. The\r
-       following settings apply to a busy system:\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">&lt;IfModule mpm_prefork_module&gt;\r
-   StartServers           20\r
-   MinSpareServers         5\r
-   MaxSpareServers        15\r
-   MaxClients            150\r
-   MaxRequestsPerChild 10000\r
-&lt;/IfModule&gt;</programlisting>\r
-</listitem>\r
-</orderedlist>\r
-</listitem>\r
-</itemizedlist>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-(Debian and Ubuntu): As the <emphasis role="strong">root</emphasis> Linux account, enable the Evergreen site:\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">a2dissite default  # OPTIONAL: disable the default site (the "It Works" page)\r
-a2ensite eg.conf</programlisting>\r
-</listitem>\r
-</orderedlist>\r
-</simplesect>\r
-<simplesect id="_configure_opensrf_for_the_evergreen_application">\r
-<title>Configure OpenSRF for the Evergreen application</title>\r
-<simpara>There are a number of example OpenSRF configuration files in <literal>/openils/conf/</literal>\r
-that you can use as a template for your Evergreen installation. Issue the\r
-following commands as the <emphasis role="strong">opensrf</emphasis> Linux account:</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">cp -b /openils/conf/opensrf_core.xml.example /openils/conf/opensrf_core.xml\r
-cp -b /openils/conf/opensrf.xml.example /openils/conf/opensrf.xml</programlisting>\r
-<simpara>When you installed OpenSRF, you created four Jabber users on two\r
-separate domains and edited the <literal>opensrf_core.xml</literal> file accordingly. Please\r
-refer back to the OpenSRF README and, as the <emphasis role="strong">opensrf</emphasis> Linux account, edit the\r
-Evergreen version of the <literal>opensrf_core.xml</literal> file using the same Jabber users\r
-and domains as you used while installing and testing OpenSRF.</simpara>\r
-<note><simpara>The <literal>-b</literal> flag tells the <literal>cp</literal> command to create a backup version of the\r
-destination file. The backup version of the destination file has a tilde (<literal>~</literal>)\r
-appended to the file name, so if you have forgotten the Jabber users and\r
-domains, you can retrieve the settings from the backup version of the files.</simpara></note>\r
-<simpara><literal>eg_db_config.pl</literal>, described in the following simplesect, sets the database\r
-connection information in <literal>opensrf.xml</literal> for you.</simpara>\r
-</simplesect>\r
-<simplesect id="_creating_the_evergreen_database">\r
-<title>Creating the Evergreen database</title>\r
-<simpara>By default, the <literal>Makefile.install</literal> prerequisite installer does not install\r
-the PostgreSQL 9.0 database server required by every Evergreen system;\r
-for production use, most libraries install the PostgreSQL database server on a\r
-dedicated machine. You can install the packages required by Debian, Ubuntu, or\r
-Fedora on the machine of your choice using the following commands as the <emphasis role="strong">root</emphasis>\r
-Linux account:</simpara>\r
-<formalpara><title>(Debian / Ubuntu) Installing PostgreSQL 9.0 server packages</title><para>\r
-<programlisting language="bash" linenumbering="unnumbered">make -f Open-ILS/src/extras/Makefile.install install_pgsql_server_debs_90</programlisting>\r
-</para></formalpara>\r
-<formalpara><title>(Fedora 15) Installing PostgreSQL 9.0 server packages</title><para>\r
-<programlisting language="bash" linenumbering="unnumbered">make -f Open-ILS/src/extras/Makefile.install install_fedora_pgsql_server</programlisting>\r
-</para></formalpara>\r
-<simpara>For a standalone PostgreSQL server, install the following Perl modules as the\r
-<emphasis role="strong">root</emphasis> Linux account:</simpara>\r
-<formalpara><title>(Debian / Ubuntu) Installing additional Perl modules on a standalone PostgreSQL 9.0 server</title><para>\r
-<programlisting language="bash" linenumbering="unnumbered">aptitude install gcc libxml-libxml-perl libxml-libxslt-perl\r
-cpan Business::ISBN\r
-cpan JSON::XS\r
-cpan Library::CallNumber::LC\r
-cpan MARC::Record\r
-cpan MARC::File::XML\r
-cpan UUID::Tiny</programlisting>\r
-</para></formalpara>\r
-<formalpara><title>(Fedora 15) Installing additional Perl modules on a standalone PostgreSQL 9.0 server</title><para>\r
-<programlisting language="bash" linenumbering="unnumbered">yum install gcc perl-XML-LibXML perl-XML-LibXSLT perl-Business-ISBN\r
-cpan JSON::XS\r
-cpan Library::CallNumber::LC\r
-cpan MARC::Record\r
-cpan MARC::File::XML\r
-cpan UUID::Tiny</programlisting>\r
-</para></formalpara>\r
-<simpara>You need to create a PostgreSQL superuser to create and access the database.\r
-Issue the following command as the <emphasis role="strong">postgres</emphasis> Linux account to create a new\r
-PostgreSQL superuser named <literal>evergreen</literal>. When prompted, enter the new user&#8217;s\r
-password:</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">createuser -s -P evergreen</programlisting>\r
-<simpara>Once you have created the <emphasis role="strong">evergreen</emphasis> PostgreSQL account, you also need to\r
-create the database and schema, and configure your configuration files to point\r
-at the database server. Issue the following command as the <emphasis role="strong">root</emphasis> Linux account\r
-from inside the Evergreen source directory, replacing &lt;user&gt;, &lt;password&gt;,\r
-&lt;hostname&gt;, &lt;port&gt;, and &lt;dbname&gt; with the appropriate values for your\r
-PostgreSQL database (where &lt;user&gt; and &lt;password&gt; are for the <emphasis role="strong">evergreen</emphasis>\r
-PostgreSQL account you just created), and replace &lt;admin-user&gt; and &lt;admin-pass&gt;\r
-with the values you want for the <emphasis role="strong">egadmin</emphasis> Evergreen administrator account:</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">perl Open-ILS/src/support-scripts/eg_db_config.pl --update-config \\r
-       --service all --create-database --create-schema --create-offline \\r
-       --user &lt;user&gt; --password &lt;password&gt; --hostname &lt;hostname&gt; --port &lt;port&gt; \\r
-       --database &lt;dbname&gt; --admin-user &lt;admin-user&gt; --admin-pass &lt;admin-pass&gt;</programlisting>\r
-<simpara>This creates the database and schema and configures all of the services in\r
-your <literal>/openils/conf/opensrf.xml</literal> configuration file to point to that database.\r
-It also creates the configuration files required by the Evergreen <literal>cgi-bin</literal>\r
-administration scripts, and sets the user name and password for the <emphasis role="strong">egadmin</emphasis>\r
-Evergreen administrator account to your requested values.</simpara>\r
-<simplesect id="_creating_the_database_on_a_remote_server">\r
-<title>Creating the database on a remote server</title>\r
-<simpara>In a production instance of Evergreen, your PostgreSQL server should be\r
-installed on a dedicated server. To create the database in that case, you\r
-can either:</simpara>\r
-<itemizedlist>\r
-<listitem>\r
-<simpara>\r
-Install the PostgreSQL contrib modules on the machine on which you\r
-     are installing the Evergreen code, and use the --create-database\r
-     option from that machine, or\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-Copy the <literal>Open-ILS/src/sql/Pg/create_database.sql</literal> script to your\r
-     PostgreSQL server and invoke it as the <emphasis role="strong">postgres</emphasis> Linux account:\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">psql -vdb_name=&lt;dbname&gt; -vcontrib_dir=`pg_config --sharedir`/contrib -f create_database.sql</programlisting>\r
-</listitem>\r
-</itemizedlist>\r
-<simpara>Then you can issue the <literal>eg_db_config.pl</literal> command as above <emphasis>without</emphasis> the\r
-<literal>--create-database</literal> argument to create your schema and configure your\r
-configuration files.</simpara>\r
-</simplesect>\r
-</simplesect>\r
-<simplesect id="_starting_evergreen">\r
-<title>Starting Evergreen</title>\r
-<orderedlist numeration="arabic">\r
-<listitem>\r
-<simpara>\r
-As the <emphasis role="strong">root</emphasis> Linux account, start the <literal>memcached</literal> and <literal>ejabberd</literal> services\r
-(if they aren&#8217;t already running):\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">/etc/init.d/ejabberd start\r
-/etc/init.d/memcached start</programlisting>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-As the <emphasis role="strong">opensrf</emphasis> Linux account, start Evergreen. The <literal>-l</literal> flag in the\r
-following command is only necessary if you want to force Evergreen to treat the\r
-hostname as <literal>localhost</literal>; if you configured <literal>opensrf.xml</literal> using the real\r
-hostname of your machine as returned by <literal>perl -ENet::Domain 'print\r
-Net::Domain::hostfqdn() . "\n";'</literal>, you should not use the <literal>-l</literal> flag.\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">osrf_ctl.sh -l -a start_all</programlisting>\r
-<itemizedlist>\r
-<listitem>\r
-<simpara>\r
-If you receive the error message <literal>bash: osrf_ctl.sh: command not found</literal>,\r
-     then your environment variable <literal>PATH</literal> does not include the <literal>/openils/bin</literal>\r
-     directory; this should have been set in the <emphasis role="strong">opensrf</emphasis> Linux account&#8217;s\r
-     <literal>.bashrc</literal> configuration file. To manually set the <literal>PATH</literal> variable, edit the\r
-     configuration file <literal>~/.bashrc</literal> as the <emphasis role="strong">opensrf</emphasis> Linux account and add the\r
-     following line:\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">export PATH=$PATH:/openils/bin</programlisting>\r
-</listitem>\r
-</itemizedlist>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-As the <emphasis role="strong">opensrf</emphasis> Linux account, generate the Web files needed by the staff\r
-   client and catalogue and update the organization unit proximity (you need to do\r
-   this the first time you start Evergreen, and after that each time you change\r
-   the library hierarchy in <literal>config.cgi</literal>):\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">autogen.sh -u</programlisting>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-As the <emphasis role="strong">root</emphasis> Linux account, restart the Apache Web server:\r
-</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">/etc/init.d/apache2 restart</programlisting>\r
-<simpara>If the Apache Web server was running when you started the OpenSRF services, you\r
-might not be able to successfully log in to the OPAC or staff client until the\r
-Apache Web server is restarted.</simpara>\r
-</listitem>\r
-</orderedlist>\r
-</simplesect>\r
-<simplesect id="_testing_connections_to_evergreen">\r
-<title>Testing connections to Evergreen</title>\r
-<simpara>Once you have installed and started Evergreen, test your connection to\r
-Evergreen via <literal>srfsh</literal>. As the <emphasis role="strong">opensrf</emphasis> Linux account, issue the following\r
-commands to start <literal>srfsh</literal> and try to log onto the Evergreen server using the\r
-<emphasis role="strong">egadmin</emphasis> Evergreen administrator user name and password that you set using the\r
-<literal>eg_db_config.pl</literal> command:</simpara>\r
-<programlisting language="bash" linenumbering="unnumbered">/openils/bin/srfsh\r
-srfsh% login &lt;admin-user&gt; &lt;admin-pass&gt;</programlisting>\r
-<simpara>You should see a result like:</simpara>\r
-<literallayout class="monospaced">Received Data: "250bf1518c7527a03249858687714376"\r
-------------------------------------\r
-Request Completed Successfully\r
-Request Time in seconds: 0.045286\r
-------------------------------------</literallayout>\r
-<literallayout class="monospaced">Received Data: {\r
-   "ilsevent":0,\r
-   "textcode":"SUCCESS",\r
-   "desc":" ",\r
-   "pid":21616,\r
-   "stacktrace":"oils_auth.c:304",\r
-   "payload":{\r
-      "authtoken":"e5f9827cc0f93b503a1cc66bee6bdd1a",\r
-      "authtime":420\r
-   }</literallayout>\r
-<literallayout class="monospaced">}</literallayout>\r
-<literallayout class="monospaced">------------------------------------\r
-Request Completed Successfully\r
-Request Time in seconds: 1.336568\r
-------------------------------------</literallayout>\r
-<simpara>If this does not work, it&#8217;s time to do some troubleshooting.</simpara>\r
-<itemizedlist>\r
-<listitem>\r
-<simpara>\r
-As the <emphasis role="strong">opensrf</emphasis> Linux acccount, run the <literal>settings-tester.pl</literal> script to see\r
-    if it finds any system configuration problems. The script is found at\r
-    <literal>Open-ILS/src/support-scripts/settings-tester.pl</literal> in the Evergreen source\r
-    tree.\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-Follow the steps in the <ulink url="http://evergreen-ils.org/dokuwiki/doku.php?id=troubleshooting:checking_for_errors">troubleshooting guide</ulink>.\r
-</simpara>\r
-</listitem>\r
-<listitem>\r
-<simpara>\r
-If you have faithfully followed the entire set of installation steps\r
-    listed here, you are probably extremely close to a working system.\r
-    Gather your configuration files and log files and contact the\r
-    <ulink url="http://open-ils.org/listserv.php">Evergreen development mailing list</ulink>\r
-    for assistance before making any drastic changes to your system\r
-    configuration.\r
-</simpara>\r
-</listitem>\r
-</itemizedlist>\r
-</simplesect>\r
-<simplesect id="_getting_help">\r
-<title>Getting help</title>\r
-<simpara>Need help installing or using Evergreen? Join the mailing lists at\r
-<ulink url="http://evergreen-ils.org/listserv.php">http://evergreen-ils.org/listserv.php</ulink> or contact us on the Freenode\r
-IRC network on the #evergreen channel.</simpara>\r
-</simplesect>\r
-</chapter>\r
diff --git a/admin/upgrading.xml b/admin/upgrading.xml
deleted file mode 100644 (file)
index 086d471..0000000
+++ /dev/null
@@ -1,283 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>\r
-<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"\r
-       xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:id="upgradingevergreen">\r
-       <info>\r
-               <title>Upgrading Evergreen to 2.1</title>\r
-               <abstract>\r
-                       <para>This Chapter will explain the step-by-step process of upgrading <application>Evergreen\r
-                       </application> to 2.1, including steps to upgrade <application>OpenSRF</application>. Before \r
-                       upgrading, it is important to carefully plan an upgrade strategy to minimize system downtime and \r
-                       service interruptions. All of the steps in this chapter are to be completed from the command line.</para>\r
-                       \r
-               </abstract>\r
-       </info>    \r
-               <para>Evergreen 2.0 has several software requirements:</para>\r
-               <itemizedlist>\r
-                       <listitem>PostgreSQL: Version 9.0 is the minimum supported version of PostgreSQL. </listitem>\r
-                       <listitem>Linux: Evergreen 2.0 has been tested on Debian Squeeze (6.0) and Ubuntu Lucid Lynx (10.04). If you are running an older version of \r
-                       these distributions, you may want to upgrade before installing Evergreen 2.1. For instructions on upgrading these distributions, visit the \r
-                       <ulink url="http://www.debian.org/releases/squeeze/">Debian</ulink> or <ulink url="https://help.ubuntu.com/community/LucidUpgrades">Ubuntu</ulink> websites.</listitem>\r
-               </itemizedlist>\r
-               <para>In the following instructions, you are asked to perform certain steps as either the <systemitem class="username">root</systemitem>  or \r
-               <systemitem class="username">opensrf</systemitem> user.</para>\r
-               <itemizedlist>\r
-                       <listitem>Debian: To become the <systemitem class="username">root</systemitem> user, issue the <command>su</command> command and enter the password of the \r
-                       <systemitem class="username">root</systemitem> user.</listitem>\r
-                       <listitem>Ubuntu: To become the <systemitem class="username">root</systemitem> user, issue the <command>sudo su</command> command and enter the password of your current user.</listitem>\r
-               </itemizedlist>\r
-               <para>To switch from the <systemitem class="username">root</systemitem> user to a different user, issue the <command>su - [user]</command> command; for example, \r
-               <command>su - opensrf</command>. Once you have become a non-root user, to become the <systemitem class="username">root</systemitem> user again simply issue the exit command.</para> \r
-               <para>In the following instructions, <filename class='directory'>/path/to/OpenSRF/</filename> represents the path to the OpenSRF source directory.</para>\r
-       \r
-               <procedure>\r
-                       <step>\r
-                               <para>Stop Evergreen and back up your data:</para>\r
-                               <substeps>\r
-                                       <step>\r
-                                               <para>As <systemitem class="username">root</systemitem>, stop the <application>Apache</application> \r
-                                               web server<indexterm><primary>web server</primary><secondary>Apache</secondary></indexterm>.</para>\r
-                                       </step>\r
-                                       <step>\r
-                                               <para>As the <systemitem class="username">opensrf</systemitem> user, stop all \r
-                                               <application>Evergreen</application>\r
-                                               and <application>OpenSRF</application> services:</para>\r
-                                               <screen><userinput>osrf_ctl.sh -l -a stop_all</userinput></screen>\r
-                                       </step>\r
-                                       <step>\r
-                                               <para>Back up of the <filename class='directory'>/openils</filename> \r
-                                               directory.</para>\r
-                                       </step>\r
-                                       <step>\r
-                                               <para>Back up the <application>evergreen\r
-                                               </application> database.</para>\r
-                                       </step>\r
-                               </substeps>\r
-                       </step>\r
-                       <step>\r
-                               <para>Upgrade OpenSRF to the latest edition.</para>\r
-                               <note><para>You may skip this step if the latest version of OpenSRF 2.0.x was previously installed.</para></note>\r
-                               <para>Download and install the latest version of Opensrf from the <ulink url="http://open-ils.org/opensrf.php">OpenSRF download page.</ulink></para>\r
-                       </step>\r
-                       <step>\r
-                               <para>As the <systemitem class="username">opensrf</systemitem> user, download and extract <application>Evergreen 2.1</application>\r
-                               </para>\r
-<screen><userinput>\r
-wget http://www.open-ils.org/downloads/Evergreen-ILS-2.1.1.tar.gz\r
-tar xzf Evergreen-ILS-2.1.1.tar.gz\r
-</userinput></screen>\r
-                               <note><para>For the latest edition of Evergreen 2.1, check the Evergreen download page at\r
-                               <ulink url="http://www.open-ils.org/downloads.php" /> and adjust upgrading instructions accordingly.</para></note>\r
-                       </step>\r
-                       <step>\r
-                               <para>As the <systemitem class="username">root</systemitem> user, install the prerequisites:</para> \r
-                               <screen><userinput>cd /home/opensrf/Evergreen-ILS-2.1.1</userinput></screen>    \r
-                               <para>On the next command, replace <option>[distribution]</option> with one of \r
-                               these values for your distribution of Debian or Ubuntu:</para>\r
-                               <itemizedlist>\r
-                                       \r
-                                       <listitem>\r
-                                               <para><option>debian-squeeze</option> for <systemitem class="osname">Debian Squeeze (6.0)</systemitem></para>\r
-                                       </listitem>\r
-                                       \r
-                                       <listitem>\r
-                                               <para><option>ubuntu-lucid</option> for  <systemitem class="osname">Ubuntu Lucid Lynx \r
-                                               (10.04)</systemitem></para>\r
-                                       </listitem>\r
-                               </itemizedlist>\r
-                               <screen><userinput>make -f Open-ILS/src/extras/Makefile.install <option>[distribution]</option></userinput></screen>\r
-                       </step>\r
-                       <step>\r
-                               <para>As the <systemitem class="username">opensrf</systemitem> user, configure and compile \r
-                               <application>Evergreen</application>:</para>\r
-                               <screen><userinput>cd /home/opensrf/Evergreen-ILS-2.1.1</userinput></screen>\r
-                               <screen><userinput>./configure --prefix=/openils --sysconfdir=/openils/conf</userinput></screen>\r
-                               <screen><userinput>make</userinput></screen>\r
-                       </step>\r
-                       <step>\r
-                               <para>As the <systemitem class="username">root</systemitem> user, install \r
-                               <application>Evergreen</application>:</para>\r
-                               <screen><userinput>make STAFF_CLIENT_BUILD_ID=rel_2_1_1 install</userinput></screen>\r
-                       </step>\r
-                       <step>\r
-                               <para>As the <emphasis>root</emphasis> user, change all files to be owned by the \r
-                               <emphasis>opensrf</emphasis> user and group:</para>\r
-                               <screen><userinput>chown -R opensrf:opensrf /openils</userinput></screen>\r
-                       </step>                                         \r
-                       <step>\r
-                               <para>As the <systemitem class="username">opensrf</systemitem> user, update configuration files:</para>\r
-<screen><userinput>\r
-cd /home/opensrf/Evergreen-ILS-2.1.1\r
-# and offline-config.pl for the offline staff client data uploader\r
-perl Open-ILS/src/support-scripts/eg_db_config.pl \\r
-  --create-offline --user evergreen --password evergreen \\r
-  --hostname localhost --port 5432 --database evergreen\r
-</userinput></screen>\r
-                       </step> \r
-\r
-                       <step>\r
-                               <para>As the <systemitem class="username">opensrf</systemitem> user, update server symlink in <filename class="directory">/openils/var/web/xul/</filename>:</para>\r
-<screen><userinput>\r
-cd /openils/var/web/xul/\r
-rm server\r
-ln -s rel_2_1_1/server\r
-</userinput></screen>\r
-                       </step>\r
-                       <step>\r
-                               <para>Change to the <application>Evergreen</application> installation \r
-                               directory:</para>\r
-<screen><userinput>cd /home/opensrf/Evergreen-ILS-2.1.1</userinput></screen>\r
-                       </step>\r
-\r
-                       <step>\r
-                               <para>Update the <database>evergreen</database> database:</para>\r
-                               <note><para>It is recommended that you <link linkend="backingup">back up your Evergreen database</link> in order to restore your data if \r
-                               anything goes wrong.</para></note>\r
-                               \r
-                               <para>If you were running Evergreen 2.0.x on PostgreSQL 8.4, you will need to upgrade to PostgreSQL 9.0:</para>\r
-                               <substeps>\r
-                                       <title>Upgrade to PostgreSQL 9.0</title>\r
-                                       <step>                                  \r
-                                               <para>Install the PostgreSQL 9.0 server packages following the \r
-                                               <link linkend="_creating_the_evergreen_database">installation instructions</link>. Pay close attention to the backports section.</para>\r
-                                       </step>\r
-                                       <step>                          \r
-                                               <para> Upgrade your existing PostgreSQL 8.4 cluster to a PostgreSQL 9.0 cluster by issuing the following commands as \r
-                                               <systemitem class="username">root</systemitem>:\r
-                                               </para>\r
-                                               <substeps>\r
-                                                       <step>\r
-                                                               <para>Blow away the default PostgreSQL 9.0 main cluster:</para>\r
-<screen><userinput>pg_dropcluster 9.0 main</userinput></screen> \r
-                                                       </step>\r
-                                                       <step>\r
-                                                               <para>Upgrade your production PostgreSQL 8.4 main cluster</para>\r
-<screen><userinput>pg_upgradecluster --stop 8.4 main</userinput></screen> \r
-                                                       </step>\r
-                                                       <step>\r
-                                                               <para>OPTIONAL: Blow away your old PostgreSQL 8.4 main cluster. If you don't do this, then you might need to \r
-                                                               update <filename>opensrf.xml</filename> with new port numbers (probably 5433)</para>\r
-<screen><userinput>pg_dropcluster 8.4 main</userinput></screen> \r
-                                                       </step>\r
-                                               </substeps>\r
-                                       </step>\r
-                                       <step>\r
-                                                       <para>Add the hstore PostgreSQL contrib module to your Evergreen database:</para>\r
-<screen><userinput>\r
-psql -U evergreen -h localhost -f /usr/share/postgresql/9.0/contrib/hstore.sql -d evergreen\r
-</userinput></screen> \r
-                                       </step>\r
-                               </substeps>\r
-                       </step>\r
-                       <step>\r
-                               <para>Upgrade Evergreen Schema.</para>\r
-                               <caution><para>Pay attention to error output as you run these scripts. You should do additional troubleshooting and error reporting to the  \r
-                               <ulink url="http://libmail.georgialibraries.org/mailman/listinfo/open-ils-dev"> Evergreen Developer List</ulink> if you encounter errors.\r
-                               </para></caution> \r
-<screen>\r
-<userinput>\r
-cd /home/opensrf/Evergreen-ILS-2.1.1\r
-psql -U evergreen -h localhost -f Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql evergreen\r
-psql -U evergreen -h localhost -f Open-ILS/src/sql/Pg/2.1.0-2.1.1-upgrade-db.sql evergreen\r
-</userinput>\r
-</screen>              \r
-                       </step>\r
-\r
-                       <step>\r
-                               <para>As the <systemitem class="username">opensrf</systemitem> user, \r
-                               copy <filename>/openils/conf/oils_web.xml.example</filename> to <filename>/openils/conf/oils_web.xml</filename>\r
-                               . (If upgrading from 1.6.1.x, <filename>oils_web.xml</filename> should already exist.)</para>\r
-                               <indexterm><primary>configuration files</primary><secondary>oils_web.xml</secondary></indexterm>\r
-                               <screen><userinput>cp /openils/conf/oils_web.xml.example /openils/conf/oils_web.xml</userinput></screen>\r
-                       </step>\r
-                       <step>\r
-                               <para>Update <filename>opensrf_core.xml</filename> and <filename>opensrf.xml</filename> by copying the new example files \r
-                               (<filename>/openils/conf/opensrf_core.xml.example</filename> and <filename>/openils/conf/opensrf.xml</filename>).</para>\r
-                               <indexterm><primary>configuration files</primary><secondary>opensrf.xml</secondary></indexterm>\r
-                               <screen><userinput>cp /openils/conf/opensrf_core.xml.example /openils/conf/opensrf_core.xml</userinput></screen>\r
-                               <indexterm><primary>configuration files</primary><secondary>opensrf_core.xml</secondary></indexterm>\r
-                               <screen><userinput>cp /openils/conf/opensrf.xml.example /openils/conf/opensrf.xml</userinput></screen>\r
-                               <caution><para>Copying these configuration files will remove any customizations you have made to them. Remember to redo your customizations after copying \r
-                               them.</para></caution>\r
-                       </step>\r
-                       <step>\r
-                               <substeps>\r
-                                       <title>Update Apache Files</title>\r
-                                       <caution>\r
-                                               <para>Copying these Apache configuration files will remove any customizations you have made to them. Remember to redo \r
-                                               your customizations after copying them. For example, if you purchased an SSL certificate, you \r
-                                               will need to edit <filename>eg.conf</filename> to point to the appropriate SSL certificate files.</para>\r
-                                               <indexterm><primary>SSL</primary><secondary>certificates</secondary></indexterm>\r
-                                       </caution> \r
-                                       <step>\r
-                                               <para>Update <filename>/etc/apache2/startup.pl</filename> by copying the example from \r
-                                               <filename>Open-ILS/examples/apache/startup.pl</filename>.\r
-                                               </para><indexterm><primary>configuration files</primary><secondary>startup.pl</secondary></indexterm>\r
-                                       </step>\r
-               \r
-                                       <step>\r
-                                               <para>Update /etc/apache2/eg_vhost.conf by copying the example from \r
-                                               Open-ILS/examples/apache/eg_vhost.conf.</para><indexterm><primary>configuration files</primary><secondary>eg_vhost.conf\r
-                                               </secondary></indexterm>\r
-                                       </step>\r
-                                       <step>\r
-                                       <para>Update <filename>/etc/apache2/sites-available/eg.conf</filename> by copying the example from <filename>Open-ILS/\r
-                                       examples/apache/eg.conf</filename>.</para><indexterm><primary>configuration files</primary><secondary>eg.conf</secondary></indexterm>\r
-                                       </step>\r
-                               </substeps>\r
-                       </step>\r
-                       <step>\r
-                               <para>Update <filename>opensrf.xml</filename> with the database connection info:</para>\r
-                               <para>If you are happy with the default settings in opensrf.xml.example, then:</para>\r
-<screen><userinput>\r
-cp -b /openils/conf/opensrf.xml.example /openils/conf/opensrf.xml\r
-perl Open-ILS/src/support-scripts/eg_db_config.pl --update-config --service all \\r
-  --database evergreen --host localhost --user evergreen --password evergreen\r
-</userinput></screen>\r
-                               <para>Otherwise, compare /openils/conf/opensrf.xml with /openils/conf/opensrf.xml and manually copy the new pieces into place \r
-                               in your existing opensrf.xml file</para>\r
-                       </step>\r
-                       <step>\r
-                               <para>As of Evergreen 2.1.1, the Perl modules are installed in the normal location on the system. To avoid conflicting versions, get the old versions of                                        Perl modules out of your PERL5LIB path. Issue the following command as the opensrf user:</para>\r
-<screen><userinput>\r
-mv /openils/lib/perl5 /openils/lib/perl5-2.0\r
-</userinput></screen>\r
-                       </step>\r
-               \r
-               </procedure>    \r
-       <simplesect xml:id="testing_after_upgrade">\r
-               <title>Restart Evergreen and Test</title>\r
-               <procedure>\r
-                       <step>\r
-                               <para>As the <systemitem class="username">opensrf</systemitem> user, start all \r
-                               <application>Evergreen</application> and <application>OpenSRF</application> \r
-                               services:</para>\r
-                               <screen><userinput>osrf_ctl.sh -l -a start_all</userinput></screen>\r
-                       </step>\r
-                       <step>\r
-                               <para>As the <systemitem class="username">opensrf</systemitem> user, run <command>autogen</command> to refresh the static \r
-                               organizational data files:</para><indexterm><primary>autogen</primary></indexterm>\r
-<screen><userinput>\r
-cd /openils/bin\r
-./autogen.sh -c /openils/conf/opensrf_core.xml -u\r
-</userinput></screen>\r
-                                       \r
-                       </step>\r
-                       <step>\r
-                               <para>Start <command>srfsh</command> and try logging in  using your <application>Evergreen</application>\r
-                               username and password:</para>\r
-<screen>\r
-<userinput>/openils/bin/srfsh</userinput>\r
-<prompt>srfsh%</prompt> <userinput>login <option>username</option> <option>password</option></userinput>\r
-</screen> \r
-                       </step> \r
-                       <step>\r
-                               <para>Start the <application>Apache</application> web server.</para>\r
-                       </step>\r
-               </procedure>\r
-               <note>\r
-                       <para>If you encounter errors, refer to the <link linkend="troubleshooting">troubleshooting \r
-                       section</link> of this documentation for tips \r
-                       on finding solutions and seeking further assistance from the Evergreen community.</para>  \r
-               </note>\r
-       </simplesect>\r
-</chapter>\r