 |
|
01 Mar 2006
H-Sphere versions: All
We recommend upgrading PostgreSQL server to 7.4.16
and fix Security hole.
System Requirements:
- H-Sphere 2.4.1 Patch 2 and higher. If you are running an earlier version of H-Sphere,
this patch will break your installation.
- If your Postgres is older than v.7.3 or system DB encoding is other than UTF-8, manual update is highly recommended.
Update procedure:
H-Sphere 2.4.3 +:
Procedure:
- Log into your control panel server as root:
su -
- Download the PostgreSQL 7.4.16 upgrade script from the psoft site:
For Linux:
wget http://www.psoft.net/shiv/HS/u-pgsql-7.4.16.tar.gz
For FreeBSD:
fetch http://www.psoft.net/shiv/HS/u-pgsql-7.4.16.tar.gz
- Unpack the archive:
tar xfz u-pgsql-7.4.16.tar.gz
- Enter the unpacked directory:
cd u-pgsql-7.4.16
- To upgrade all PostgreSQL servers, run the update.sh script:
sh update.sh
To run the script and view the messages that appeared during installation, run the following command:
sh update.sh | tee update.log
It will copy the messages to the log file.
H-Sphere 2.5 +:
Procedure:
- Run HS updater for
H-Sphere 2.5
sh U25.0P9
- Execute updater command:
hspackages postgres
H-Sphere 3.0 +:
Procedure:
- Run HS updater for the latest version of
H-Sphere 3.0.0 from the directory the updater is located.
sh U30.0RC4 or
sh U30.0P2SSE
- To update the packages to the latest version, execute:
hspackages postgres
|
 |