From 8e0676664248f9a0dc6bd0c110d9a2270e3bcea6 Mon Sep 17 00:00:00 2001 From: Robert Soulliere Date: Tue, 22 Jan 2013 09:17:26 -0500 Subject: [PATCH] Documentation: Update upgrading the server instructions to point to 2.3.3. Signed-off-by: Robert Soulliere --- docs/installation/server_upgrade.txt | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/docs/installation/server_upgrade.txt b/docs/installation/server_upgrade.txt index 1fb849c2a5..0a535fca22 100644 --- a/docs/installation/server_upgrade.txt +++ b/docs/installation/server_upgrade.txt @@ -46,8 +46,8 @@ the http://evergreen-ils.org/opensrf.php[OpenSRF download page]. + [source, bash] ----------------------------------------------- -wget http://www.open-ils.org/downloads/Evergreen-ILS-2.3.2.tar.gz -tar xzf Evergreen-ILS-2.3.2.tar.gz +wget http://www.open-ils.org/downloads/Evergreen-ILS-2.3.3.tar.gz +tar xzf Evergreen-ILS-2.3.3.tar.gz ----------------------------------------------- + [NOTE] @@ -57,7 +57,7 @@ For the latest edition of Evergreen, check the http://evergreen-ils.org/download + [source, bash] ---------------------------------------------- -cd /home/opensrf/Evergreen-ILS-2.3.2 +cd /home/opensrf/Evergreen-ILS-2.3.3 --------------------------------------------- + On the next command, replace `[distribution]` with one of these values for your @@ -81,7 +81,7 @@ make -f Open-ILS/src/extras/Makefile.install [distribution] + [source, bash] ------------------------------------------------------------ -cd /home/opensrf/Evergreen-ILS-2.3.2 +cd /home/opensrf/Evergreen-ILS-2.3.3 ./configure --prefix=/openils --sysconfdir=/openils/conf make ------------------------------------------------------------ @@ -90,8 +90,8 @@ make + [source, bash] ------------------------------------------------------------ -cd /home/opensrf/Evergreen-ILS-2.3.2 -make STAFF_CLIENT_STAMP_ID=rel_2_3_2 install +cd /home/opensrf/Evergreen-ILS-2.3.3 +make STAFF_CLIENT_STAMP_ID=rel_2_3_3 install ------------------------------------------------------------ + . As the root user, change all files to be owned by the opensrf user and group: @@ -107,7 +107,7 @@ chown -R opensrf:opensrf /openils ----------------------------------------------------------- cd /openils/var/web/xul/ rm server -ln -sf rel_2_3_2/server server +ln -sf rel_2_3_3/server server ---------------------------------------------------------- + . As the opensrf user, update opensrf_core.xml and opensrf.xml by copying the @@ -127,7 +127,7 @@ Copying these configuration files will remove any customizations you have made t + [source, bash] ------------------------------------------------------------------------- -cd /home/opensrf/Evergreen-ILS-2.3.1 +cd /home/opensrf/Evergreen-ILS-2.3.3 perl Open-ILS/src/support-scripts/eg_db_config.pl --update-config --service all \ --create-offline --database evergreen --host localhost --user evergreen --password evergreen ------------------------------------------------------------------------- @@ -144,21 +144,21 @@ For example, if you purchased an SSL certificate, you will need to edit eg.conf + [source, bash] ---------------------------------------------------------- -cp /home/opensrf/Evergreen-ILS-2.3.2/Open-ILS/examples/apache/startup.pl /etc/apache2/startup.pl +cp /home/opensrf/Evergreen-ILS-2.3.3/Open-ILS/examples/apache/startup.pl /etc/apache2/startup.pl ---------------------------------------------------------- + .. Update /etc/apache2/eg_vhost.conf by copying the example from Open-ILS/examples/apache/eg_vhost.conf. + [source, bash] ---------------------------------------------------------- -cp /home/opensrf/Evergreen-ILS-2.3.2/Open-ILS/examples/apache/eg_vhost.conf /etc/apache2/eg_vhost.conf +cp /home/opensrf/Evergreen-ILS-2.3.3/Open-ILS/examples/apache/eg_vhost.conf /etc/apache2/eg_vhost.conf ---------------------------------------------------------- + .. Update /etc/apache2/sites-available/eg.conf by copying the example from Open-ILS/ examples/apache/eg.conf. + [source, bash] ---------------------------------------------------------- -cp /home/opensrf/Evergreen-ILS-2.3.2/Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/eg.conf +cp /home/opensrf/Evergreen-ILS-2.3.3/Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/eg.conf ---------------------------------------------------------- Upgrade the Evergreen database schema @@ -189,10 +189,11 @@ database server connection information: [source, bash] ---------------------------------------------------------- -cd /home/opensrf/Evergreen-ILS-2.3.2/Open-ILS/src/sql/Pg +cd /home/opensrf/Evergreen-ILS-2.3.3/Open-ILS/src/sql/Pg psql -U evergreen -h localhost -f version-upgrade/2.2-2.3.0-upgrade-db.sql evergreen psql -U evergreen -h localhost -f version-upgrade/2.3.0-2.3.1-upgrade-db.sql evergreen psql -U evergreen -h localhost -f version-upgrade/2.3.1-2.3.2-upgrade-db.sql evergreen +psql -U evergreen -h localhost -f version-upgrade/2.3.2-2.3.3-upgrade-db.sql evergreen ---------------------------------------------------------- Restart Evergreen and Test -- 2.43.2