As an alternative to using the installation program, you can extract script-based installable Dynamic Server media (server and client products only). The extraction mode uses the installation program to extract the media and provide the Software License Agreement. After the extraction, when you are ready to install the product, you must run the command-line install script.
>>-+-installserver----+-- -legacy--+-----------+----------------> +-installconn------+ '--- -gui---' '-installclientsdk-' >--+--------------------+--+----------------------+-------------> '- -log--logfilename-' '- -javahome--Java dir-' >--+----------------------+--+---------------------+----------->< '- -tempdir--temp path-' +- -is:freediskblocks-+ '- -is:nospacecheck---'
The following table explains the syntax elements.
Element | Purpose | Restrictions |
---|---|---|
Java dir | Specifies the JRE on the host computer to use during installation instead of the JRE provided by the installation program | The JRE must be version 1.3.2 or higher. |
logfilename | Specifies a non-default log filename | None |
temp path | Specifies the path to temporary directory. If you receive an error during file extraction that there is not enough space in the /tmp directory, set the -tempdir option to a different temporary directory. | None |
The following table describes the extraction options.
Option | Meaning |
---|---|
installserver | Extract database server only |
installconn | Extract IConnect only |
installclientsdk | Extract Client SDK only |
-gui | Start the extraction in GUI mode |
-log | Log installation program progress |
-javahome | Use specified JRE. To force the installation program to use the bundled JRE and ignore any local JREs, use the -javahome none argument. |
-tempdir | Use specified temporary directory |
-is:freediskblocks | Use to determine if there is adequate space for the product installation files prior to starting the installation. |
-is:nospacecheck | Use to prevent the installation program from checking if there is adequate space for product installation files. Use with caution: If there is not enough space to extract the temporary files, the installation program will fail. |
-help | Display list of supported options and their functions |
The extraction with command-line installation alternative is provided for users who want to install the product to redistribute it.
This method of installing Dynamic Server does not add a JRE or an uninstall application on your computer.
./installserver -legacy
./installconn -legacy
./installclientsdk -legacy
The installation program is used for the extraction.
You can use the -legacy argument to run the installation program in default console mode, GUI, or silent install mode. The following instructions are for the default console mode.
The Software License Agreement displays.
The server product and installation files are extracted.
cd $INFORMIXDIR ./installserver
You can install IConnect or Client SDK in a similar manner. Change directories to where you want to install the product and as the root user run one the following commands:
./installconn
./installclientsdk
After the installation is complete, the installation script changes the owner of the INFORMIXDIR directory to user informix as well as any subdirectories and files under the INFORMIXDIR directory that the user informix must access or control.
For information on installing IBM Informix JDBC Driver, see IBM Informix: JDBC Driver Programmer's Guide.
The following syntax diagram illustrates the installation options you can use when the Dynamic Server .jar file is invoked directly. To use this installation option, you must have a version of JRE 1.32 or higher.
>>-java -cp-----------------------------------------------------> >--+-suite.jar:SERVER/IIF.jar:CSDK/UNIX/csdk.jar:ICONNECT/UNIX/conn.jar:JDBC/setup.jar-+--> +-relative_directory/IIF.jar--------------------------------------------------------+ +-relative_directory/csdk.jar-------------------------------------------------------+ +-relative_directory/conn.jar-------------------------------------------------------+ '-relative_directory/setup.jar------------------------------------------------------' >--run--+----------------------------+--------------------------> '--- -P legacy.active=true---' >--+------------------------------+--+---------------------+----> '--- -p logFile--logfilename---' +- -is:freediskblocks-+ '- -is:nospacecheck---' >--+- -swing-----------------------------+--------------------->< '- -silent--+- -acceptlicense=yes---+-' '- -options--optionfile-'
Element | Purpose | Restrictions |
---|---|---|
relative_directory | Specifies the path to the specified .jar file. If you execute the command from the directory where the .jar file resides, do not specify a path. | None |
logfilename | Specifies a non-default log filename | None |
optionfile | Specifies file name of *.ini file to preset installation properties | None |
The following table describes the Java-invoked application options.
Option | Meaning |
---|---|
suite.jar | The installation application for all the components of Dynamic Server |
IIF.jar | The installation application for Dynamic Server, database server only |
csdk.jar | The installation application for Client SDK |
conn.jar | The installation application for IConnect |
setup.jar | The installation application for JDBC |
-P legacy.active=true | Extracts files but does not install the product |
-p logfile | Log installation program progress |
-is:freediskblocks | Use to determine if there is adequate space for the product installation files prior to starting the installation. |
-is:nospacecheck | Use to prevent the installation program from checking if there is adequate space for product installation files. Use with caution: If there is not enough space to extract the temporary files, the installation program will fail. |
-swing | Set the Java-invoked application to GUI mode |
-silent | Set the Java-invoked application to silent mode |
-options | Use with optionfile. Specifies file name of *.ini file to preset installation properties |
java -cp IIF.jar run
You must execute this command from the directory of the IIF.jar file.
For more information, see Installing in Console Mode.