Update Method
Author: Hirohisa Mori / joshuaï¼ globalbase.org + Tomohito Nakajima / nakajimaï¼ zeta.co.jp / ZETA Co. +
[Transrate]Reiko Inoue Bendtsen c/o Suzaku Translations /
(http://www.suzaku-translations.com/) +
*
Abstract
*
System Requirements
*
[Step 1] Confirmation of Contents before Updating
*
[Step 2] Updating from old
*
[Step 3] Decompressing update.tar
Abstract
This section explains how to update an existing HTTP-GATEWAY installation to the newest version.
[UP]
Go To Page Top
System Requirements
The latest LANDSCAPE must be installed in advance. Here, it is explained how to update versions ver.B.b16.11 or later.
[UP]
Go To Page Top
[Step 1] Confirmation of Contents before Updating
The structure of the contents of main.html in gateway/packages/old ( /usr/local/xl-gbs/xlsamples/www/gateway/packages/old ) in LANDSCAPE installations of ver.B.b16.10 or earlier is slightly different from newer versions. For this reason, the update method is different in the specific case of updating contents of gateway/packages/old etc. compared to contents of other directories.
-
How to Update Contents of gateway/packages/old to gatewaypackages/aqua etc. Please proceed to [UNDEF REF (localbase-update-old-to-new)].
-
How to Update Contents of gateway/packages/aqua to a New Version of gateway/packages/aqua Please proceed to "Decompressing update.tar".
[UP]
Go To Page Top
[Step 2] Updating from old
First of all, it must be pointed out that it is not possible to use update.tar in gateway/packages/aqua to update gateway/packages/old or contents set up with LANDSCAPE ver.B.b16.10 or earlier to the newer version using gateway/packages/aqua etc. The first step is therefore to back up the contents currently being published. Let us assume here that the directory containing contents currently being published is hogehoge/gateway.
After backing up the contents, copy the new templates to the appropriate directory using the same procedure as in a normal installation - see
"Setting of HTTP-GATEWAY". After copying, copy the only setting files, client_conf.xml and server_conf.pl, back to the directory containing contents being published.
$ cd hogehoge
$ mv gateway gateway.b
$ cp /usr/local/xl-gbs/xlsamples/www/gateway/packages/[style1]/[style2] gateway
$ cp gateway.b/client_conf.xml gateway
$ cp gateway.b/server_conf.pl gateway
At this point, the update is effectively complete. If you have modified the old contents of main.html, however, it may be necessary to modify the contents to match the new contents of main.html.
[UP]
Go To Page Top
[Step 3] Decompressing update.tar
The update can be made in a very simple way; you just simply decompress the update.tar archive file of each style in the gateway/packages directory in the target directory. That is all.
$ cd hogehoge
$ tar xvf /usr/local/xl-gbs/xlsamples/www/gateway/packages/[style1]/[style2]/update.tar
|
[ATTENTION]
Remember to back up old data before updating. |
[UP]
Go To Page Top