Installing Pervasive PSQL Vx Server Using TAR
The tape archive (TAR) format allows you to install Pervasive PSQL Vx Server if you have a Linux distribution that does not support the RPM format or if you prefer not to use RPM.
This section explains how to install the following Pervasive PSQL Vx Server products using TAR:
If you have any trouble with installation, see the chapter Troubleshooting After Installation.
Installing Pervasive PSQL Vx Server for Linux - TAR
The name of the Pervasive PSQL Vx Server installation package conforms to the following conventions.
Pervasive.SQL-Vx-yy.yy-zzz.zzz.x86_64.tar.gz
Pervasive.SQL-Vx-yy.yy-zzz.zzz.i486.tar.gz
In all cases, the yy.yy designates a release number and zzz.zzz designates a build number. Refer to the distribution media for the actual name of the package.
Installation is categorized as either first time, in which no previous version exists, or upgrade, in which a previous version exists.
First Time Installation
1
2
Change to the /usr/local directory.
cd /usr/local
3
cp <path_to_tar>/<Vx_Server_Package_Name> .
*Note: Refer to Vx Server Package Names - TAR for the package name to use. You must include the appropriate release and build number information to perform the installation. Verify the complete package name from the distribution media.
4
tar -xzf <Vx_Server_Package_Name>
5
cd psql/etc
6
sh preinstall.sh
7
sh postinstall.sh
Your tar installation is complete. For additional information, see Installing Pervasive PSQL Vx Server Using TAR.
Upgrade Installation
No upgrade is allowed from Pervasive PSQL Server or Pervasive PSQL Workgroup to Pervasive PSQL Vx Server. You cannot install Pervasive PSQL Vx Server on the same machine, physical or VM, with Pervasive PSQL Server or Pervasive PSQL Workgroup.
See Uninstalling Pervasive PSQL Vx Server for Linux for information on uninstalling Pervasive PSQL.
Installing Pervasive PSQL Client for Linux - TAR
The name of the Pervasive PSQL Client installation package conforms to the following conventions:
Pervasive.SQL-Client-Core-yy.yy-zzz.zzz.x86_64.tar.gz
Pervasive.SQL-Client-yy.yy-zzz.zzz.i486.tar.gz
In all cases, the yy.yy designates a release number and zzz.zzz designates a build number. Refer to the distribution media for the actual name of the package.
Installation is categorized as either first time, in which no previous version exists, or upgrade, in which a previous version exists.
*Note: The Client 64-bit installation does not include certain utilities, documentation, or SDK components. To install them, you need to install both the Client 64-bit and Client 32-bit products. Because this is the same as for the Pervasive PSQL Client for Windows, see Installing the Pervasive PSQL Client for Windows for details.
First Time Installation
1
2
Change to the /usr/local directory.
cd /usr/local
3
cp path_to_tar/<Client_Package_Name> .
*Note: Refer to Client Package Names - TAR for the package name to use. You must include the appropriate release and build number information to perform the installation. Verify the complete package name from the distribution media.
4
tar -xzf <Client_Package_Name>
The unpacking action creates a directory named “psqlclient.”
5
Change directories to the /usr/local/psql/etc folder where the Pervasive PSQL installation scripts reside.
cd psql/etc
6
sh clientpreinstall.sh
7
sh clientpostinstall.sh
Your tar installation is complete. For additional information, see After Installing Pervasive PSQL Vx Server for Linux and Configuring Network Communications for Clients.
Upgrade Installation
If you have a previous version of Pervasive PSQL Client already installed, you must uninstall it and then install the Client. See Uninstalling Pervasive PSQL Vx Server for Linux for information on uninstalling Pervasive PSQL for more information.
Installing Pervasive Backup Agent for Linux - TAR
Pervasive Backup Agent is an optional installation. The utility provides an alternative method for implementing Continuous Operations. See Pervasive Backup Agent Guide for details.
The name of the Pervasive Backup Agent installation package conforms to the following conventions:
Pervasive-Backup-Agent-yy.yy-zzz.zzz.x86_64.tar.gz
Pervasive-Backup-Agent-yy.yy-zzz.zzz.i486.tar.gz
In all cases, the yy.yy designates a release number and zzz.zzz designates a build number. Refer to the distribution media for the actual name of the package.
*Caution: Installation of Backup Agent stops and then restarts Pervasive PSQL services, so your database is briefly shut down.
If you have a previous version of Pervasive Backup Agent already installed, you must uninstall that product before installing it again.
1
2
cd /usr/local/psql
3
cp <path>/Pervasive-Backup-Agent-yy.yy-zzz.zzz.tar.gz .
4
tar -xzf Pervasive-Backup-Agent-yy.yy-zzz.zzz.tar.gz
5
cd pba/etc
6
sh preinstall.sh
7
sh postinstall.sh
If successful, the prompt displays the following message:
Install has successfully completed.
The scripts perform the following actions:
8
ps -e | egrep mkded
To use Pervasive Backup Agent on Linux, see the topic “Using Backup Agent on Linux” in Pervasive Backup Agent Guide.