Installing IBM Informix Dynamic Server (IDS).

1 Prerrequisites

Install required libraries.

Copy
dnf install ncurses-compat-libs libaio

2 Version 12.10

Unpack the file containing IDS:

Copy
tar xvf ifx.12.10.FC6WE.LIN-x86_64.tar

This file corresponds to the version 12.10.FC6 Workgroup Edition for Linux 64-bit.

Execute as root the following shell script which is included in the installation package.

Copy
./ids_install

During the installation process, select the following options:

  • Custom installation to install only certain components.
  • Exclude the following components:
    • 24 - [ ] IBM Informix Client SDK
    • 47 - [ ] IBM Informix OpenAdmin Tool
  • Do not enable role separation
  • Do not create a server instance

3 Version 14.10

Log in to the server with the root user:

Copy
sudo su -

Create the directory where we will unpack the files of the product to be installed and move to it:

Copy
mkdir -p /tmp/IDS
cd /tmp/IDS

Unpack the file containing IDS developer edition:

Copy
tar xvf /home/SOFT/INFORMIX_DEV_ED_14.10.FC1_Linux.tar

In the same directory unzip the file that contains the license of the edition that you want to install:

Copy
unzip /home/SOFT/INFORMIX_WG_ED_LIC_Ins_14.10.zip

The contents of the installation directory are shown below:

Copy
ls -l
drwxr-xr-x. 2 root root        99 feb 20 22:41 doc
-rwxr-xr-x. 1 root root 388159473 feb 20 22:46 ids_install
-rw-r--r--. 1 root root      1952 feb 20 22:46 ids.properties
-rwxr-xr-x. 1 root root    980144 feb 20 22:46 onsecurity
-rw-rw-r--. 1 root root      1173 feb 18 15:23 README-Edition.txt
-rw-r--r--. 1 root root      1959 feb 20 22:41 README_ids.txt
-rwxr-xr-x. 1 root root  11829940 feb 18 15:26 we_edition.jar

The file we_edition.jar indicates that the version of informix work group edition will be installed. Below is a list of available editions of informix and its corresponding file:

  • Advanced Enterprise Edition (aee_edition.jar).
  • Advanced Developer Edition (ade_edition.jar).
  • Advanced Enterprise Time Limited Edition (aetl_edition.jar).
  • Enterprise Edition (ee_edition.jar).
  • Time Limited Edition (tl_edition.jar).
  • Workgroup Edition (we_edition.jar).
  • Express Edition (e_edition.jar).
  • Innovator-C Edition (ie_edition.jar).
  • Developer Edition (de_edition.jar).

Launch the installation process and follow the instructions indicated:

Copy
./ids_install

You may run the Informix edition installer to switch the edition of a 14.10 Informix installation from one edition to another. For example:

Example

Launch interactive install using:

Copy
$INFORMIXDIR/jvm/jre/bin/java -jar ee_edition.jar

Silent install can be done using:

Copy
$INFORMIXDIR/jvm/jre/bin/java -jar ee_edition.jar -DUSER_INSTALL_DIR=$INFORMIXDIR -DLICENSE_ACCEPTED=TRUE -i silent

4 Preparation of the environment

4.1 Host and IP address

As root user, edit the file /etc/hosts and add the content show below:

Copy
vi /etc/hosts
Copy
192.168.56.110 vmcentos7     #Servidor base de datos primario

4.2 Firewall rules

As root user, execute the following instructions to enable access through port 9088:

Copy
firewall-cmd --zone=public --add-port=9088/tcp --permanent
Copy
firewall-cmd --reload

4.3 Create the informix user

As root user create the informix user group:

Copy
groupadd informix

And then create the informix user:

Copy
useradd -c "IBM IDS" -g informix informix

Set the password for the informix user:

Copy
passwd informix

4.4 Environment variables

As root user, create the file /etc/profile.d/informix.sh and add the informix global environment variables as shown below:

Copy
vi /etc/profile.d/informix.sh
Copy
export INFORMIXDIR=`grep "^informix:" /etc/passwd | awk -F: '{ print $6 }'`
export INFORMIXSERVER=`uname -n|awk -F'.' '{print $1}'`

#UTF8 Locale
export DB_LOCALE=en_us.utf8
export CLIENT_LOCALE=en_us.utf8

export DBDATE=DMY4-

export PATH=${PATH}:${INFORMIXDIR}/bin
Copy
. /etc/profile.d/informix.sh

In this link you can see more environment variable.

5 Installing Informix

As root user, execute the following instructions to start the installation of informix.

5.1 Unpack the distribution of informix

Move to the directory where we have copied the software from informix and execute the tar command to unpack the file.

Copy
cd /home/SOFT
Copy
tar xvf ibm.ids.14.10.FC1.LNX.tar

5.2 Launch ids installer

Check if environment variables is set:

Copy
echo $INFORMIXDIR
/home/informix

Launch the installation script:

Copy
./ids_install
To Begin Installation,
Respond to each prompt to proceed to the next step in the installation.
If you want to change something on a previous step, type 'back'.

You may cancel this installation at any time by typing 'quit'.

PRESS <ENTER> TO CONTINUE:
Pulse Intro para seguir visualizando el acuerdo de licencia, o entre "1"
   para aceptar el acuerdo, "2" para no aceptarlo, "3" para imprimirlo, "5"
   para visualizarlo en inglés, o "99" para volver a la pantalla anterior.: 1
Choose location for software installation

  Default Install Folder: /home/informix

ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
->1- Typical installation
    2- Custom installation
    3- Extract the product files (-DLEGACY option)

ENTER THE NUMBER FOR YOUR CHOICE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT:
->1- Yes - create a server instance
    2- No - do not create a server instance

ENTER THE NUMBER FOR YOUR CHOICE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT: 2
Disk Space Information (for Installation Target):
    Required:     700.616.060 Bytes
    Available: 12.058.030.080 Bytes

PRESS <ENTER> TO CONTINUE:
InstallAnywhere is now ready to install IBM Informix Software Bundle onto your
system at the following location:

   /home/informix

PRESS <ENTER> TO INSTALL:
Installation Complete
---------------------

Congratulations! IBM Informix Software Bundle installation is complete.

Product install status:
Informix Dynamic Server: Successful


For more information about using Informix products, see the IBM Informix 14.10
Knowledge Center at
https://www.ibm.com/support/knowledgecenter/SSGU8G/welcomeIfxServers.html.

PRESS <ENTER> TO EXIT THE INSTALLER: