From d5ddbbd9e154898f526c81fff448f19b89761c5f Mon Sep 17 00:00:00 2001 From: Steve Sheppard Date: Sat, 11 Sep 2010 23:24:45 -0400 Subject: [PATCH] total review to use proper semantic markup to replace overuse of tags; --- 1.6/admin/ServersideInstallation.xml | 1522 +++++++++++++------------- 1 file changed, 746 insertions(+), 776 deletions(-) diff --git a/1.6/admin/ServersideInstallation.xml b/1.6/admin/ServersideInstallation.xml index 04ef2740bf..ac1e5ce754 100644 --- a/1.6/admin/ServersideInstallation.xml +++ b/1.6/admin/ServersideInstallation.xml @@ -8,14 +8,10 @@
Overview - Installing, configuring and testing the Evergreen server-side software is straightforward with the current stable software release. See the section "Installation of Server-Side Software" for instructions tailored to installing on some particular distributions of the Linux operating system. Earlier software distributions are described in the section "Installing Previous Versions of Evergreen". - The current version of the Evergreen server-side software runs as a native application on any of several well-known Linux distributions (e.g., Ubuntu and Debian). It does not currently run as a native application on the Windows operating system (e.g., WindowsXP, WindowsXP Professional, Windows7), but the software can still be installed and run on Windows via a so-called virtualized Unix-guest Operating System (using, for example, VirtualBox, or VMware, or VirtualPC to emulate a Linux environment). It can also be installed to run on other Linux systems via virtualized environments (using, for example, VirtualBox or VMware). More information on virtualized environments can be found in the section "Installing Evergreen in Virtualized Unix Environments". - Installation of some sub-components of the Evergreen server-side software is mentioned only in abbreviated form in this section. More detailed information is available in the accompanying sections: -"Installing PostgreSQL", -"Apache" and -"memcached Servers". - - Finally, installation of the Evergreen Staff Client software is reviewed in the section "Installing the Evergreen Staff Client". + Installing, configuring and testing the Evergreen server-side software is straightforward with the current stable software release. See for instructions tailored to installing on some particular distributions of the Linux operating system. Earlier software distributions are described in . + The current version of the Evergreen server-side software runs as a native application on any of several well-known Linux distributions (e.g., Ubuntu and Debian). It does not currently run as a native application on the Microsoft Windows operating system (e.g., WindowsXP, WindowsXP Professional, Windows7), but the software can still be installed and run on Windows via a so-called virtualized Unix-guest Operating System (using, for example, VirtualBox, or VMware, or VirtualPC to emulate a Linux environment). It can also be installed to run on other Linux systems via virtualized environments (using, for example, VirtualBox or VMware). More information on virtualized environments can be found in . + Installation of some sub-components of the Evergreen server-side software is mentioned only in abbreviated form in this section. More detailed information is available in and . + Finally, installation of the Evergreen Staff Client software is reviewed in .
Evergreen Software Dependencies The Evergreen server-side software has dependencies on particular versions of certain major software sub-components. Successful installation of Evergreen software requires that software versions agree with those listed here: @@ -51,40 +47,39 @@
Current Stable Software Release - The current stable release of Evergreen is version 1.6.0.7. Instructions for installing, configuring and testing that version on the Ubuntu or Debian Linux systems are found in the section "Installing Evergreen on Ubuntu or Debian" . - - This release of Evergreen software is dependent on the Open Service Request Framework (OpenSRF). The current stable release of OpenSRF is version 1.2.2. Instructions for installing, configuring and testing that version are found in the section "Installing OpenSRF On Ubuntu or Debian" . + The current stable release of Evergreen is version 1.6.0.7. Instructions for installing, configuring and testing that version on the Ubuntu or Debian Linux systems are found in . + This release of Evergreen software is dependent on the Open Service Request Framework (OpenSRF). The current stable release of OpenSRF is version 1.2.2. Instructions for installing, configuring and testing that version are found in .
Previous Software Releases - Earlier releases of Evergreen are also available. Instructions for installing, configuring and testing earlier versions are found in the section "Installing Previous Versions of Evergreen" . - The next most recent previous release of Evergreen is version 1.4.0.6. Instructions for installing, configuring and testing that version are found in the section "Installing Evergreen 1.4.0.6 on Ubuntu or Debian" . - The accompanying previous release of OpenSRF is version 1.0.x. Instructions for installing, configuring and testing that version are found in the section "Installing OpenSRF 1.0.x" . + Earlier releases of Evergreen are also available. Instructions for installing, configuring and testing earlier versions are found in . + The next most recent previous release of Evergreen is version 1.4.0.6. Instructions for installing, configuring and testing that version are found in . + The accompanying previous release of OpenSRF is version 1.0.x. Instructions for installing, configuring and testing that version are found in .
Installing Server-Side Software This section describes the installation of the major components of Evergreen server-side software. - As far as possible, you should perform the following steps in the exact order given since the success of many steps relies on the successful completion of earlier steps. You should make backup copies of files and environments when you are instructed to do so. In the event of installation problems those copies can allow you to back out of a step gracefully and resume the installation from a known state. See the section on "Backing Up" for further information. + As far as possible, you should perform the following steps in the exact order given since the success of many steps relies on the successful completion of earlier steps. You should make backup copies of files and environments when you are instructed to do so. In the event of installation problems those copies can allow you to back out of a step gracefully and resume the installation from a known state. See for further information. Of course, after you successfully complete and test the entire Evergreen installation you should take a final snapshot backup of your system(s). This can be the first in the series of regularly scheduled system backups that you should probably also begin.
- Installing OpenSRF 1.2.x On Ubuntu or Debian - This section describes the installation of the latest version of the Open Service Request Framework (OpenSRF), a major component of the Evergreen server-side software, on Ubuntu or Debian systems. Evergreen software is integrated with and depends on the OpenSRF software system. + Installing OpenSRF 1.2.x On <systemitem class="osname">Ubuntu</systemitem> or <systemitem class="osname">Debian</systemitem> + This section describes the installation of the latest version of the Open Service Request Framework (OpenSRF), a major component of the Evergreen server-side software, on Ubuntu or Debian systems. Evergreen software is integrated with and depends on the OpenSRF software system. Follow the steps outlined here and run the specified tests to ensure that OpenSRF is properly installed and configured. Do not continue with any further Evergreen installation steps until you have verified that OpenSRF has been successfully installed. - The following steps have been tested on the x86 (32-bit) and x86-64 (64-bit) platforms. OpenSRF 1.2.0 has been tested on Debian Etch (4.0), Debian Lenny, Ubuntu Hardy Heron (8.04), and Ubuntu Intrepid Ibex (8.10). - In the following instructions, you are asked to perform certain steps as either the root user, the opensrf user, or the postgres user. + The following steps have been tested on the x86 (32-bit) and x86-64 (64-bit) platforms. OpenSRF 1.2.2 has been tested on Debian Etch (4.0), Debian Lenny, Ubuntu Hardy Heron (8.04), and Ubuntu Intrepid Ibex (8.10). + In the following instructions, you are asked to perform certain steps as either the root user, the opensrf user, or the postgres user. - Debian -- To become the root user, issue the command "su -" and enter the password of the root user. - Ubuntu -- To become the root user, issue the command "sudo su -" and enter the password of your current user. + Debian -- To become the root user, issue the command su - and enter the password of the root user. + Ubuntu -- To become the root user, issue the command sudo su - and enter the password of the root user. - To switch from the root user to a different user, issue the command "su - USERNAME". For example, to switch from the root user to the opensrf user, issue the command "su - opensrf". Once you have become a non-root user, to become the root user again, simply issue the command "exit". + To switch from the root user to a different user, issue the command su - USERNAME. For example, to switch from the root user to the opensrf user, issue the command su - opensrf. Once you have become a non-root user, to become the root user again, simply issue the command exit".
Add the OpenSRF User - As the root user, add the opensrf user to the system. The default shell for the new user is automatically set to /bin/bash to inherit a reasonable environment: + As the root user, add the opensrf user to the system. The default shell for the new user is automatically set to /bin/bash to inherit a reasonable environment:
- Commands to add "opensrf" user + Commands to add <systemitem class="username">opensrf</systemitem> user $ su - opensrf $ useradd -m -s /bin/bash opensrf @@ -98,7 +93,7 @@
Download and Unpack Latest OpenSRF Version - As the opensrf user, download and extract the latest version of OpenSRF. The latest version can be found here: + As the opensrf user, download and extract the latest version of OpenSRF. The latest version can be found here:
Commands to download and unpack OpenSRF @@ -107,23 +102,23 @@ $ tar zxf OpenSRF-1.2.2.tar.gz
- The new directory /home/opensrf/OpenSRF-1.2.2 will be created. + The new directory /home/opensrf/OpenSRF-1.2.2 will be created.
Install Prerequisites to Build OpenSRF - In this section you will install and configure a set of prerequisites that will be used to build OpenSRF. In a following step you will actually build the software using the make utility. - As the root user, enter the commands show below to build the prerequisites from the software distribution that you just downloaded and unpacked. Remember to replace [distribution] in the example with the keyword corresponding to the actual Linux distribution listed in the "Keywords" figure below. + In this section you will install and configure a set of prerequisites that will be used to build OpenSRF. In a following step you will actually build the software using the make utility. + As the root user, enter the commands show below to build the prerequisites from the software distribution that you just downloaded and unpacked. Remember to replace [DISTRIBUTION] in the example with the keyword corresponding to the actual Linux distribution listed in the "Keywords" figure below.
Commands to install prerequisites for OpenSRF $ su - root $ cd /home/opensrf/OpenSRF-1.2.2 - $ make -f src/extras/Makefile.install [distribution] + $ make -f src/extras/Makefile.install [DISTRIBUTION] ...
- Keywords Targets for "make" + Keywords Targets for <application>make</application> @@ -161,12 +156,12 @@ ZZZ-REVIEW ADD INFO FOR OTHER LINUX DISTRIBUTIONS - ADD INFO FOR OTHER LINUX DISTRIBUTIONS - This will install a number of packages on the system that are required by OpenSRF, including some Perl modules from CPAN. You can say "no" to the initial CPAN configuration prompt to allow it to automatically configure itself to download and install Perl modules from CPAN. The CPAN installer will ask you a number of times whether it should install prerequisite modules - say "yes". + ADD INFO FOR OTHER LINUX DISTRIBUTIONS + This will install a number of packages on the system that are required by OpenSRF, including some Perl modules from CPAN. You can say No to the initial CPAN configuration prompt to allow it to automatically configure itself to download and install Perl modules from CPAN. The CPAN installer will ask you a number of times whether it should install prerequisite modules - say Yes.
Configure OpenSRF - As the opensrf user, return to the OpenSRF build directory and use the utility "configure" to prepare for the next step of compiling and linking the software. You can include the --enable-python and --enable-java configuration options if you wish to include support for Python and Java, respectively: + As the opensrf user, return to the OpenSRF build directory and use the configure utility to prepare for the next step of compiling and linking the software. You can include the and configuration options if you wish to include support for Python and Java, respectively:
Commands to configure OpenSRF @@ -180,7 +175,7 @@
Compile, Link and Install OpenSRF - As the root user, return to the OpenSRF build directory and use the make command to compile, link and install OpenSRF: + As the root user, return to the OpenSRF build directory and use the make utility to compile, link and install OpenSRF:
Commands to build, link and install OpenSRF @@ -193,7 +188,7 @@
Update the System Dynamic Library Path - As the root user, you must update the system dynamic library path to make your system recognize the newly installed libraries. Do this by creating a new file named /etc/ld.so.conf.d/osrf.conf containing a new library path, then run the command ldconfig to automatically read the file and modify the system dynamic library path: + As the root user, you must update the system dynamic library path to make your system recognize the newly installed libraries. Do this by creating the new file /etc/ld.so.conf.d/osrf.conf containing a new library path, then run the command ldconfig to automatically read the file and modify the system dynamic library path:
Commands to modify system dynamic library path @@ -205,8 +200,8 @@
Define Public and Private OpenSRF Domains - Define your public and private OpenSRF domains. For security purposes, OpenSRF uses Jabber domains to separate services into public and private realms. Throughout these instructions, we will use the example domains public.localhost for the public domain and private.localhost for the private domain. On a single-server system, the easiest way to define public and private domains is to define separate hostnames by adding entries to the file /etc/hosts. - As the root user, edit the file /etc/hosts and add the following entries for our example domains: + Define your public and private OpenSRF domains. For security purposes, OpenSRF uses Jabber domains to separate services into public and private realms. Throughout these instructions, we will use the example domains public.localhost for the public domain and private.localhost for the private domain. On a single-server system, the easiest way to define public and private domains is to define separate hostnames by adding entries to the file /etc/hosts. + As the root user, edit the file /etc/hosts and add the following entries for our example domains:
Example public and private domains in /etc/hosts @@ -217,7 +212,7 @@
Change File Ownerships - As the root user, change the ownership of files installed in the directory /openils to the user "opensrf": + As the root user, change the ownership of files installed in the directory /openils to the opensrf user:
Commands to change file ownerships @@ -226,17 +221,17 @@
- Stop the "ejabberd" Service - As the root user, stop the "ejabberd" service: + Stop the <systemitem class="service">ejabberd</systemitem> Service + As the root user, stop the ejabberd service:
- Commands to stop the "ejabberd" service + Commands to stop the <systemitem class="service">ejabberd</systemitem> service $ /etc/init.d/ejabberd stop
- If "ejabberd" reports that it is already stopped, it may have run into a problem starting back at the installation stage. One possible fix is to kill any remaining beam and epmd processes, then edit the ejabberd configuration file to hardcode a domain: + If ejabberd reports that it is already stopped, it may have run into a problem starting back at the installation stage. One possible fix is to kill any remaining beam and epmd processes, then edit the configuration file /etc/ejabberd/ejabberd.cfg to hardcode a domain:
- Commands to recover from "ejabberd" error + Commands to recover from <systemitem class="service">ejabberd</systemitem> errors $ su - root $ epmd -kill @@ -247,50 +242,50 @@
- Edit the "ejabberd" configuration - As the root user, edit the file /etc/ejabberd/ejabberd.cfg and make the following changes: + Edit the <systemitem class="service">ejabberd</systemitem> configuration + As the root user, edit the file /etc/ejabberd/ejabberd.cfg and make the following changes: - Change {hosts, ["localhost"]}. to {hosts, ["localhost", "private.localhost", "public.localhost"]}. - Change {max_user_sessions, 10}. to {max_user_sessions, 10000}. If you see something like this instead: {access, max_user_sessions, [{10, all}]}., then change it to {access, max_user_sessions, [{10000, all}]}. - Change all three occurrences of max_stanza_size to 2000000. - Change both occurrences of maxrate to 500000. - Comment out the line {mod_offline, []} by placing two % comment signs in front. + Change {hosts, ["localhost"]}. to {hosts, ["localhost", "private.localhost", "public.localhost"]}. + Change {max_user_sessions, 10}. to {max_user_sessions, 10000}. If you see something like this instead: {access, max_user_sessions, [{10, all}]}., then change it to {access, max_user_sessions, [{10000, all}]}. + Change all three occurrences of max_stanza_size to 2000000. + Change both occurrences of maxrate to 500000. + Comment out the line {mod_offline, []} by placing two % comment signs in front.
- Restart the "ejabberd" service - As the root user, restart the ejabberd service to test the configuration changes and to register your users: + Restart the <systemitem class="service">ejabberd</systemitem> service + As the root user, restart the ejabberd service to test the configuration changes and to register your users:
- Commands to restart the "ejabberd" service + Commands to restart the <systemitem class="service">ejabberd</systemitem> service $ /etc/init.d/ejabberd start
- Register "router" and "ejabberd" users - On each domain, you need two "ejabberd" users to manage the OpenSRF communications: + Register <systemitem class="username">router</systemitem> and <systemitem class="username">ejabberd</systemitem> users + On each domain, you need two ejabberd users to manage the OpenSRF communications: - a "router" user, to whom all requests to connect to an OpenSRF service will be routed; this "ejabberd" user must be named "router" - an "opensrf" user, which clients use to connect to OpenSRF services; this user can be named anything you like, but we will use "opensrf" in our examples + a router user, to whom all requests to connect to an OpenSRF service will be routed; this ejabberd user must be named router + an opensrf user, which clients use to connect to OpenSRF services; this user can be named anything you like, but we will use opensrf in our examples - As the root user, use the utility "ejabberdctl" to register your ejabber users router and opensrf for the OpenSRF router service on each domain. The users should have different passwords on each domain. These users will correspond to those configured in the file /openils/conf/opensrf_core.xml: + As the root user, use the ejabberdctl utility to register your ejabber users router and opensrf for the OpenSRF router service on each domain. The users should have different passwords on each domain. These users will correspond to those configured in the file /openils/conf/opensrf_core.xml:
- Commands to registe "router" and "ejabberd" users - - # Syntax for registering a user with ejabberdctl: - # ejabberdctl register <user> <domain> <password> - # - $ ejabberdctl register router private.localhost <password> - $ ejabberdctl register opensrf private.localhost <password> - $ ejabberdctl register router public.localhost <password> - $ ejabberdctl register opensrf public.localhost <password> - + Commands to register <systemitem class="username">router</systemitem> and <systemitem class="username">ejabberd</systemitem> users + +# +$ ejabberdctl register router private.localhost +$ ejabberdctl register opensrf private.localhost +$ ejabberdctl register router public.localhost +$ ejabberdctl register opensrf public.localhost +]]>
Create configuration files - As the opensrf user, use the example templates to create the configuration files /openils/conf/opensrf_core.xml and /openils/conf/opensrf.xml: + As the opensrf user, use the example templates to create the configuration files /openils/conf/opensrf_core.xml and /openils/conf/opensrf.xml:
Commands to create configuration files @@ -303,14 +298,14 @@
Edit opensrf_core.xml - Edit the file /openils/conf/opensrf_core.xml to change the "ejabberd" usernames and passwords as follows. + Edit the file /openils/conf/opensrf_core.xml to change the ejabberd usernames and passwords as follows. The following example uses common XPath syntax on the left-hand side to indicate the aproximage position needing changes within the XML file.
- Updates needed in the file "/openils/conf/opensrf_core.xml" + Updates needed in the file <filename>/openils/conf/opensrf_core.xml</filename> /config/opensrf/username = opensrf @@ -331,59 +326,57 @@ password = password for "private.localhost" router user
- You also need to specify the domains from which OpenSRF will accept and to which OpenSRF will make connections. If you are installing OpenSRF on a single server and using the "private.localhost" / "public.localhost" domains, these will already be set to the correct values. Otherwise, search and replace to match your values. + You also need to specify the domains from which OpenSRF will accept and to which OpenSRF will make connections. If you are installing OpenSRF on a single server and using the private.localhost / public.localhost domains, these will already be set to the correct values. Otherwise, search and replace to match your values.
- Modify the file "opensrf.xml" - Modify the file /openils/conf/opensrf.xml. - As the opensrf user, edit the file to set the location of the persistent database in the <dbfile> element near the end of the file: + Modify the file <filename>opensrf.xml</filename> + As the opensrf user, edit the file /openils/conf/opensrf.xml to set the location of the persistent database in the dbfile element near the end of the file:
- Example of the file "opensrf.xml" - - <!-- Example of an app-specific setting override --> - <opensrf.persist> - <app_settings> - <dbfile>/tmp/persist.db</dbfile> - </app_settings> - </opensrf.persist> - + Example of the file <filename>opensrf.xml</filename> + + + + /tmp/persist.db + + +]]>
- Create Configuration Files for Users Needing srfsh - In this section you will set up a special configuration file for each user who will need to run the srfsh (surf shell) utility. - The software installation will automatically create srfsh. This is a command line diagnostic tool for testing and interacting with the OpenSRF network software. It will be used in a future step to complete and test the Evergreen installation. See the section "Testing the Installation" for further information. - As the root user, copy the short sample configuration file /openils/conf/srfsh.xml.example to the file .srfsh.xml (note the leading dot!) in the home directory of each user who will use srfsh. Finally, edit each file .srfsh.xml and make the following changes. When you finish, remember to change the owner of the file to match the owner of the home directory. + Create Configuration Files for Users Needing <application>srfsh</application> + In this section you will set up a special configuration file for each user who will need to run the srfsh (pronounced surf shell) utility. + The software installation will automatically create srfsh. This is a command line diagnostic tool for testing and interacting with the OpenSRF network software. It will be used in a future step to complete and test the Evergreen installation. See for further information. + As the root user, copy the short sample configuration file /openils/conf/srfsh.xml.example to the file .srfsh.xml (note the leading dot!) in the home directory of each user who will use srfsh. Finally, edit each file .srfsh.xml and make the following changes. When you finish, remember to change the owner of the file to match the owner of the home directory. - Modify domain to be the router hostname (following our domain examples, private.localhost will give srfsh access to all OpenSRF services, while public.localhost will only allow access to those OpenSRF services that are publicly exposed). - Modify username and password to match the opensrf Jabber user for the chosen domain - Modify logfile to be the full path for a log file to which the user has write access - Modify loglevel as needed for testing + Modify domain to be the router hostname (following our domain examples, private.localhost will give srfsh access to all OpenSRF services, while public.localhost will only allow access to those OpenSRF services that are publicly exposed). + Modify username and password to match the opensrf Jabber user for the chosen domain + Modify logfile to be the full path for a log file to which the user has write access + Modify loglevel as needed for testing
- Example of the file "/openils/conf/srfsh.xml.example" - - <?xml version="1.0"?> - <!-- This file follows the standard bootstrap config file layout --> - <!-- found in opensrf_core.xml --> - <srfsh> - <router_name>router</router_name> - <domain>private.localhost</domain> - <username>opensrf</username> - <passwd>privsrf</passwd> - <port>5222</port> - <logfile>/tmp/srfsh.log</logfile> - <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug, 5 Internal (Nasty) --> - <loglevel>4</loglevel> - </srfsh> - + Example of the file <filename>/openils/conf/srfsh.xml.example</filename> + + + + +router +private.localhost +opensrf +privsrf +5222 +/tmp/srfsh.log + +4 +]]>
- Modify Environmental Variable PATH for "opensrf" User - As the opensrf user, modify the environmental variable PATH by adding a new file path to the opensrf user's shell configuration file .bashrc: + Modify Environmental Variable PATH for <systemitem class="username">opensrf</systemitem> User + As the opensrf user, modify the environmental variable PATH by adding a new file path to the opensrf user's shell configuration file .bashrc:
- Commands to add path to ".bashrc" configuration file + Commands to add path to <filename>.bashrc</filename> configuration file $ su - opensrf $ echo "export PATH=/openils/bin:\$PATH" >> ~/.bashrc @@ -392,9 +385,9 @@
Starting OpenSRF - As the root user, start the "ejabberd" and "memcached" services: + As the root user, start the ejabberd and memcached services:
- Commands to start "ejabberd" and "memcached" services + Commands to start <systemitem class="service">ejabberd</systemitem> and <systemitem class="service">memcached</systemitem> services $ su - root $ /etc/init.d/ejabberd start @@ -402,7 +395,7 @@
- Finally, as the opensrf user, start OpenSRF: + Finally, as the opensrf user, start OpenSRF:
Commands to start OpenSRF @@ -418,15 +411,15 @@
- You can also start Evergreen without the -l flag, but osrf_ctl.sh must know the fully qualified domain name for the system on which it will execute. That hostname may have been specified in the configuration file opensrf.xml, which you configured in a previous step. + You can also start Evergreen without the -l flag, but osrf_ctl.sh must know the fully qualified domain name for the system on which it will execute. That hostname may have been specified in the configuration file opensrf.xml, which you configured in a previous step.
Testing connections to OpenSRF - Once you have installed and started OpenSRF, as the root user, test your connection to OpenSRF using the utility srfsh and trying to call the add method on the OpenSRF "math" service: + Once you have installed and started OpenSRF, as the root user, test your connection to OpenSRF using the srfsh utility and trying to call the add method on the OpenSRF math service:
- Commands to test OpenSRF with "srfsh" + Commands to test OpenSRF with <application>srfsh</application> $ su - opensrf $ /openils/bin/srfsh @@ -443,12 +436,12 @@ ZZZ-REVIEW VERIFY THIS TEST - VERIFY THIS TEST - For other srfsh commands, type 'help' in at the prompt. + VERIFY THIS TEST + For other srfsh commands, type help in at the prompt.
Stopping OpenSRF - As the opensrf user, stop OpenSRF: + As the opensrf user, stop OpenSRF:
Commands to stop OpenSRF @@ -459,26 +452,26 @@
- Installing Evergreen 1.6.x.x On Ubuntu or Debian + Installing Evergreen 1.6.x.x On <systemitem class="osname">Ubuntu</systemitem> or <systemitem class="osname">Debian</systemitem> This section outlines the installation process for the latest stable version of Evergreen. In this section you will download, unpack, install, configure and test the Evergreen system, including the Evergreen server and the PostgreSQL database system. You will make several configuration changes and adjustments to the software, including updates to configure the system for your own locale, and some updates needed to work around a few known issues. The following steps have been tested on the x86 (32-bit) and x86-64 (64-bit) architectures. There may be differences between the Desktop and Server editions of Ubuntu. These instructions assume the Server edition. - In the following instructions, you are asked to perform certain steps as either the root user, the opensrf user, or the postgres user. + In the following instructions, you are asked to perform certain steps as either the root user, the opensrf user, or the postgres user. - Debian -- To become the root user, issue the command "su -" and enter the password of the root user. - Ubuntu -- To become the root user, issue the command "sudo su -" and enter the password of your current user. + Debian -- To become the root user, issue the command su - and enter the password of the root user. + Ubuntu -- To become the root user, issue the command sudo su - and enter the password of the root user. - To switch from the root user to a different user, issue the command "su - USERNAME". For example, to switch from the root user to the opensrf user, issue the command "su - opensrf". Once you have become a non-root user, to become the root user again, simply issue the command "exit". + To switch from the root user to a different user, issue the command su - USERNAME. For example, to switch from the root user to the opensrf user, issue the command su - opensrf. Once you have become a non-root user, to become the root user again, simply issue the command exit.
Installing OpenSRF - Evergreen software is integrated with and depends on the Open Service Request Framework (OpenSRF) software system. For further information on installing, configuring and testing OpenSRF, see the section "Installing OpenSRF". + Evergreen software is integrated with and depends on the Open Service Request Framework (OpenSRF) software system. For further information on installing, configuring and testing OpenSRF, see . Follow the steps outlined in that section and run the specified tests to ensure that OpenSRF is properly installed and configured. Do not continue with any further Evergreen installation steps until you have verified that OpenSRF has been successfully installed.
Download and Unpack Latest Evergreen Version - As the opensrf user, download and extract the latest version of Evergreen. The latest version can be found here: + As the opensrf user, download and extract the latest version of Evergreen. The latest version can be found here:
Commands to download and unpack Evergreen @@ -487,12 +480,12 @@ $ tar zxf Evergreen-ILS-1.6.0.7.tar.gz
- The new directory /home/opensrf/Evergreen-ILS-1.6.0.7 will be created. + The new directory /home/opensrf/Evergreen-ILS-1.6.0.7 will be created.
Install Prerequisites to Build Evergreen - In this section you will install and configure a set of prerequisites that will be used to build Evergreen. In a following step you will actually build the software using the make utility. - As the root user, enter the commands show below to build the prerequisites from the software distribution that you just downloaded and unpacked. Remember to replace [distribution] in the example with the keyword corresponding to the actual Linux distribution listed in the "Keywords" figure below. + In this section you will install and configure a set of prerequisites that will be used to build Evergreen. In a following step you will actually build the software using the make utility. + As the root user, enter the commands show below to build the prerequisites from the software distribution that you just downloaded and unpacked. Remember to replace [distribution] in the example with the keyword corresponding to the actual Linux distribution listed in the "Keywords" figure below.
Commands to install prerequisites for Evergreen @@ -503,7 +496,7 @@
- Keywords Targets for "make" + Keywords Targets for <application>make</application> @@ -557,13 +550,13 @@ ZZZ-REVIEW ADD INFO FOR OTHER LINUX DISTRIBUTIONS - ADD INFO FOR OTHER LINUX DISTRIBUTIONS + ADD INFO FOR OTHER LINUX DISTRIBUTIONS
(OPTIONAL) Install the PostgreSQL Server Since the PostgreSQL server is usually a standalone server in multi-server production systems, the prerequisite installer Makefile in the previous step does not automatically install PostgreSQL. If your PostgreSQL server is on a different system, just skip this step. - For further information on installing PostgreSQL, see the section "Installing PostgreSQL". - If your PostgreSQL server will be on the same system as your Evergreen software, then as the root user install the required PostgreSQL server packages: + For further information on installing PostgreSQL, see . + If your PostgreSQL server will be on the same system as your Evergreen software, then as the root user install the required PostgreSQL server packages:
Commands to install the PostgreSQL server @@ -587,17 +580,17 @@ ZZZ-REVIEW VERIFY: IS THIS STILL TRUE? - VERIFY: IS THIS STILL TRUE? + VERIFY: IS THIS STILL TRUE? ZZZ-REVIEW ADD INFO ON HOW TO DETERMINE WHICH VERSION OF POSTGRESQL YOU HAVE - ADD INFO ON HOW TO DETERMINE WHICH VERSION OF POSTGRESQL YOU HAVE + ADD INFO ON HOW TO DETERMINE WHICH VERSION OF POSTGRESQL YOU HAVE
(OPTIONAL) Install Perl Modules on PostgreSQL Server If PostgreSQL is running on the same system as your Evergreen software, then the Perl modules will automatically be available. Just skip this step. - Otherwise, if your PostgreSQL server is running on another system, then as the root user install the following Perl modules on that system: + Otherwise, if your PostgreSQL server is running on another system, then as the root user install the following Perl modules on that system:
Commands to install Perl modules @@ -616,16 +609,16 @@ ZZZ-REVIEW ADD INFO ON HOW TO INSTALL THE PERL MODULES - ADD INFO ON HOW TO INSTALL THE PERL MODULES + ADD INFO ON HOW TO INSTALL THE PERL MODULES ZZZ-REVIEW ADD INFO ON HOW TO VERIFY THAT THE PERL MODULES ARE INSTALLED - ADD INFO ON HOW TO VERIFY THAT THE PERL MODULES ARE INSTALLED + ADD INFO ON HOW TO VERIFY THAT THE PERL MODULES ARE INSTALLED
Update the System Dynamic Library Path - As the root user, you must update the system dynamic library path to make your system recognize the newly installed libraries. Do this by creating a new file named /etc/ld.so.conf.d/eg.conf containing two new library paths, then run the command ldconfig to automatically read the file and modify the system dynamic library path: + As the root user, you must update the system dynamic library path to make your system recognize the newly installed libraries. Do this by creating the new file /etc/ld.so.conf.d/eg.conf containing two new library paths, then run the command ldconfig to automatically read the file and modify the system dynamic library path:
Commands to modify system dynamic library path @@ -639,25 +632,25 @@
- (OPTIONAL) Restart the PostgreSQL Service - If PostgreSQL is running on the same system as the rest of Evergreen, as the root user you must restart the PostgreSQL service to avoid a problem where the library plperl.so cannot be found. If your PostgreSQL server is running on another system, just skip this step. + (OPTIONAL) Restart the PostgreSQL Server + If PostgreSQL is running on the same system as the rest of Evergreen, as the root user you must restart the PostgreSQL server to avoid a problem where the library plperl.so cannot be found. If your PostgreSQL server is running on another system, just skip this step. ZZZ-REVIEW ADD INFO ON OTHER VERSIONS OF POSTGRESQL - ADD INFO ON OTHER VERSIONS OF POSTGRESQL + ADD INFO ON OTHER VERSIONS OF POSTGRESQL
- Commands to restart PostgreSQL service + Commands to restart PostgreSQL server $ su - root $ /etc/init.d/postgresql-PGSQL_VERSION restart
- Where "PGSQL_VERSION" is your installed PostgreSQL version (e.g. "8.3"). + Where PGSQL_VERSION is your installed PostgreSQL version (e.g. 8.3).
Configure Evergreen - As the opensrf user, return to the Evergreen build directory and use the utility "configure" to prepare for the next step of compiling and linking the software: + As the opensrf user, return to the Evergreen build directory and use the configure utility to prepare for the next step of compiling and linking the software:
Commands to configure Evergreen @@ -672,8 +665,8 @@
Compile, Link and Install Evergreen In this step you will actually compile, link and install Evergreen and the default Evergreen Staff Client. - As the root user, return to the Evergreen build directory and use the make command as shown below. The Staff Client will also be automatically built, but you must remember to set the variable STAFF_CLIENT_BUILD_ID to match the version of the Staff Client you will use to connect to the Evergreen server. - For further information on manually building the Staff Client, see the section "Building and Installing the Evergreen Staff Client". + As the root user, return to the Evergreen build directory and use the make utility as shown below. The Staff Client will also be automatically built, but you must remember to set the variable STAFF_CLIENT_BUILD_ID to match the version of the Staff Client you will use to connect to the Evergreen server. + For further information on manually building the Staff Client, see .
Commands to build, link and install Evergreen @@ -682,9 +675,9 @@ $ make STAFF_CLIENT_BUILD_ID=rel_1_6_0_7 install ... - The above commands will create a new subdirectory /openils/var/web/xul/rel_1_6_0_7 containing the Staff Client. + The above commands will create a new subdirectory /openils/var/web/xul/rel_1_6_0_7 containing the Staff Client.
- To complete the Staff Client installation, as the root user create a symbolic link named server in the head of the Staff Client directory /openils/var/web/xul that points to the /server subdirectory of the new Staff Client build: + To complete the Staff Client installation, as the root user create a symbolic link named server in the head of the Staff Client directory /openils/var/web/xul that points to the subdirectory /server of the new Staff Client build:
Commands to create symbolic link @@ -696,7 +689,7 @@
Copy the OpenSRF Configuration Files - As the root user, copy the example OpenSRF configuration files into place. This replaces the configuration files that you set up in a previous step when you installed and tested OpenSRF. You should also create backup copies of the old files for troubleshooting purposes. Finally, change the ownership on the installed files to the user opensrf: + As the root user, copy the example OpenSRF configuration files into place. This replaces the configuration files that you set up in a previous step when you installed and tested OpenSRF. You should also create backup copies of the old files for troubleshooting purposes. Finally, change the ownership on the installed files to the opensrf user:
Commands to copy OpenSRF configuration files @@ -710,14 +703,14 @@
Create and Configure PostgreSQL Database - As the postgres user on your PostgreSQL server, create the Evergreen database. - In the commands below, remember to adjust the path of the contrib repository to match your PostgreSQL server layout. For example, if you built PostgreSQL from source the path would be /usr/local/share/contrib; if you installed the PostgreSQL 8.3 server packages on Ubuntu 8.04, the path would be /usr/share/postgresql/8.3/contrib/. - - + As the postgres user on your PostgreSQL server, create the Evergreen database. + In the commands below, remember to adjust the path of the contrib repository to match your PostgreSQL server layout. For example, if you built PostgreSQL from source the path would be /usr/local/share/contrib; if you installed the PostgreSQL 8.3 server packages on Ubuntu 8.04, the path would be /usr/share/postgresql/8.3/contrib/. + + Create and configure the database - As the postgres user on the PostgreSQL system create the PostgreSQL database, then set some internal paths: + As the postgres user on the PostgreSQL system create the PostgreSQL database, then set some internal paths:
Commands to create database and adjust the path @@ -734,13 +727,15 @@ $ psql -f /usr/share/postgresql/PGSQL_VERSION/contrib/pgxml.sql evergreen
- Where "PGSQL_VERSION" is your installed PostgreSQL version (e.g. "8.3"). -
- - Create new Evergreen superuser - As the postgres user on the PostgreSQL system, create the new database user evergreen and assign a password: + Where PGSQL_VERSION is your installed PostgreSQL version (e.g. 8.3). + + + + Create new Evergreen superuser + + As the postgres user on the PostgreSQL system, create the new database evergreen user and assign a password:
- Commands to create the "evergreen" user + Commands to create the <systemitem class="username">evergreen</systemitem> user # create superuser 'evergreen' and set the password $ su - postgres @@ -749,13 +744,13 @@ Enter it again: MYNEWPASSWORD
- Where "MYNEWPASSWORD" is the password chosen. -
-
+ Where MYNEWPASSWORD is the password chosen. + +
Create Database Schema - As the root user, create the database schema and configure your system with the corresponding database authentication details for the database user evergreen that you created in the previous step. + As the root user, create the database schema and configure your system with the corresponding database authentication details for the evergreen database user that you created in the previous step. Enter the following commands and replace HOSTNAME, PORT, PASSWORD and DATABASENAME with appropriate values.
Commands to create Evergreen database schema @@ -771,13 +766,13 @@ Where, on most systems, HOSTNAME will be localhost, PORT will be 5432, and PASSWORD and DATABASENAME will be those assigned when PostgreSQL was installed in the previous step. - If you are entering the above command on a single line, do not include the \ (backslash) characters. If you are using the bash shell, these should only be used at the end of a line at a bash prompt to indicate that the command is continued on the next line. + If you are entering the above command on a single line, do not include the \ (backslash) characters. If you are using the bash shell, these should only be used at the end of a line at a bash prompt to indicate that the command is continued on the next line.
Configure the Apache Server - As the root user, configure the Apache server and copy several new configuration files to the Apache server directories: + As the root user, configure the Apache server and copy several new configuration files to the Apache server directories:
Commands to configure the Apache server @@ -797,7 +792,7 @@
Create a Security Certificate (SSL Key) - Use the command openssl to create a new SSL key for your Apache server. For a public production server you should configure or purchase a signed SSL certificate, but for now you can just use a self-signed certificate and accept the warnings in the Staff Client and browser during testing and development: + Use the command openssl to create a new SSL key for your Apache server. For a public production server you should configure or purchase a signed SSL certificate, but for now you can just use a self-signed certificate and accept the warnings in the Staff Client and browser during testing and development:
Commands to create an SSL key @@ -815,68 +810,68 @@ ZZZ-REVIEW ADD INFO ON HOW TO GET A SIGNED SSL CERTIFICATE - ADD INFO ON HOW TO GET A SIGNED SSL CERTIFICATE + ADD INFO ON HOW TO GET A SIGNED SSL CERTIFICATE
Modify the Apache Configuration File - As the root user, edit the Apache configuration file /etc/apache2/sites-available/eg.conf and make the following changes: - - - Comment out the line Allow from 10.0.0.0/8, then uncomment the line Allow from all. + As the root user, edit the Apache configuration file /etc/apache2/sites-available/eg.conf and make the following changes: + + + Comment out the line Allow from 10.0.0.0/8, then uncomment the line Allow from all. This change allows access to your configuration CGI scripts from any workstation on any network. This is only a temporary change to expedite testing and should be removed after you have finished and successfully tested the Evergreen installation. - You must remove these changes after testing is completed. See the section "Post-Installation Chores" for further details on removing this change after the Evergreen installation is complete. + You must remove these changes after testing is completed. See for further details on removing this change after the Evergreen installation is complete. - - - Comment out the line Listen 443 as it conflicts with the same declaration in the configuration file: /etc/apache2/ports.conf. Debian etch users should not do this. + + + Comment out the line Listen 443 as it conflicts with the same declaration in the configuration file: /etc/apache2/ports.conf. Debian Etch users should not do this. ZZZ-REVIEW ADD INFO ON WHY DEBIAN ETCH USERS SHOULD NOT DO THIS - ADD INFO ON WHY DEBIAN ETCH USERS SHOULD NOT DO THIS - - + ADD INFO ON WHY DEBIAN ETCH USERS SHOULD NOT DO THIS + + The following updates are needed to allow the logs to function properly, but it may break other Apache applications on your server. We hope to make this unnecessary in a future Evergreen release. - For the Linux distributions Ubuntu Hardy or Debian Etch, as the root user, edit the Apache configuration file /etc/apache2/apache2.conf and change the user: www-data to the user: opensrf. + For the Linux distributions Ubuntu Hardy or Debian Etch, as the root user, edit the Apache configuration file /etc/apache2/apache2.conf and change the user: www-data to the user: opensrf. - For the Linux distributions Ubuntu Karmic or Ubuntu Lucid or Debian Lenny, as the root user, edit the Apache configuration file /etc/apache2/envvars and change the phrase: export APACHE_RUN_USER=www-data to the phrase: export APACHE_RUN_USER=opensrf. + For the Linux distributions Ubuntu Karmic or Ubuntu Lucid or Debian Lenny, as the root user, edit the Apache configuration file /etc/apache2/envvars and change the phrase: export APACHE_RUN_USER=www-data to the phrase: export APACHE_RUN_USER=opensrf. - - - As the root user, edit the Apache configuration file /etc/apache2/apache2.conf and add the line KeepAliveTimeout 1, or modify an existing line if it already exists. - - + + + As the root user, edit the Apache configuration file /etc/apache2/apache2.conf and add the line KeepAliveTimeout 1, or modify an existing line if it already exists. + +
(OPTIONAL) Performance Modifications for Apache Some further configuration changes to Apache may be necessary for busy systems. These changes increase the number of Apache server processes that are started to support additional browser connections. - - As the root user, edit the Apache configuration file /etc/apache2/apache2.conf, locate and modify the section related to prefork configuration to suit the load on your system. - As the root user, edit the Apache configuration file /etc/apache2/apache2.conf and add the line MaxKeepAliveRequests 100, or modify an existing line if it already exists. -
(OPTIONAL) Example of updates to Apache configuration - <IfModule mpm_prefork_module> - StartServers 20 - MinSpareServers 5 - MaxSpareServers 15 - MaxClients 150 - MaxRequestsPerChild 10000 - </IfModule> - MaxKeepAliveRequests 100 -
-
+ + As the root user, edit the Apache configuration file /etc/apache2/apache2.conf, locate and modify the section related to prefork configuration to suit the load on your system. + As the root user, edit the Apache configuration file /etc/apache2/apache2.conf and add the line MaxKeepAliveRequests 100, or modify an existing line if it already exists. +
(OPTIONAL) Example of updates to Apache configuration + StartServers 20 + MinSpareServers 5 + MaxSpareServers 15 + MaxClients 150 + MaxRequestsPerChild 10000 + +MaxKeepAliveRequests 100 +]]>
+
Enable the Evergreen Site - As the root user, execute the following Apache configuration commands to disable the default "It Works" web page and to enable the Evergreen web site: + As the root user, execute the following Apache configuration commands to disable the default It Works web page and to enable the Evergreen web site:
Commands to enable the Evergreen Web Site @@ -892,8 +887,8 @@
Modify the OpenSRF Configuration File - As the opensrf user, edit the OpenSRF configuration file /openils/conf/opensrf_core.xml to update the Jabber usernames and passwords, and to specify the domain from which we will accept and to which we will make connections. - If you are installing Evergreen on a single server and using the private.localhost / public.localhost domains, these will already be set to the correct values. Otherwise, search and replace to match your customized values. + As the opensrf user, edit the OpenSRF configuration file /openils/conf/opensrf_core.xml to update the Jabber usernames and passwords, and to specify the domain from which we will accept and to which we will make connections. + If you are installing Evergreen on a single server and using the private.localhost / public.localhost domains, these will already be set to the correct values. Otherwise, search and replace to match your customized values. The following example uses common XPath syntax on the left-hand side to indicate the approximate position needing changes within the XML file: @@ -903,9 +898,9 @@ ZZZ-REVIEW ADD A BETTER DIAGRAM HERE - ADD A BETTER DIAGRAM HERE + ADD A BETTER DIAGRAM HERE
- Updates needed in the file "/openils/conf/opensrf_core.xml" + Updates needed in the file <filename>/openils/conf/opensrf_core.xml</filename> /config/opensrf/username = opensrf @@ -928,40 +923,40 @@
- Create Configuration Files for Users Needing srfsh - The software installation will automatically create a utility named srfsh (surf shell). This is a command line diagnostic tool for testing and interacting with the OpenSRF network software. It will be used in a future step to complete and test the Evergreen installation. See the section "Testing the Installation" for further information. - In this section you will set up a special configuration file for each user who will need to run the utility. Copy the short sample configuration file /openils/conf/srfsh.xml.example to the file .srfsh.xml (note the leading dot!) in the home directory of each user who will use srfsh. Finally, edit each users' .srfsh.xml file and make the following changes: - - Modify domain to be the router hostname (following our domain examples, private.localhost will give srfsh access to all OpenSRF services, while public.localhost will only allow access to those OpenSRF services that are publicly exposed). - Modify username and password to match the opensrf Jabber user for the chosen domain - Modify logfile to be the full path for a log file to which the user has write access - Modify loglevel as needed for testing - + Create Configuration Files for Users Needing <application>srfsh</application> + The software installation will automatically create a utility named srfsh (surf shell). This is a command line diagnostic tool for testing and interacting with the OpenSRF network software. It will be used in a future step to complete and test the Evergreen installation. See for further information. + In this section you will set up a special configuration file for each user who will need to run the utility. Copy the short sample configuration file /openils/conf/srfsh.xml.example to the file .srfsh.xml (note the leading dot!) in the home directory of each user who will use srfsh. Finally, edit each users' .srfsh.xml file and make the following changes: + + Modify domain to be the router hostname (following our domain examples, private.localhost> will give srfsh access to all OpenSRF services, while public.localhost will only allow access to those OpenSRF services that are publicly exposed). + Modify username and password to match the opensrf Jabber user for the chosen domain + Modify logfile to be the full path for a log file to which the user has write access + Modify loglevel as needed for testing +
- Example of user's file ".srfsh.xml" - - <?xml version="1.0"?> - <!-- This file follows the standard bootstrap config file layout --> - <!-- found in opensrf_core.xml --> - <srfsh> - <router_name>router</router_name> - <domain>private.localhost</domain> - <username>opensrf</username> - <passwd>evergreen</passwd> - <port>5222</port> - <logfile>/tmp/srfsh.log</logfile> - <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug, 5 Internal (Nasty) --> - <loglevel>4</loglevel> - </srfsh> - + Example of user's file <filename>.srfsh.xml</filename> + + + + +router +private.localhost +opensrf +evergreen +5222 +/tmp/srfsh.log + +4 + +]]>
Modify the OpenSRF Environment - As the opensrf user, change the permissions of .cgi files in the directory /openils/var/cgi-bin to executable, then modify the shell configuration file ~/.bashrc for opensrf by adding a Perl environmental variable. Finally, execute the shell configuration file to load the new variables into your current environment. + As the opensrf user, change the permissions of .cgi files in the directory /openils/var/cgi-bin to executable, then modify the shell configuration file ~/.bashrc for opensrf by adding a Perl environmental variable. Finally, execute the shell configuration file to load the new variables into your current environment. - In a multi-server environment, you must add any modifications to ~/.bashrc to the top of the file before the line [ -z "$PS1" ] && return. This will allow headless (scripted) logins to load the correct environment. + In a multi-server environment, you must add any modifications to ~/.bashrc to the top of the file before the line [ -z "$PS1" ] && return . This will allow headless (scripted) logins to load the correct environment.
@@ -981,20 +976,20 @@
Starting Evergreen - - - As the root user, start the "ejabberd" and "memcached" services (if they are not already running): + + + As the root user, start the ejabberd and memcached services (if they are not already running):
- Commands to start "ejabberd" and "memcached" services + Commands to start <systemitem class="service">ejabberd</systemitem> and <systemitem class="service">memcached</systemitem> services $ su - root $ /etc/init.d/ejabberd start $ /etc/init.d/memcached start
-
- - As the opensrf user, start Evergreen. + + + As the opensrf user, start Evergreen. Use the flag -l to force Evergreen to use localhost (your current system) as the hostname. Using the start_all option will start the OpenSRF router, Perl services, and C services:
Commands to start Evergreen @@ -1011,29 +1006,33 @@
- You can also start Evergreen without the -l flag, but the utility osrf_ctl.sh must know the fully qualified domain name for the system on which it will execute. That hostname may have been specified in the configuration file opensrf.xml, which you configured in a previous step. + You can also start Evergreen without the flag, but the osrf_ctl.sh utility must know the fully qualified domain name for the system on which it will execute. That hostname may have been specified in the configuration file opensrf.xml, which you configured in a previous step. + Execute the following command to determine the fully qualified domain name of your system: +
+ (OPTIONAL) Commands to determine the fully qualified domain name + + $ perl -e 'use Net::Domain qw(hostfqdn); print hostfqdn()."\n"' + +
ZZZ-REVIEW ADD EXPLANATION FOR CONFIGURING "opensrf.xml" - ADD EXPLANATION FOR CONFIGURING "opensrf.xml" - Execute the following command to determine the fully qualified domain name of your system: -
- (OPTIONAL) Commands to determine the fully qualified domain name - - $ perl -e 'use Net::Domain qw(hostfqdn); print hostfqdn()."\n"' - -
+ ADD EXPLANATION FOR CONFIGURING "opensrf.xml" - When you attempt to start Evergreen, if you receive an error message similar to osrf_ctl.sh: command not found, then your environment variable PATH does not include the directory /openils/bin. As the opensrf user, edit the configuration file /home/opensrf/.bashrc and add the following line: export PATH=$PATH:/openils/bin - When you attempt to start Evergreen, if you receive an error message similar to Can't locate OpenSRF/System.pm in @INC ... BEGIN failed--compilation aborted, then your environment variable PERL5LIB does not include the directory /openils/lib/perl5. As the opensrf user, edit the configuration file /home/opensrf/.bashrc and add the following line: export PERL5LIB=$PERL5LIB:/openils/lib/perl5 + + When you attempt to start Evergreen, if you receive an error message similar to osrf_ctl.sh: command not found, then your environment variable PATH does not include the directory /openils/bin. As the opensrf user, edit the configuration file /home/opensrf/.bashrc and add the following line: export PATH=$PATH:/openils/bin + + + When you attempt to start Evergreen, if you receive an error message similar to Can't locate OpenSRF/System.pm in @INC ... BEGIN failed--compilation aborted, then your environment variable PERL5LIB does not include the directory /openils/lib/perl5. As the opensrf user, edit the configuration file /home/opensrf/.bashrc and add the following line: export PERL5LIB=$PERL5LIB:/openils/lib/perl5 + -
- - As the opensrf user, generate the Web files needed by the Staff Client and catalogue, and calculate the proximity of locations in the Organizational Unit tree (which allows Holds to work properly). - You must do this the first time you start Evergreen, and after any changes you make to the library hierarchy in the configuration file config.cgi. + + + As the opensrf user, generate the Web files needed by the Staff Client and catalogue, and calculate the proximity of locations in the Organizational Unit tree (which allows Holds to work properly). + You must do this the first time you start Evergreen, and after making any changes to the library hierarchy in the configuration file config.cgi.
Commands to generate web files @@ -1044,15 +1043,15 @@ Updating fieldmapper ... - - ZZZ-REVIEW - ADD RESULTS OF TESTS FROM "autogen.sh" - - ADD RESULTS OF TESTS FROM "autogen.sh"
-
- - As the root user, restart the Apache Web server: + + ZZZ-REVIEW + ADD RESULTS OF TESTS FROM "autogen.sh" + + ADD RESULTS OF TESTS FROM autogen.sh + + + As the root user, restart the Apache Web server:
Commands to restart Apache web server @@ -1061,17 +1060,17 @@
If the Apache Web server was running when you started the OpenSRF services, you might not be able to successfully log in to the OPAC or Staff Client until the Apache Web server is restarted. -
-
+ +
Testing the Installation This section describes several simple tests you can perform to verify that the Evergreen server-side software has been installed and configured properly and is running as expected.
Testing Connections to Evergreen - Once you have installed and started Evergreen, test your connection to Evergreen. As the opensrf user start the utility srfsh and try logging onto the Evergreen server using the default administrator username and password. Following is sample output generated by executing that script after a successful Evergreen installation: + Once you have installed and started Evergreen, test your connection to Evergreen. As the opensrf user start the srfsh application and try logging onto the Evergreen server using the default administrator username and password. Following is sample output generated by executing that script after a successful Evergreen installation:
- Commands to test Evergreen with "srfsh" + Commands to test Evergreen with <application>srfsh</application> $ su - opensrf $ /openils/bin/srfsh @@ -1100,31 +1099,34 @@
- Other Connection Tests with "srfsh" + Other Connection Tests with <application>srfsh</application> - There is another srfsh command called math_bench that sends queries to the math servers. Note that opensrf.math and opensrf.dbmath must be running for this command to work: - - srfsh# math_bench 10 - |.........|.........|.........|.........|.........|.........|.........|.........|.........|......... - ++++++++++++++++++++++++++++++++++++++++ - Average round trip time: 0.033425 - srfsh# - - The first argument is how many sets of 4 queries (+ - * /) are sent to opensrf.math. When the response is successful, you will see the string of "+" symbols. If the system is not running correctly, you will either get an exception or no result at all. - For other srfsh commands, type 'help' in at the prompt. + There is another srfsh command called math_bench that sends queries to the math servers. Note that the opensrf.math and opensrf.dbmath must be running for this command to work: +
+ Example of math_bench usage + + srfsh# math_bench 10 + |.........|.........|.........|.........|.........|.........|.........|.........|.........|......... + ++++++++++++++++++++++++++++++++++++++++ + Average round trip time: 0.033425 + srfsh# + +
+ The first argument is how many sets of 4 queries (+ - * /) are sent to opensrf.math. When the response is successful, you will see the string of + symbols. If the system is not running correctly, you will either get an exception or no result at all. + For other srfsh commands, type help in at the prompt. If this does not work, try the troubleshooting steps in the following section.
- Testing with "settings-tester.pl" - As the opensrf user, run the script settings-tester.pl to see if it finds any system configuration problems. Following is sample output generated by executing that script after a successful Evergreen installation: + Testing with <application>settings-tester.pl</application> + As the opensrf user, run the script settings-tester.pl to see if it finds any system configuration problems. Following is sample output generated by executing that script after a successful Evergreen installation: ZZZ-REVIEW REWORK THIS DIAGRAM TO USE SAME IMAGE STANDARDS AS OTHER CHAPTERS - REWORK THIS DIAGRAM TO USE SAME IMAGE STANDARDS AS OTHER CHAPTERS + REWORK THIS DIAGRAM TO USE SAME IMAGE STANDARDS AS OTHER CHAPTERS
- Executing the script <emphasis>settings-tester.pl</emphasis> + Executing the script <command>settings-tester.pl</command> @@ -1136,24 +1138,24 @@
- If the output from the script does not help you find the problem, please do not make any further significant changes to your configuration. Follow the steps in the troubleshooting guide, "Troubleshooting". + If the output from the script does not help you find the problem, please do not make any further significant changes to your configuration. Follow the steps in the troubleshooting guide in . If you have followed the entire set of installation steps listed here closely, you are probably extremely close to a working system. Gather your configuration files and log files and contact the Evergreen development mailing list for assistance before making any drastic changes to your system configuration.
Testing the Catalog - By default, the OPAC will live at the URL http://my.domain.com/opac/. - Navigate to this URL and the front page of the OPAC should load. There is a basic text entry field with some extra search options. If you have any problems loading this page, check the Apache error logs. If the page loads but does not function correctly, then check for possible javascript errors. We hightly reccommend testing with the Firefox browser because of the helpful javascript debugging tools. + By default, the OPAC will live at the URL http://my.domain.com/opac/. + Navigate to this URL and the front page of the OPAC should load. There is a basic text entry field with some extra search options. If you have any problems loading this page, check the Apache error logs. If the page loads but does not function correctly, then check for possible javascript errors. We hightly reccommend testing with the Firefox browser because of the helpful javascript debugging tools. Assuming that the OPAC is functioning and there is data in your database, you can now perform other simple functional tests (e.g., searching the catalog). ZZZ-REVIEW ADD OTHER SIMPLE FUNCTIONAL TESTS - ADD OTHER SIMPLE FUNCTIONAL TESTS + ADD OTHER SIMPLE FUNCTIONAL TESTS
Running the Evergreen Staff Client - Run the Evergreen Staff Client by using the application XULRunner (installed automatically and by default with Firefox version 3.0 and later on Ubuntu and Debian distributions). - For example, if the source files for the Evergreen installation are in the directory /home/opensrf/Evergreen-ILS-1.6.0.7/, start the Staff Client as follows: + Run the Evergreen Staff Client by using the application XULRunner (installed automatically and by default with Firefox version 3.0 and later on Ubuntu and Debian distributions). + For example, if the source files for the Evergreen installation are in the directory /home/opensrf/Evergreen-ILS-1.6.0.7/, start the Staff Client as follows:
Commands to run the Staff Client @@ -1165,7 +1167,7 @@
Testing the Apache Web Server Once you have started Evergreen and confirmed that a basic login attempt works, you can test and start the Apache web server. - As the root user, execute the following commands. Note the use of restart to force the new Evergreen modules to be reloaded even if the Apache server is already running. Any problems found with your configuration files should be displayed: + As the root user, execute the following commands. Note the use of restart to force the new Evergreen modules to be reloaded even if the Apache server is already running. Any problems found with your configuration files should be displayed:
Commands to test the Apache Web Server @@ -1177,7 +1179,7 @@
Stopping Evergreen - As the opensrf user, stop all Evergreen services by using the following command: + As the opensrf user, stop all Evergreen services by using the following command:
Commands to stop Evergreen @@ -1190,25 +1192,25 @@
- You can also stop Evergreen services without the -l flag, but the utility osrf_ctl.sh must know the fully qualified domain name for the system on which it will execute. That hostname may have been specified in the configuration file opensrf.xml, which you configured in a previous step. + You can also stop Evergreen services without the flag, but the osrf_ctl.sh utility must know the fully qualified domain name for the system on which it will execute. That hostname may have been specified in the configuration file opensrf.xml, which you configured in a previous step. ZZZ-REVIEW ADD EXPLANATION FOR CONFIGURING "opensrf.xml" - ADD EXPLANATION FOR CONFIGURING "opensrf.xml" + ADD EXPLANATION FOR CONFIGURING "opensrf.xml"
Post-Installation Chores
Remove temporary changes from Apache configuration file - As the root user, edit the Apache configuration file /etc/apache2/sites-available/eg.conf again and make the following change: - Uncomment the line Allow from 10.0.0.0/8, then comment out the line Allow from all. You modified this file in an earlier step as a temporary measure to expedite testing (see the section "Modify the Apache Configuration File" for further information). Those changes must now be reversed in order to deny unwanted access to your CGI scripts from users on other public networks. You must secure this for a public production system. + As the root user, edit the Apache configuration file /etc/apache2/sites-available/eg.conf again and make the following change: + Uncomment the line Allow from 10.0.0.0/8, then comment out the line Allow from all. You modified this file in an earlier step as a temporary measure to expedite testing (see for further information). Those changes must now be reversed in order to deny unwanted access to your CGI scripts from users on other public networks. You must secure this for a public production system.
Configure a permanent SSL key - In a previous step, we used the command openssl to temporarily create a new SSL key for the Apache server. For a public production server you should configure or purchase a signed SSL certificate + In a previous step, we used the command openssl to temporarily create a new SSL key for the Apache server. For a public production server you should configure or purchase a signed SSL certificate The temporary SSL key was only created to expedite testing. You must get a proper SSL certificate for a public production system. @@ -1218,16 +1220,16 @@ ZZZ-REVIEW ADD EXPLANATION OF HOW TO GET PERMANENT SSL CERTIFICATE - ADD EXPLANATION OF HOW TO GET PERMANENT SSL CERTIFICATE + ADD EXPLANATION OF HOW TO GET PERMANENT SSL CERTIFICATE
Set Up Support For Reports - Evergreen reports are extremely powerful, but some configuration is required. See the section "Reports" for details. + Evergreen reports are extremely powerful, but some configuration is required. See for details. Starting the Reporter Daemon - Once the open-ils.reporter process is running and enabled on the gateway, you can start the reporter daemon. That process periodically checks for requests for new reports or scheduled reports and gets them running. - As the opensrf user, start the reporter daemon using the following command: + Once the open-ils.reporter process is running and enabled on the gateway, you can start the reporter daemon. That process periodically checks for requests for new reports or scheduled reports and gets them running. + As the opensrf user, start the reporter daemon using the following command:
Commands to start the Reporter daemon @@ -1238,10 +1240,10 @@
You can also specify other options with this utility: - --sleep=interval : number of seconds to sleep between checks for new reports to run; defaults to 10 - --lockfile=filename : where to place the lockfile for the process; defaults to /tmp/reporter-LOCK - --concurrency=integer : number of reporter daemon processes to run; defaults to "1" - --bootstrap=filename : OpenSRF bootstrap configuration file; defaults to /openils/conf/opensrf_core.xml + : number of seconds to sleep between checks for new reports to run; defaults to 10 + : where to place the lockfile for the process; defaults to /tmp/reporter-LOCK + : number of reporter daemon processes to run; defaults to 1 + : OpenSRF bootstrap configuration file; defaults to /openils/conf/opensrf_core.xml
@@ -1249,7 +1251,7 @@ To stop the Reporter daemon, you must kill the process and remove the lockfile. The daemon may have just a single associated process, with a lockfile in the default location. - It is possible that several processes are running; see the optional commands in the previous section. As the opensrf user, perform the following commands to stop the Reporter daemon: + It is possible that several processes are running; see the optional commands in the previous section. As the opensrf user, perform the following commands to stop the Reporter daemon:
@@ -1265,23 +1267,37 @@
+
+ Organization and Policy Editing + After installing Evergreen, you will want to make configuration changes to reflect the organizational hierarchy and the policies of your library or libraries. See for further information. Examples of what can be configured include: + + Adding a branch library + Changing circulation rules for an existing library + Adding a new staff position or user group + + + ZZZ-REVIEW + ADD CONTENT FOR ORGANIZATION AND POLICY EDITING + + ADD CONTENT FOR ORGANIZATION AND POLICY EDITING +
Installing In Virtualized Unix Environments - Evergreen software currently runs as a native application on any of several well-known Linux distributions (e.g., Ubuntu and Debian). It does not run as a native application on the Windows operating system (e.g., WindowsXP, WindowsXP Professional, Windows7), but the software can be installed and run on Windows via a virtualized Unix-guest Operating System (using, for example, VirtualBox or VMware to emulate a Linux environment). + Evergreen software currently runs as a native application on any of several well-known Linux distributions (e.g., Ubuntu and Debian). It does not run as a native application on the Windows operating system (e.g., WindowsXP, WindowsXP Professional, Windows7), but the software can be installed and run on Windows via a virtualized Unix-guest Operating System (using, for example, VirtualBox or VMware to emulate a Linux environment). ZZZ-REVIEW ADD CONTENT FOR INSTALLING EVERGREEN IN VIRTUALIZED UNIX ENVIRONMENTS - ADD CONTENT FOR INSTALLING EVERGREEN IN VIRTUALIZED UNIX ENVIRONMENTS + ADD CONTENT FOR INSTALLING EVERGREEN IN VIRTUALIZED UNIX ENVIRONMENTS
VirtualBox ZZZ-REVIEW ADD CONTENT FOR VirtualBox - ADD CONTENT FOR VirtualBox + ADD CONTENT FOR VirtualBox
VMware @@ -1289,7 +1305,7 @@ ZZZ-REVIEW ADD CONTENT FOR VMware - ADD CONTENT FOR VMware + ADD CONTENT FOR VMware
VirtualPC @@ -1297,7 +1313,7 @@ ZZZ-REVIEW ADD CONTENT FOR VirtualPC - ADD CONTENT FOR VirtualPC + ADD CONTENT FOR VirtualPC
@@ -1305,12 +1321,12 @@ Earlier releases of Evergreen are available. Instructions for installing, configuring and testing earlier versions are found below. The next most recent previous release of Evergreen is version 1.4.0.6. The accompanying previous release of OpenSRF is version 1.0.x.
- Installing Evergreen 1.4.0.6 on Ubuntu or Debian + Installing Evergreen 1.4.0.6 On <systemitem class="osname">Ubuntu</systemitem> or <systemitem class="osname">Debian</systemitem> ZZZ-REVIEW ADD CONTENT FOR INSTALLING EVERGREEN 1.4.0.6 ON UBUNTU OR DEBIAN - ADD CONTENT FOR INSTALLING EVERGREEN 1.4.0.6 ON UBUNTU OR DEBIAN + ADD CONTENT FOR INSTALLING EVERGREEN 1.4.0.6 ON UBUNTU OR DEBIAN
Installing OpenSRF 1.0.x @@ -1318,7 +1334,7 @@ ZZZ-REVIEW ADD CONTENT FOR INSTALLING OPENSRF 1.0.x - ADD CONTENT FOR INSTALLING OPENSRF 1.0.x + ADD CONTENT FOR INSTALLING OPENSRF 1.0.x
@@ -1327,36 +1343,36 @@ ZZZ-REVIEW ADD CONTENT FOR POSTGRESQL - ADD CONTENT FOR POSTGRESQL + ADD CONTENT FOR POSTGRESQL
Installing Apache
Securing Apache (httpd) - The main consideration is to secure the directory cgi-bin. The only persons that need access to this directory are Evergreen system administrators. This directory should be restricted by both IP (to those workstations designated as Evergeen Administration systems), and by username/password. + The main consideration is to secure the directory cgi-bin. The only persons that need access to this directory are Evergreen system administrators. This directory should be restricted by both IP (to those workstations designated as Evergeen Administration systems), and by username/password. ZZZ-REVIEW ADD CONTENT ON HOW TO RESTRICT APACHE BY IP AND USERNAME/PASSWORD - ADD CONTENT ON HOW TO RESTRICT APACHE BY IP AND USERNAME/PASSWORD + ADD CONTENT ON HOW TO RESTRICT APACHE BY IP AND USERNAME/PASSWORD A user could add new libraries, re-arrange consortia, or change user groups; or a staff member could access the directory, and change his associated security group to administrative level privileges.
ZZZ-REVIEW ADD MORE CONTENT FOR APACHE - ADD MORE CONTENT FOR APACHE + ADD MORE CONTENT FOR APACHE
Installing the Staff Client - You can install the Staff Client from pre-built images and packages without actually having to first build it. Pre-built packages are currently available for Windows, MAC OS X, and Linux. If you need to manually build the Staff Client, see the section "Manually Building the Staff Client". + You can install the Staff Client from pre-built images and packages without actually having to first build it. Pre-built packages are currently available for Windows, Mac OS X, and Linux. If you need to manually build the Staff Client, see .
Installing a Pre-Built Staff Client This section reviews the process of installing pre-built versions of the Staff Client in various environments.
- Installing on Windows - A standard Microsoft Windows installer that contains the current version of the Staff Client is available from the downloads section of the Evergreen website at http://www.evergreen-ils.org/downloads.php. Download the staff client installer, then run it. A screen that looks similar to this should appear: + Installing on <systemitem class="osname">Windows</systemitem> + A standard Windows installer that contains the current version of the Staff Client is available from the downloads section of the Evergreen website at http://www.evergreen-ils.org/downloads.php. Download the staff client installer, then run it. A screen that looks similar to this should appear:
Running the Staff Client installer @@ -1365,7 +1381,7 @@
- Click the Next button to continue through the guided install process. The install wizard will ask you to agree to the end-user license, ask you where to install the software, ask about where to place icons, and then will install the software on your workstation. + Click Next to continue through the guided install process. The install wizard will ask you to agree to the end-user license, ask you where to install the software, ask about where to place icons, and then will install the software on your workstation. When you run the staff client for the first time, a screen similar to this should appear:
Running the Staff Client for the first time @@ -1375,20 +1391,20 @@
- First, configure the server you would like to connect to in the Server section. For example, the PINES demo system is demo.gapines.org. After selecting a server, click the Re-Test Server button. - Because this is the initial run of the staff client, the Workstation section in the upper-right states: Not yet configured for the specified server. The first thing that must be done to the Staff Client on every workstation is to assign it a workstation name. This is covered in the section "Assigning Workstation Names". + First, configure the server you would like to connect to in the Server section. For example, the PINES demo system is demo.gapines.org. After selecting a server, click Re-Test Server. + Because this is the initial run of the staff client, the Workstation section in the upper-right states: Not yet configured for the specified server. The first thing that must be done to the Staff Client on every workstation is to assign it a workstation name. This is covered in .
- Installing on Mac OS X - A Mac package that contains the current version of the Staff Client is available for use with XULRunner. + Installing on <systemitem class="osname">Mac OS X</systemitem> + A Mac OS X package that contains the current version of the Staff Client is available for use with xulrunner.
Evergreen Indiana Pkg file [Evergreen v1.2.3.0] - - Download and install the latest version of XULRunner for Mac OS. Release notes for the latest version can be found here: http://developer.mozilla.org/en/docs/XULRunner_1.8.0.4_Release_Notes. Note, later versions may not work correctly. - Download and install the Mac Installation package for the 1_2_3_0 Version Staff Client from http://evergreen.lib.in.us/opac/extras/files/evergreen_osx_staff_client_1_2_3.zip. - To upgrade to a more recent version of the staff client, you can copy the "build" directory from a working Windows installation of the desired version of the staff client to your Mac. The required files may be located in a directory like this on the Windows machine: C:\Program Files\Evergreen Staff Client\build. Copy these files into the "Resources" folder within the Open-ILS package in your Applications directory on the Mac, overwriting files with the same names. - Drag the application's icon into your toolbar for easier access. - + + Download and install the latest version of xulrunner for Mac OS X. Release notes for the latest version can be found here: http://developer.mozilla.org/en/docs/XULRunner_1.8.0.4_Release_Notes. Note, later versions may not work correctly. + Download and install the Mac OS X Installation package for the 1_2_3_0 Version Staff Client from http://evergreen.lib.in.us/opac/extras/files/evergreen_osx_staff_client_1_2_3.zip. + To upgrade to a more recent version of the staff client, you can copy the directory build from a working Windows installation of the desired version of the staff client to your Mac. The required files may be located in a directory like this on the Windows machine: C:\Program Files\Evergreen Staff Client\build. Copy these files into the folder Resources within the Open-ILS package in your Applications directory on the Mac, overwriting files with the same names. + Drag the application's icon into your toolbar for easier access. + When you run the staff client installer, a screen will appear that looks similar to this:
@@ -1400,7 +1416,7 @@
FIX BAD LINK: http://es.zionsville.lib.in.us/atheos/eg_osx_a.gif - Click continue, accept the license, then finish the installation. The application will be located at the destination you selected during installation. You will then be able to drag the application into your toolbar for easier access. + Click Continue, accept the license, then finish the installation. The application will be located at the destination you selected during installation. You will then be able to drag the application into your toolbar for easier access.
Finishing the installation @@ -1412,8 +1428,8 @@ FIX BAD LINK: http://es.zionsville.lib.in.us/atheos/eg_osx_a.gif
- Running directly using XULRunner - You must install an apropriate version of XULRunner to match the Evergreen version. See the following table for the recommended version of XULRunner: + Running directly using <application>xulrunner</application> + You must install an apropriate version of xulrunner to match the Evergreen version. See the following table for the recommended version of xulrunner:
Evergreen / XULRunner Dependencies @@ -1435,221 +1451,221 @@
- If you have issues removing previously installed XULRunner versions see the next section on removing previous XULRunner versions. - The staff client data from the ./staff_client/build directory must be placed somewhere on the machine (e.g. ~/Desktop/Evergreen_Staff_Client). Remember to call XULRunner with the full path to the binary, followed by the install command and the path to the client data. See the following command: + If you have issues removing previously installed xulrunner versions see for information on removing previous XULRunner versions. + The staff client data from the directory ./staff_client/build must be placed somewhere on the machine (e.g. ~/Desktop/Evergreen_Staff_Client). Remember to call XULRunner with the full path to the binary, followed by the install command and the path to the client data. See the following command:
- Executing XULRunner + Executing <application>xulrunner</application> - /Library/Frameworks/XUL.framework/xulrunner-bin --install-app ~/Desktop/Evergreen_Staff_Client - + /Library/Frameworks/XUL.framework/xulrunner-bin --install-app ~/Desktop/Evergreen_Staff_Client +
This command should exit quietly. A folder will be created, named /Applications/OpenILS, containing a launcher named open_ils_staff_client.
- Removing previously installed XULRunner versions - If you already have a newer version installed, per the release notes, you will need to remove the entire directory /Library/Frameworks/XUL.framework before downgrading. - In addition, you may also need to remove the previous file /Library/Receipts/xulrunner-ver-mak.pkg. - If there is no file /Library/Receipts/xulrunner-ver-mak.pkg (possibly in newer OSX releases) you need to flush the receiptdb file. + Removing previously installed <application>xulrunner</application> versions + If you already have a newer version installed, per the release notes, you will need to remove the entire directory /Library/Frameworks/XUL.framework before downgrading. + In addition, you may also need to remove the previous file /Library/Receipts/xulrunner-ver-mak.pkg. + If there is no file /Library/Receipts/xulrunner-ver-mak.pkg (possibly in newer OSX releases) you need to flush the file receiptdb. If you install a newer version over a previous (older) install, the older one is not removed but the symlinks get changed to the newer one. First, get the package identifier, then purge/forget the build that was initially installed:
Purging previous build - sudo pkgutil --pkgs > /tmp/pkgs.txt - sudo pkgutil --forget org.mozilla.xulrunner - + sudo pkgutil --pkgs > /tmp/pkgs.txt + sudo pkgutil --forget org.mozilla.xulrunner +
- It may not be necessary to edit the file /Library/Receipts/InstallHistory.plist after deleting the folder XUL.framework. + It may not be necessary to edit the file /Library/Receipts/InstallHistory.plist after deleting the folder XUL.framework.
- Creating an APP file: Staff Client & XULRunner Bundled + Creating an APP file: Staff Client & <application>xulrunner</application> Bundled An APP file is basically a folder. Start with a folder stucture like this:
Sample APP file folder structure - * Evergreen.app - * Contents - * Frameworks - * Resources - * MacOS - + * Evergreen.app + * Contents + * Frameworks + * Resources + * MacOS +
Create an APP folder structure with the following commands:
Creating a folder structure - mkdir -p Evergreen.app/Contents/Frameworks - mkdir -p Evergreen.app/Contents/Resources - mkdir -p Evergreen.app/Contents/MacOS - + mkdir -p Evergreen.app/Contents/Frameworks + mkdir -p Evergreen.app/Contents/Resources + mkdir -p Evergreen.app/Contents/MacOS +
- - + + Create a new file in the folder Evergreen.app/Contents/Info.plist containing the following data (adjust for your version of Evergreen):
Creating a new file - - <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> - <plist version="1.0"> - <dict> - <key>CFBundleExecutable</key> - <string>xulrunner</string> - <key>CFBundleGetInfoString</key> - <string>OpenILS open_ils_staff_client rel_1_6_0_7</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>Evergreen Staff Client</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleShortVersionString</key> - <string>rel_1_6_0_7</string> - <key>CFBundleVersion</key> - <string>rel_1_6_0_7.rel_1_6_0_7</string> - <key>NSAppleScriptEnabled</key> - <true/> - <key>CFBundleTypeIconFile</key> - <string>Evergreen.icns</string> - </dict> - </plist> - + + + + + CFBundleExecutable + xulrunner + CFBundleGetInfoString + OpenILS open_ils_staff_client rel_1_6_0_7 + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Evergreen Staff Client + CFBundlePackageType + APPL + CFBundleShortVersionString + rel_1_6_0_7 + CFBundleVersion + rel_1_6_0_7.rel_1_6_0_7 + NSAppleScriptEnabled + + CFBundleTypeIconFile + Evergreen.icns + + +]]>
-
- Download and install an appropriate Mac OS package of XULRunner from the Mozilla website (see above for recommendations). - + + Download and install an appropriate Mac OS Xpackage of XULRunner from the Mozilla website (see above for recommendations). + Make a copy of /Library/Frameworks/XUL.Framework inside your APP file. It should look something like this:
Example of APP file framework - * Evergreen.app/ - __* Contents/ - ____* Frameworks/ - ______* XUL.Framework/ - ______* Versions/ - ________* Current -> 1.9.1.3 (symlink) - ________* 1.9.1.3/ - ______* XUL -> Versions/Current/XUL - ______* libxpcom.dylib -> Versions/Current/libxpcom.dylib - ______* xulrunner-bin -> Versions/Current/xulrunner-bin - + * Evergreen.app/ + __* Contents/ + ____* Frameworks/ + ______* XUL.Framework/ + ______* Versions/ + ________* Current -> 1.9.1.3 (symlink) + ________* 1.9.1.3/ + ______* XUL -> Versions/Current/XUL + ______* libxpcom.dylib -> Versions/Current/libxpcom.dylib + ______* xulrunner-bin -> Versions/Current/xulrunner-bin +
-
- Copy XUL.Framework/Versions/Current/xulrunner into Evergreen.app/MacOS (do not symlink; copy the file). - + + Copy XUL.Framework/Versions/Current/xulrunner into Evergreen.app/MacOS (do not symlink; copy the file). + Make Evergreen.app/Resources the root of your Evergreen application files like this:
Example APP file - * Evergreen.app/ - __* Contents/ - ____* Resources/ - ______* BUILD_ID - ______* application.ini - ______* chrome/ - ______* components/ - ______* etc. - + * Evergreen.app/ + __* Contents/ + ____* Resources/ + ______* BUILD_ID + ______* application.ini + ______* chrome/ + ______* components/ + ______* etc. +
-
- Put a Mac format icon file named Evergreen.icns in Resources. -
+ + Put a Mac format icon file named Evergreen.icns in Resources. +
- Installing on Linux + Installing on <systemitem class="osname">Linux</systemitem>
Quick Upgrade of the Staff Client - A Linux Staff Client is automatically built on the server as part of the normal make install process for Evergreen server-side software. To upgrade the Staff Client on a remote workstation with a new version, just copy the directory tree containing the Staff Client from the server to the remote workstation. - The following example assumes you already have an "opensrf" user account on both the server and the remote workstation. Remember to replace "user", "client.linux.machine" and "eg-client-x.x.x.x" with the proper user name, client machine name, and version number in the following example. - As the opensrf user, change directory to the Staff Client source directory, then recursively copy the entire directory tree to the remote workstation: + A Linux Staff Client is automatically built on the server as part of the normal make install process for Evergreen server-side software. To upgrade the Staff Client on a remote workstation with a new version, just copy the directory tree containing the Staff Client from the server to the remote workstation. + The following example assumes you already have an opensrf user account on both the server and the remote workstation. Remember to replace user, client.linux.machine and eg-client-x.x.x.x with the proper user name, client machine name, and version number in the following example. + As the opensrf user, change directory to the Staff Client source directory, then recursively copy the entire directory tree to the remote workstation:
Copying the Staff Client to a remote workstation - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - $ scp -r build user@client.linux.machine:~/eg-client-x.x.x.x/ - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + $ scp -r build user@client.linux.machine:~/eg-client-x.x.x.x/ +
- To test the newly copied Staff Client, as the opensrf user log into the remote workstation and execute it as shown: + To test the newly copied Staff Client, as the opensrf user log into the remote workstation and execute it as shown:
Testing the copied Staff Client - $ su - opensrf - $ xulrunner ~/eg-client-x.x.x.x/build/application.ini - + $ su - opensrf + $ xulrunner ~/eg-client-x.x.x.x/build/application.ini +
Building the Staff Client on the Server - A Linux Staff Client is automatically built on the server as part of the normal make install process for Evergreen server-side software. - In order to install a compatible Staff Client on another Linux system, just copy the applicable files from the server to that system, or even manually build it on that system. Ensure that the BUILD_ID you choose on the server matches the BUILD_ID for each staff client you use on other systems. - If you will be using a pre-packaged Windows version on some systems, you may want to choose the BUILD_ID on both server and other versions to match that of the Windows Staff Client. To determine which BUILD_ID is used in an existing Staff Client installation, just click "About this Client" on the running Staff Client. + A Linux Staff Client is automatically built on the server as part of the normal make install process for Evergreen server-side software. + In order to install a compatible Staff Client on another Linux system, just copy the applicable files from the server to that system, or even manually build it on that system. Ensure that the BUILD_ID you choose on the server matches the BUILD_ID for each staff client you use on other systems. + If you will be using a pre-packaged Windows version on some systems, you may want to choose the BUILD_ID on both server and other versions to match that of the Windows Staff Client. To determine which BUILD_ID is used in an existing Staff Client installation, just click About this Client on the running Staff Client. If you are allowed to make changes on the Evergreen server, another option is to create a symbolic link. In order for a copy of the Staff Client and server to work together, the BUILD_ID must match the name of the directory containing the server components of the Staff Client, or the name of a symbolic link to that directory.
Creating a symbolic link - $ su - root - $ cd /openils/var/web/xul - $ ln -s SERVER_BUILD_ID/ CLIENT_BUILD_ID - + $ su - root + $ cd /openils/var/web/xul + $ ln -s SERVER_BUILD_ID/ CLIENT_BUILD_ID +
Building the Staff Client on the client Machine - This section is directed toward end-users who wish to use Linux rather than Windows for client machines, but have limited Linux experience. You can build the Staff Client on a Linux system without installing the Evergreen Server component. This is a relatively simple process compared to server installation, but does require some command-line work. The following directions are for building Staff Client version 1.2.1.4 on Kubuntu 7.10; you must modify them for other distributions (the instructions should work as-is for Ubuntu or Ubuntu derivatives). - - + This section is directed toward end-users who wish to use Linux rather than Windows for client machines, but have limited Linux experience. You can build the Staff Client on a Linux system without installing the Evergreen Server component. This is a relatively simple process compared to server installation, but does require some command-line work. The following directions are for building Staff Client version 1.2.1.4 on Kubuntu 7.10; you must modify them for other distributions (the instructions should work as-is for Ubuntu or Ubuntu derivatives). + + Prerequisites - Both "subversion" and "xulrunner" are required to build the Staff Client. As the root user, use "apt-get" to install packages for "subversion" and "xulrunner". You can also use "synaptic", the graphical user interface for "apt-get". For "subversion", select the latest version; for "xulrunner", select version 1.8.1.4-2ubuntu5. + Both subversion and xulrunner are required to build the Staff Client. As the root user, use apt-get to install packages for subversion and xulrunner. You can also use synaptic, the graphical user interface for apt-get. For subversion, select the latest version; for xulrunner, select version 1.8.1.4-2ubuntu5.
Installing subversion and xulrunner - $ sudo apt-get install subversion - $ sudo apt-get install xulrunner - + $ sudo apt-get install subversion + $ sudo apt-get install xulrunner +
-
- + + Download the Source Code Determine which version is needed For most end-users, a specific version is required to communicate properly with the Evergreen server. Check with your system admininstrator, IT person, or HelpDesk to determine which Staff Client versions are supported. Next, you need to determine which tag to use when downloading the source code. Tags are markers in the source code to create a snapshot of the code as it existed at a certain time; tags usually point to tested and stable code, or at least a community-recognized release version. - To determine which tag to use, browse to http://svn.open-ils.org/trac/ILS/browser. Look in the "Visit" drop-down box; see the list of Branches and, further down, a list of Tags. You may have to do some guesswork, but it is fairly straightforward to determine which tag to use. If the server is version 1.2.1.4, you will want to use the tag that looks most appropriate. For example, as you look through the tag list, notice the tag named 'rel_1_2_1_4'. This is the tag you need; make a note of it for the next step. + To determine which tag to use, browse to http://svn.open-ils.org/trac/ILS/browser. Look in the Visit drop-down box; see the list of Branches and, further down, a list of Tags. You may have to do some guesswork, but it is fairly straightforward to determine which tag to use. If the server is version 1.2.1.4, you will want to use the tag that looks most appropriate. For example, as you look through the tag list, notice the tag named 'rel_1_2_1_4'. This is the tag you need; make a note of it for the next step. Download the Code - As the opensrf user, open a terminal (command-line prompt) and navigate to the directory in which you wish to download the Staff Client. Use the following commands to download the proper version of the source code by tag name: + As the opensrf user, open a terminal (command-line prompt) and navigate to the directory in which you wish to download the Staff Client. Use the following commands to download the proper version of the source code by tag name:
Downloading the source code - $ su - opensrf - $ cd /YOUR/DOWNLOAD/DIRECTORY - $ svn co svn://svn.open-ils.org/ILS/tags/rel_1_2_1_4/ - + $ su - opensrf + $ cd /YOUR/DOWNLOAD/DIRECTORY + $ svn co svn://svn.open-ils.org/ILS/tags/rel_1_2_1_4/ +
- Remember to change "rel_1_2_1_4" to the appropriate tag for your installation. + Remember to change rel_1_2_1_4 to the appropriate tag for your installation.
-
- + + Build the Staff Client
Evergreen 1.2.x - In the following example, navigate to the directory in which the source code was downloaded, then navigate to the proper subdirectory and run the "make" utility to actually build the Staff Client. Remember to check with your system administrator about which Staff Client BUILD_ID to use. The server checks the Staff Client BUILD_ID against itself to determine whether or not a connecting client is supported. For instance, for the PINES installation (version 1.2.1.4) the supported BUILD_ID is "rel_1_2_1_4". Modify the following commands accordingly. - As the opensrf user, run the following commands to build the Staff Client: + In the following example, navigate to the directory in which the source code was downloaded, then navigate to the proper subdirectory and run the make utility to actually build the Staff Client. Remember to check with your system administrator about which Staff Client BUILD_ID to use. The server checks the Staff Client BUILD_ID against itself to determine whether or not a connecting client is supported. For instance, for the PINES installation (version 1.2.1.4) the supported BUILD_ID is rel_1_2_1_4. Modify the following commands accordingly. + As the opensrf user, run the following commands to build the Staff Client:
Finding the downloaded source code - $ su - opensrf - $ cd /YOUR/DOWNLOAD/DIRECTORY - $ cd Open-ILS/xul/staff_client - $ make STAFF_CLIENT_BUILD_ID='rel_1_2_1_4' - ... - + $ su - opensrf + $ cd /YOUR/DOWNLOAD/DIRECTORY + $ cd Open-ILS/xul/staff_client + $ make STAFF_CLIENT_BUILD_ID='rel_1_2_1_4' + ... +
@@ -1660,126 +1676,127 @@
Building 1.4.x - $ su - opensrf - $ wget http://evergreen-ils.org/downloads/Evergreen-ILS-1.4.0.4.tar.gz - $ tar xfz Evergreen-ILS-1.4.0.4.tar.gz - $ cd Evergreen-ILS-1.4.0.4/ - $ ./configure --prefix=/openils --sysconfdir=/openils/conf - $ cd Open-ILS/xul/staff_client/ - $ make STAFF_CLIENT_BUILD_ID='rel_1_4_0_4' install - + $ su - opensrf + $ wget http://evergreen-ils.org/downloads/Evergreen-ILS-1.4.0.4.tar.gz + $ tar xfz Evergreen-ILS-1.4.0.4.tar.gz + $ cd Evergreen-ILS-1.4.0.4/ + $ ./configure --prefix=/openils --sysconfdir=/openils/conf + $ cd Open-ILS/xul/staff_client/ + $ make STAFF_CLIENT_BUILD_ID='rel_1_4_0_4' install +
If you're installing from a Subversion checkout:
- Building from a "subversion" checkout + Building from a <application>subversion</application> checkout - $ su - opensrf - $ svn co svn://svn.open-ils.org/ILS/tags/rel_1_4_0_4/ - $ cd rel_1_4_0_4 - $ ./autogen.sh # If you downloaded a .tar.gz of Evergreen, you may skip this step - $ ./configure --prefix=/openils --sysconfdir=/openils/conf - $ cd Open-ILS/xul/staff_client/ - $ make STAFF_CLIENT_BUILD_ID='rel_1_4_0_4' install - + $ su - opensrf + $ svn co svn://svn.open-ils.org/ILS/tags/rel_1_4_0_4/ + $ cd rel_1_4_0_4 + $ ./autogen.sh # If you downloaded a .tar.gz of Evergreen, you may skip this step + $ ./configure --prefix=/openils --sysconfdir=/openils/conf + $ cd Open-ILS/xul/staff_client/ + $ make STAFF_CLIENT_BUILD_ID='rel_1_4_0_4' install +
-
- + + Run the Staff Client (from the command line) - As the opensrf user, navigate to the build/ subdirectory (not staff_client/) and run the following command: + As the opensrf user, navigate to the directory build/ (not staff_client/) and run the following command:
Running the Staff Client - $ su - opensrf - $ xulrunner application.ini - + $ su - opensrf + $ xulrunner application.ini +
-
- + + (OPTIONAL) Cleaning Up / Creating Shortcuts The source code download included many files that are needed to build the Staff Client, but are not necessary to run it. You may wish to remove them to save space, or to create a clean directory containing the built staff client that can be copied to other machines. To create a clean "staging" directory in which to place the finished staff client, issue the following commands:
Creating a "staging" directory - $ mkdir ~/<Destination Directory> - $ cd ~/<Download Directory>/Open-ILS/xul/ - $ cp -r staff_client ~/<Destination Directory> - + $ mkdir ~/<Destination Directory> + $ cd ~/<Download Directory>/Open-ILS/xul/ + $ cp -r staff_client ~/<Destination Directory> +
Finally, test the Staff Client to verify that all the necessary files were moved to the destination directory:
Testing the copied Staff Client - $ cd ~/<Destination Directory>/staff_client/build - $ xulrunner application.ini - + $ cd ~/<Destination Directory>/staff_client/build + $ xulrunner application.ini +
If there were no problems, then finish the cleanup by removing the original download directory and all subdirectories:
Cleaning up - $ rm -r -f ~/<Download Directory> - + $ rm -r -f ~/<Download Directory> +
Finally, test the copied Staff Client. You can create "Desktop / Start Menu / K-Menu" shortcuts for the Staff Client by using the following command as the target:
Running the copied Staff Client - $ xulrunner ~/<Destination Directory>/staff_client/build/application.ini - + $ xulrunner ~/<Destination Directory>/staff_client/build/application.ini +
-
-
+ +
- Using Wine to Install On Linux - The Linux application Wine is another alternative for those who wish to install the packaged Windows versions rather than building the Staff Client manually. Wine is a Linux application that allows users to directly run Windows executables, and is a simple way for casual Linux users to use the Staff Client. More information about Wine can be found at http://www.winehq.org/site/docs/wineusr-guide/getting-wine. - As the root user, use "apt-get" to install the package for "wine". You can also use "synaptic", the graphical user interface. - - - Install wine + Using <application>Wine</application> to Install On Linux + The Linux application Wine is another alternative for those who wish to install the packaged Windows versions rather than building the Staff Client manually. Wine is a Linux application that allows users to directly run Windows executables, and is a simple way for casual Linux users to use the Staff Client. More information about Wine can be found at http://www.winehq.org/site/docs/wineusr-guide/getting-wine. + As the root user, use apt-get to install the package for Wine. You can also use synaptic, the graphical user interface. + + + Install Wine
- Installing "wine" + Installing <application>Wine</application> - $ sudo apt-get install wine - + $ sudo apt-get install wine +
-
- - Download Windows installer for the Staff Client - As the opensrf user, run the following commands to download the Windows installer for the proper Staff Client from the open-ils.org website and place it in a temporary directory: + + + Download Windows installer for the Staff Client + As the opensrf user, run the following commands to download the Windows installer for the proper Staff Client from the open-ils.org website and place it in a temporary directory:
Downloading the Staff Client installer - $ su - opensrf - $ cd /YOUR/DOWNLOAD/DIRECTORY - $ wget http://open-ils.org/downloads/evergreen-setup-rel_version-number.exe - + $ su - opensrf + $ cd /YOUR/DOWNLOAD/DIRECTORY + $ wget http://open-ils.org/downloads/evergreen-setup-rel_version-number.exe +
-
- - Run the downloaded Windows installer - As the opensrf user, navigate to the directory where you downloaded the Windows executable file, then execute it: + + + Run the downloaded Windows installer + As the opensrf user, navigate to the directory where you downloaded the Windows executable file, then execute it:
- Using Wine to run the Windows installer + Using Wine to run the <systemitem class="osname">Windows</systemitem> installer - $ su - opensrf - $ cd /YOUR/DOWNLOAD/DIRECTORY - $ wine evergreen-setup-rel_version-number.exe - + $ su - opensrf + $ cd /YOUR/DOWNLOAD/DIRECTORY + $ wine evergreen-setup-rel_version-number.exe +
- If this step fails, you may need to configure Wine first to properly emulate Windows XP. To do so, type "winecfg" from the command line; in the "Applications" tab of the window that pops up, select "Default Settings" and choose "Windows XP" from the drop-down menu, then click "Apply". -
- + If this step fails, you may need to configure Wine first to properly emulate WindowsXP. To do so, type the command winecfg from the command line; in the Applications tab of the window that pops up, select Default Settings and choose Windows XP from the drop-down menu, then click Apply. + + Launch the Staff Client - A new entry for the Staff Client should now appear somewhere in the "All Applications" menu of your Linux desktop. Also, find a new desktop shortcut for the Staff Client. To launch the Staff Client, visit the "All Applications" menu, find a section similar to "Wine->Program Files->Evergreen Staff Client->Evergreen Staff Client", or else launch the Staff Client from the desktop shortcut. - -
+ A new entry for the Staff Client should now appear somewhere in the All Applications menu of your Linux desktop. Also, find a new desktop shortcut for the Staff Client. To launch the Staff Client, visit the All Applications menu, find a section similar to WineProgram FilesEvergreen Staff ClientEvergreen Staff Client +, or else launch the Staff Client from the desktop shortcut. + +
Running the Staff Client over an SSH Tunnel - The Staff Client can use an SSH tunnel as a SOCKS 5 proxy. For more details, see the section Configuring a Proxy for the Staff Client. + The Staff Client can use an SSH tunnel as a SOCKS 5 proxy. For more details, see .
@@ -1802,7 +1819,7 @@ - Select the library this workstation physically operates in from the drop down menu. In this example, we have selected "MGRL-MA". Type in a friendly name for the workstation. In this example, we are installing the Staff Client on the director's personal system, and have named it as such. Then hit Register. + Select the library this workstation physically operates in from the drop down menu. In this example, we have selected MGRL-MA. Type in a friendly name for the workstation. In this example, we are installing the Staff Client on the director's personal system, and have named it as such. Then hit Register. Once you have registered your workstation with the server, your screen will look like this:
Example of registered Staff Client @@ -1818,10 +1835,10 @@
Manually Building the Staff Client This section reviews the process of manually building the Staff Client in various environments. - The Staff Client is automatically built by default as part of the normal make install process for Evergreen server-side software. See the section "Compile, Link and Install Evergreen" to review details related to building the Staff Client in the final compile/link/install phase of the default Evergreen build process. + The Staff Client is automatically built by default as part of the normal make install process for Evergreen server-side software. See to review details related to building the Staff Client in the final compile/link/install phase of the default Evergreen build process.
Building the Staff Client - You can also manually build the Staff Client by using the make utility in the Staff Client source directory (e.g., the directory /home/opensrf/Evergreen-ILS-1.6.0.x/Open-ILS/xul/staff_client for the current Evergreen version). There are a number of possible options to manually build special versions of the Staff Client on a Linux system. Following is a list of environment variables that can be passed to make to influence the manual build process: + You can also manually build the Staff Client by using the make utility in the Staff Client source directory (e.g., the directory /home/opensrf/Evergreen-ILS-1.6.0.x/Open-ILS/xul/staff_client for the current Evergreen version). There are a number of possible options to manually build special versions of the Staff Client on a Linux system. Following is a list of environment variables that can be passed to make to influence the manual build process:
Option STAFF_CLIENT_BUILD_ID During the normal make install Evergreen server-side software build process, the variable defaults to an automatically generated date/time string, but you can also override the value of BUILD_ID. @@ -1829,48 +1846,48 @@
Commands used during normal Evergreen build - $ su - root - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7 - $ make STAFF_CLIENT_BUILD_ID=rel_1_6_0_7 install - ... - + $ su - root + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7 + $ make STAFF_CLIENT_BUILD_ID=rel_1_6_0_7 install + ... +
The following commands will manually build the Staff Client using a different BUILD_ID. - As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client: + As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client:
Commands to manually build the Staff Client - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - $ make STAFF_CLIENT_BUILD_ID=my_test_id build - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + $ make STAFF_CLIENT_BUILD_ID=my_test_id build + ... +
Option STAFF_CLIENT_VERSION - During the normal make install Evergreen server-side software build process, the variable is pulled automatically from a README file in the Evergreen source root. The variable defaults to 0trunk.revision, where the value of "revision" is automatically generated. You can override the value of VERSION similarly to the BUILD_ID. + During the normal make install Evergreen server-side software build process, the variable is pulled automatically from a README file in the Evergreen source root. The variable defaults to 0trunk.revision, where the value of revision is automatically generated. You can override the value of VERSION similarly to the BUILD_ID. The following commands could be used during the normal build process:
Commands used during normal Evergreen build - $ su - root - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7 - $ make STAFF_CLIENT_VERSION=0mytest.200 install - ... - + $ su - root + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7 + $ make STAFF_CLIENT_VERSION=0mytest.200 install + ... +
The following commands will manually build the Staff Client using a different VERSION. If you plan to make extensions update automatically, the VERSION needs to conform to the format recommended in Toolkit Version Format and newer versions need to be "higher" than older versions. - As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client: + As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client:
Commands to manually build the Staff Client - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - $ make STAFF_CLIENT_VERSION=0mytest.200 build - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + $ make STAFF_CLIENT_VERSION=0mytest.200 build + ... +
@@ -1880,31 +1897,31 @@
Commands used during normal Evergreen build - $ su - root - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7 - $ make STAFF_CLIENT_STAMP_ID=my_test_stamp install - ... - + $ su - root + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7 + $ make STAFF_CLIENT_STAMP_ID=my_test_stamp install + ... +
The following commands will manually build the Staff Client using a different STAMP_ID. It is possible to have multiple versions of the Staff Client by specifying a different STAMP_ID for each, possibly for different uses or client-side customizations. - As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client: + As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client:
Commands to manually build the Staff Client - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - $ make STAFF_CLIENT_STAMP_ID=my_test_stamp build - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + $ make STAFF_CLIENT_STAMP_ID=my_test_stamp build + ... +
Advanced Build Options - In addition to the basic options listed above, there are a number of advanced options for building the Staff Client. Most are target names for the make utility and require that you build the Staff Client from its source directory. See the following table for a list of possible make target keywords: + In addition to the basic options listed above, there are a number of advanced options for building the Staff Client. Most are target names for the make utility and require that you build the Staff Client from its source directory. See the following table for a list of possible make target keywords: - Keywords Targets for "make" Command + Keywords Targets for <application>make</application> Command @@ -1957,7 +1974,7 @@ [generic-|win-|linux-|extension-]updates[-client] - Calls external/make_updates.sh to build full and partial updates generic/win/linux/extension prefix limit to that distribution; Adding "-client" builds clients and copies them to a subdirectory of the "updates" directory as well; "extension-updates-client" doesn't exist. + Calls external/make_updates.sh to build full and partial updates generic/win/linux/extension prefix limit to that distribution; Adding the string "-client" builds clients and copies them to a subdirectory of the directory updates as well; the target "extension-updates-client" doesn't exist. @@ -1966,43 +1983,43 @@ Developer Build - You can create a so-called "developer build" of the Staff Client by substituting "devbuild" for "build" when running make. The build will contain an extra configuration file that enables some developer options. - As the opensrf user, run make from the Staff Client source directory: + You can create a so-called "developer build" of the Staff Client by substituting devbuild for build when running make. The build will contain an extra configuration file that enables some developer options. + As the opensrf user, run make from the Staff Client source directory:
Commands to do a "developer build" - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - $ make devbuild - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + $ make devbuild + ... +
Compressed Javascript - You can execute the Google "Closure Compiler" utility to automatically review and compress Javascript code after the build process completes, by substituting "compress-javascript" for "build" when running make. For more information see Google "Closure Compiler". - As the opensrf user, run the following commands from the Staff Client source directory: + You can execute the Google application Closure Compiler to automatically review and compress Javascript code after the build process completes, by substituting compress-javascript for build when running make. For more information see Google "Closure Compiler". + As the opensrf user, run the following commands from the Staff Client source directory:
Commands to compress Javascript - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - $ make compress-javascript - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + $ make compress-javascript + ... +
You can also combine Javascript review and compression, and also perform a "developer build". - As the opensrf user, run the following commands from the Staff Client source directory: + As the opensrf user, run the following commands from the Staff Client source directory:
Commands to compress Javascript and do a "developer build" - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - - # order of options is important! - $ make devbuild compress-javascript - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + + # order of options is important! + $ make devbuild compress-javascript + ... +
@@ -2011,64 +2028,64 @@
Commands to set AUTOUPDATE_HOST for normal Evergreen build - $ su - root - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7 - $ make AUTOUPDATE_HOST=localhost install - ... - + $ su - root + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7 + $ make AUTOUPDATE_HOST=localhost install + ... +
You can manually set AUTOUPDATE_HOST to set up automatic update checking. The following commands will manually build the Staff Client using a different AUTOUPDATE_HOST. - As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client: + As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client:
Commands to manually specify AUTOUPDATE_HOST - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - $ make AUTOUPDATE_HOST=localhost build - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + $ make AUTOUPDATE_HOST=localhost build + ... +
- For more information on Automatic Updates, see the section "Automatic Updates". + For more information on Automatic Updates, see .
Installing and Activating a Manually Built Staff Client The Staff Client is automatically built, installed and activated as part of the normal make install process for Evergreen server-side software. However, if you manually build the Staff Client, then you need to take additional steps to properly install and activate it. You also have the option of installing the Staff Client on the same machine it was built on, or on a different machine. - Assuming you have already built the Staff Client, and that your installation is in the directory /openils/var/web/xul, as the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + Assuming you have already built the Staff Client, and that your installation is in the directory /openils/var/web/xul, as the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Commands to install the Staff Client on the same machine - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - $ mkdir -p "/openils/var/web/xul/$(cat build/BUILD_ID)" - $ cp -R build/server "/openils/var/web/xul/$(cat build/BUILD_ID)" - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + $ mkdir -p "/openils/var/web/xul/$(cat build/BUILD_ID)" + $ cp -R build/server "/openils/var/web/xul/$(cat build/BUILD_ID)" +
Packaging the Staff Client - Once the Staff Client has been built, you can create several forms of client packages by using some targetted make commands in the Staff Client source directory. + Once the Staff Client has been built, you can create several forms of client packages by using some targetted make commands in the Staff Client source directory. Packaging a Generic Client - This build creates a Staff Client packaged as an XPI file to use with XULRunner. It requires that you already have the "zip" utility installed on your system. It will create the output file "evergreen_staff_client.xpi", suitable for use with the XULRunner parameter --install-app. - As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + This build creates a Staff Client packaged as an XPI file to use with XULRunner. It requires that you already have the zip utility installed on your system. It will create the output file evergreen_staff_client.xpi, suitable for use with the XULRunner option . + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Commands to package a "generic" client - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - $ make generic-client - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + $ make generic-client + ... +
- Packaging a Windows Client - This build creates a Staff Client packaged as a Windows executable. It requires that you already have the "unzip" utility installed on your system. It also requires that you install NSIS (Nullsoft Scriptable Install System), a professional open source utility package used to create Windows installers (the "makensis" utility is installed as part of the "nsis" package). We recommend using Version 2.45 or later. This build will create the output file "evergreen_staff_client_setup.exe". - (OPTIONAL) If you wish for the Staff Client to have a link icon/tray icon by default, you may wish to provide a pre-modified xulrunner-stub.exe. Place it in the Staff Client source directory and make will automatically use it instead of the one that comes with the downloaded XULRunner release. The version of xulrunner-stub.exe need not match exactly. - (OPTIONAL) You can also use a tool such as Resource Hacker to embed icons. "Resource Hacker" is an open-source utility used to view, modify, rename, add, delete and extract resources in 32bit Windows executables. See the following table for some useful icon ID strings: + Packaging a Windows Client + This build creates a Staff Client packaged as a Windows executable. It requires that you already have the unzip utility installed on your system. It also requires that you install NSIS (Nullsoft Scriptable Install System), a professional open source utility package used to create Windows installers (the makensis utility is installed as part of the nsis package). We recommend using Version 2.45 or later. This build will create the output file evergreen_staff_client_setup.exe. + (OPTIONAL) If you wish for the Staff Client to have a link icon/tray icon by default, you may wish to provide a pre-modified xulrunner-stub.exe. Place it in the Staff Client source directory and make will automatically use it instead of the one that comes with the downloaded XULRunner release. The version of xulrunner-stub.exe need not match exactly. + (OPTIONAL) You can also use a tool such as Resource Hacker to embed icons. Resource Hacker is an open-source utility used to view, modify, rename, add, delete and extract resources in 32bit Windows executables. See the following table for some useful icon ID strings:
Useful icon ID strings @@ -2086,43 +2103,43 @@
- As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
- Commands to build a Windows client + Commands to build a <systemitem class="osname">Windows</systemitem> client - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - $ make win-client - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + $ make win-client + ... +
- Packaging a Linux Client - This build creates a Staff Client package for Linux as a "tar.bz2" file with XULRunner already bundled with it. It creates the output file "evergreen_staff_client.tar.bz2". - As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + Packaging a Linux Client + This build creates a Staff Client package for Linux as a "tar.bz2" file with XULRunner already bundled with it. It creates the output file evergreen_staff_client.tar.bz2. + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
- Commands to build a Linux client + Commands to build a <systemitem class="osname">Linux</systemitem> client - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - $ make linux-client - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + $ make linux-client + ... +
Packaging a Firefox Extension - This build requires that you already have the "zip" utility installed on your system. It creates a Staff Client packaged as a Firefox extension and creates the output file "evergreen.xpi". - As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + This build requires that you already have the zip utility installed on your system. It creates a Staff Client packaged as a Firefox extension and creates the output file evergreen.xpi. + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Commands to build a Firefox extension - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - $ make extension - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + $ make extension + ... +
@@ -2133,12 +2150,12 @@
WARNINGS Automatic update server certificate requirements are more strict than normal server requirements. Firefox and XULRunner will both ignore any automatic update server that is not validated by a trusted certificate authority. Servers with exceptions added to force the Staff Client to accept them WILL NOT WORK. - In addition, automatic updates have special requirements for the file update.rdf: + In addition, automatic updates have special requirements for the file update.rdf: It must be served from an SSL server, or It must be signed with the McCoy tool. - You can pre-install the signing key into the file install.rdf directly, or install it into a copy as install.mccoy.rdf. If the latter exists it will be copied into the build instead of the original file install.rdf. + You can pre-install the signing key into the file install.rdf directly, or install it into a copy as install.mccoy.rdf. If the latter exists it will be copied into the build instead of the original file install.rdf.
Autoupdate Host @@ -2151,90 +2168,90 @@ At configuration time for the normal build of Evergreen server-side software - This must be done when the Evergreen server-side software is first configured (see the section "Configure Evergreen" ). As the opensrf user, use the utility "configure" as shown: + This must be done when the Evergreen server-side software is first configured (see ). As the opensrf user, use the configure utility as shown:
Commands to configure Evergreen - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7 - $ ./configure --prefix=/openils --sysconfdir=/openils/conf --with-updateshost=hostname - $ make - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7 + $ ./configure --prefix=/openils --sysconfdir=/openils/conf --with-updateshost=hostname + $ make + ... +
During a manual Staff Client build process - You will used the variable AUTOUPDATE_HOST=hostname (see above). If you specify just a hostname (such as "example.com") then the URL will be a secure URL (such as "https://example.com". If you wish to use a non-HTTPS URL then prefix the hostname with "http://" (such as "http://example.com"). + You will used the variable AUTOUPDATE_HOST=hostname (see above). If you specify just a hostname (such as example.com) then the URL will be a secure URL (such as https://example.com. If you wish to use a non-HTTPS URL then prefix the hostname with "http://" (such as http://example.com). If neither option is used then, by default, the Staff Client will not include the automatic update preferences.
Building Updates - Similar to building clients, the targets "generic-updates", "win-updates", "linux-updates", and "extension-updates" can be used individually with make to build the update files for the Staff Client. To build all the targets at once, simply use the target "updates". - A "full" update will be built for each specified target (or for all if you use the target "updates"). For all but extensions any previous "full" updates (archived by default in the directory /openils/var/updates/archives) will be used to make "partial" updates. Partial updates tend to be much smaller and will thus download more quickly, but if something goes wrong with a partial update the full update will be used as a fallback. Extensions do not currently support partial updates. - As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + Similar to building clients, the targets generic-updates, win-updates, linux-updates, and extension-updates can be used individually with make to build the update files for the Staff Client. To build all the targets at once, simply use the target updates. + A "full" update will be built for each specified target (or for all if you use the target updates). For all but extensions any previous "full" updates (archived by default in the directory /openils/var/updates/archives) will be used to make "partial" updates. Partial updates tend to be much smaller and will thus download more quickly, but if something goes wrong with a partial update the full update will be used as a fallback. Extensions do not currently support partial updates. + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Commands for building updates - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - - # command to build all updates at once: - $ make updates - ... - - # commands to build updates individually: - $ make generic-updates - ... - $ make win-updates - ... - $ make linux-updates - ... - $ make extension-updates - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + + # command to build all updates at once: + $ make updates + ... + + # commands to build updates individually: + $ make generic-updates + ... + $ make win-updates + ... + $ make linux-updates + ... + $ make extension-updates + ... +
Building updates with clients - To save time and effort you can build updates and manual download clients at the same time by adding the string "-client" to each target name. For instance, you can specify "win-updates-client". You can also specify "updates-client" to build all the targets at once. This does not work for extension-updates. - The clients will be installed alongside the updates and listed on the "manualupdate.html" page, rather than left in the Staff Client directory. - As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + To save time and effort you can build updates and manual download clients at the same time by adding the string "-client" to each target name. For instance, you can specify win-updates-client. You can also specify updates-client to build all the targets at once. This does not work for extension-updates. + The clients will be installed alongside the updates and listed on the web page manualupdate.html, rather than left in the Staff Client directory. + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Commands for building updates - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - - # command to build all updates at once: - $ make updates-client - ... - - # commands to build updates individually: - $ make generic-updates-client - ... - $ make win-updates-client - ... - $ make linux-updates-client - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + + # command to build all updates at once: + $ make updates-client + ... + + # commands to build updates individually: + $ make generic-updates-client + ... + $ make win-updates-client + ... + $ make linux-updates-client + ... +
Activating the Update Server This section reviews scripts associated with the update server, and requires some final adjustments to file permissions. - The Apache example configuration creates an "updates" directory that, by default, points to the directory /openils/var/updates/pub. This directory contains one HTML file and several specially-named script files. - The "updatedetails.html" file is the fallback web page for the update details. The "check" script is used for XULRunner updates. The "update.rdf" script is used for extension updates. The "manualupdate.html" script checks for clients to provide download links when automatic updates have failed and uses the download script to force a download of the generic client XPI (compared to Firefox trying to install it as an extension). - The following scripts should be marked as executable: check, download, manualupdate.html, update.rdf. As the root user, change directory to the updates directory, then execute the following commands: + The Apache example configuration creates a directory updates that, by default, points to the directory /openils/var/updates/pub. This directory contains one HTML file and several specially-named script files. + The file updatedetails.html is the fallback web page for the update details. The check script is used for XULRunner updates. The update.rdf script is used for extension updates. The manualupdate.html script checks for clients to provide download links when automatic updates have failed and uses the download script to force a download of the generic client XPI (compared to Firefox trying to install it as an extension). + The following scripts should be marked as executable: check, download, manualupdate.html, update.rdf. As the root user, change directory to the updates directory, then execute the following commands:
Changing file permissions of scripts - $ su - root - $ cd /openils/var/updates/pub - $ chmod +x check download manualupdate.html update.rdf - + $ su - root + $ cd /openils/var/updates/pub + $ chmod +x check download manualupdate.html update.rdf +
@@ -2242,37 +2259,37 @@ Other tips
Multiple workstations on one install - Multiple workstation registrations for the same server can be accomplished with a single Staff Client install by using multiple profiles. When running XULRunner you can specify the option "-profilemanager" or "-P" (uppercase "P") to force the Profile Manager to start. Unchecking the "Don't ask at startup" option will make this the default. + Multiple workstation registrations for the same server can be accomplished with a single Staff Client install by using multiple profiles. When running XULRunner you can specify the option or (uppercase "P") to force the Profile Manager to start. Unchecking the option will make this the default. Once you have opened the Profile Manager you can create additional profiles, one for each workstation you wish to register. You may need to install SSL exceptions for each profile. - When building targets "win-client", "win-updates-client", or "updates-client", you can specify "NSIS_EXTRAOPTS=-DPROFILES" to add an "Evergreen Staff Client Profile Manager" option to the start menu. - As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + When building targets win-client, win-updates-client, or updates-client, you can specify NSIS_EXTRAOPTS=-DPROFILES to add an "Evergreen Staff Client Profile Manager" option to the start menu. + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Command to add start menu option - $ su - opensrf - $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client - $ make NSIS_EXTRAOPTS=-DPROFILES win-client - ... - + $ su - opensrf + $ cd /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client + $ make NSIS_EXTRAOPTS=-DPROFILES win-client + ... +
Multiple Staff Clients This may be confusing if you are not careful, but you can log in to multiple Evergreen servers at the same time, or a single Evergreen server multiple times. In either case you will need to create an additional profile for each additional server or workstation you want to log in as (see previous tip). - Once you have created the profiles, run XULRunner with the option "-no-remote" (in addition to "-profilemanger" or "-P" if neeeded). Instead of XULRunner opening a new login window on your existing session it will start a new session instead, which can then be logged in to a different server or workstation ID. + Once you have created the profiles, run XULRunner with the option (in addition to or if neeeded). Instead of XULRunner opening a new login window on your existing session it will start a new session instead, which can then be logged in to a different server or workstation ID.
Running the Staff Client - Run the Staff Client on a Linux system by using the application XULRunner (installed automatically and by default with Firefox version 3.0 and later on Ubuntu and Debian distributions). - For example, if the source files for the Evergreen installation are in the directory /home/opensrf/Evergreen-ILS-1.6.0.7/, start the Staff Client as shown in the following command example: + Run the Staff Client on a Linux system by using the application XULRunner (installed automatically and by default with Firefox version 3.0 and later on Ubuntu and Debian distributions). + For example, if the source files for the Evergreen installation are in the directory /home/opensrf/Evergreen-ILS-1.6.0.7/, start the Staff Client as shown in the following command example:
Commands to run the Staff Client - $ su - opensrf - $ xulrunner /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client/build/application.ini - + $ su - opensrf + $ xulrunner /home/opensrf/Evergreen-ILS-1.6.0.7/Open-ILS/xul/staff_client/build/application.ini +
@@ -2291,8 +2308,8 @@
Setting Up an SSH Tunnel - You will need a server that allows you to log in via SSH and has network access to the Evergreen server you want to reach. You will use your username and password for that SSH server to set up a tunnel. - For Windows users, one good solution is the open-source utility PuTTY, a free telnet/SSH client]]. When setting up a PuTTY session: + You will need a server that has network access to the Evergreen server you want to reach, and allows you to log in there via SSH. Use your username and password for that SSH server to set up a tunnel. + For Windows users, one good solution is the open-source utility PuTTY, a free telnet/SSH client. An example of setting up a PuTTY session follows:
Setting up an SSH tunnel in PuTTY @@ -2301,20 +2318,20 @@
- - Use the menu on the left to go to Connection > SSH > Tunnels. - Enter ''9999'' in the "Source port". - Choose "Dynamic". Do not enter anything in the Destination text entry box. - Click the "Add" button. "D9999" will now appear in the "Forwarded ports" list. - Use the menu on the left to go back to "Session", and enter the host name of the SSH server. - A window will open up so that you can enter your username and password. Once you are logged in, the tunnel is open. - + + Use the menu on the left to go to ConnectionSSHTunnels. + Enter 9999 in the "Source port". + Choose Dynamic. Do not enter anything in the Destination text entry box. + Click Add. "D9999" will now appear in the "Forwarded ports" list. + Use the menu on the left to go back to "Session", and enter the host name of the SSH server. + A window will open up so that you can enter your username and password. Once you are logged in, the tunnel is open. +
Configuring the Staff Client to Use the SSH Tunnel - In order to tell the Staff Client that all traffic should be sent through the SSH tunnel just configured, you must edit the file C:\Program Files\Evergreen Staff Client\greprefs\all.js. Search this file for the word socks to find the appropriate section for the following changes. + In order to tell the Staff Client that all traffic should be sent through the SSH tunnel just configured, you must edit the file C:\Program Files\Evergreen Staff Client\greprefs\all.js. Search this file for the word socks to find the appropriate section for the following changes.
- The SOCKS section of "all.js" before changes + The SOCKS section of <filename>all.js</filename> before changes @@ -2323,11 +2340,11 @@
Make the following changes: - Change the value of network.proxy.socks from "" to "localhost". + Change the value of network.proxy.socks from "" to "localhost". Change the value of network.proxy.socks_port from "0" to 9999.
- The SOCKS section of "all.js" after changes + The SOCKS section of <filename>all.js</filename> after changes @@ -2338,52 +2355,5 @@
-
- memcached Servers - - ZZZ-REVIEW - ADD CONTENT FOR MEMCACHED - - ADD CONTENT FOR MEMCACHED -
-
- Organization and Policy Editing - After installing Evergreen, you will want to make configuration changes to reflect the organizational hierarchy and the policies of your library or libraries. See the section "Organizational Unit Types and Organizational Units" for further information. Examples of what can be configured include: - - Adding a branch library - Changing circulation rules for an existing library - Adding a new staff position or user group - - - ZZZ-REVIEW - ADD CONTENT FOR ORGANIZATION AND POLICY EDITING - - ADD CONTENT FOR ORGANIZATION AND POLICY EDITING -
-
- Installing the SIP Server - - ZZZ-REVIEW - ADD CONTENT FOR INSTALLING THE SIP SERVER - - ADD CONTENT FOR INSTALLING THE SIP SERVER -
-
- Using nginx to serve static content - - ZZZ-REVIEW - ADD CONTENT FOR USING NGINX TO SERVE STATIC CONTENT - - ADD CONTENT FOR USING NGINX TO SERVE STATIC CONTENT -
-
- (OPTIONAL) Configuration for Other Languages - This section describes how translations such as Armenian (hy-AM), Canadian French (fr-CA) and others are loaded into the database to complete the translations (default English) available in the OPAC and Staff Client. - - ZZZ-REVIEW - ADD SECTION ON LANGUAGE LOCALIZATION - - ADD SECTION ON LANGUAGE LOCALIZATION -
-- 2.43.2